POST api/TeamMember/CreateServiceHours
Request Information
URI Parameters
None.
Body Parameters
TeamMemberCreateScheduleDto| Name | Description | Type | Additional information |
|---|---|---|---|
| TeamMemberId | string |
Required |
|
| locationId | string |
Required |
|
| teamMemberSchedules | Collection of TeamMemberCreateHoursDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"TeamMemberId": "sample string 1",
"locationId": "sample string 2",
"teamMemberSchedules": [
{
"day": "sample string 1",
"timeSlots": [
{
"from": "00:00:00.1234567",
"to": "00:00:00.1234567"
},
{
"from": "00:00:00.1234567",
"to": "00:00:00.1234567"
}
]
},
{
"day": "sample string 1",
"timeSlots": [
{
"from": "00:00:00.1234567",
"to": "00:00:00.1234567"
},
{
"from": "00:00:00.1234567",
"to": "00:00:00.1234567"
}
]
}
]
}
application/xml, text/xml
Sample:
<TeamMemberCreateScheduleDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Beauty_Lab_Dashboard.DTO">
<TeamMemberId>sample string 1</TeamMemberId>
<locationId>sample string 2</locationId>
<teamMemberSchedules>
<TeamMemberCreateHoursDto>
<day>sample string 1</day>
<timeSlots>
<TeamMemberTimeSlotsDto>
<from>PT0.1234567S</from>
<to>PT0.1234567S</to>
</TeamMemberTimeSlotsDto>
<TeamMemberTimeSlotsDto>
<from>PT0.1234567S</from>
<to>PT0.1234567S</to>
</TeamMemberTimeSlotsDto>
</timeSlots>
</TeamMemberCreateHoursDto>
<TeamMemberCreateHoursDto>
<day>sample string 1</day>
<timeSlots>
<TeamMemberTimeSlotsDto>
<from>PT0.1234567S</from>
<to>PT0.1234567S</to>
</TeamMemberTimeSlotsDto>
<TeamMemberTimeSlotsDto>
<from>PT0.1234567S</from>
<to>PT0.1234567S</to>
</TeamMemberTimeSlotsDto>
</timeSlots>
</TeamMemberCreateHoursDto>
</teamMemberSchedules>
</TeamMemberCreateScheduleDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |