POST api/Venues/Holidays/Submit
Request Information
URI Parameters
None.
Body Parameters
HolidayCreateUpdateCommandName | Description | Type | Additional information |
---|---|---|---|
Type | OwnHolidayType |
None. |
|
DateFrom | date |
None. |
|
DateTo | date |
None. |
|
ActiveModules | integer |
None. |
|
RecurrencePattern | RecurrenceDTO |
None. |
|
Id | globally unique identifier |
None. |
|
Description | string |
None. |
|
CrmId | string |
None. |
|
IsArchived | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Type": 0, "DateFrom": "2021-01-26T05:24:57.1779162+00:00", "DateTo": "2021-01-26T05:24:57.1779162+00:00", "ActiveModules": 1, "RecurrencePattern": { "Type": 0, "DailyDays": 1, "WeeklyWeeks": 2, "WeeklyMonday": true, "WeeklyTuesday": true, "WeeklyWednesday": true, "WeeklyThursday": true, "WeeklyFriday": true, "WeeklySaturday": true, "WeeklySunday": true, "MonthlyPattern": 0, "MonthlyDOMDay": 10, "MonthlyDOMMonths": 11, "MonthlyWDOFMXth": 12, "MonthlyWDOFMDay": 13, "MonthlyWDOFMMonths": 14, "MonthlyWDBAOFMXth": 15, "MonthlyWDBAOFMDay": 16, "MonthlyWDBAOFMBeforeAfter": 17, "MonthlyWDBAOFMDayBeforeAfter": 18, "MonthlyWDBAOFMMonths": 19, "YearlyPattern": 0, "YearlyDateDay": 20, "YearlyDateMonth": 21, "YearlyDateYears": 22, "YearlyDOMXth": 23, "YearlyDOMDay": 24, "YearlyDOMMonth": 25, "YearlyDBAOMXth": 26, "YearlyDBAOMDay": 27, "YearlyDBAOMBeforeAfter": 28, "YearlyDBAOMHoliday": 29, "TypePeriodEnd": 1, "NumTimes": 30, "Duration": 31, "Id": "946ec052-b6f3-4e55-94b8-edcb8537e31d", "Description": "sample string 33", "CrmId": "sample string 34", "IsArchived": true }, "Id": "0deaa615-e0c8-4d37-9ea7-a40377a68016", "Description": "sample string 3", "CrmId": "sample string 4", "IsArchived": true }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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. |