POST api/WorkingHours
Request Information
URI Parameters
None.
Body Parameters
WorkingHoursDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| DayOfWeek | WorkingDayOfWeekEnumDto |
None. |
|
| Date | date |
None. |
|
| StartTime | integer |
None. |
|
| EndTime | integer |
None. |
|
| AddressId | globally unique identifier |
None. |
|
| SalesPersonId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "59113806-e675-47ed-9169-52fe7bbfc031",
"DayOfWeek": 0,
"Date": "2025-12-11T00:41:44.9826916+00:00",
"StartTime": 1,
"EndTime": 1,
"AddressId": "be347eab-92a7-4f22-a0cb-b1cb868212fb",
"SalesPersonId": "58536fd9-fc9c-466b-8873-803300c096d0"
}
application/xml, text/xml
Sample:
<WorkingHoursDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.EventManagement.Models"> <AddressId>be347eab-92a7-4f22-a0cb-b1cb868212fb</AddressId> <Date>2025-12-11T00:41:44.9826916+00:00</Date> <DayOfWeek>Monday</DayOfWeek> <EndTime>1</EndTime> <Id>59113806-e675-47ed-9169-52fe7bbfc031</Id> <SalesPersonId>58536fd9-fc9c-466b-8873-803300c096d0</SalesPersonId> <StartTime>1</StartTime> </WorkingHoursDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.