POST api/consumer/v1/calendarEvents/favorites
Create a new Calendar Favorite
Request Information
URI Parameters
None
Body Parameters
New Calendar Favorite informations
CalendarFavoriteEditDtoName | Description | Type | Additional information |
---|---|---|---|
EntityFavoriteId |
id of Entity Favorite |
integer |
None |
Type |
Typology of entity (User or Project) |
string |
None |
Id |
Unique ID |
integer |
None |
Request Formats
application/json, text/json
Sample:
{ "EntityFavoriteId": 1, "Type": "sample string 2", "Id": 3 }
application/xml, text/xml
Sample:
<CalendarFavoriteEditDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models"> <Id>3</Id> <EntityFavoriteId>1</EntityFavoriteId> <Type>sample string 2</Type> </CalendarFavoriteEditDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
200
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None |
|
Content | HttpContent |
None |
|
StatusCode | HttpStatusCode |
None |
|
ReasonPhrase | string |
None |
|
Headers | Collection of Object |
None |
|
RequestMessage | HttpRequestMessage |
None |
|
IsSuccessStatusCode | boolean |
None |