POST api/UpdateWorkTeamUnavailableHours
Request Information
URI Parameters
None.
Body Parameters
WorkTeamUnvailableHourRequestName | Description | Type | Additional information |
---|---|---|---|
unavailableHoursDetail | Collection of WorkTeamUnavailableHours |
None. |
|
orgId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "unavailableHoursDetail": [ { "unavailableHourId": "sample string 1", "workTeamId": "sample string 2", "startHour": "sample string 3", "endHour": "sample string 4", "workTeamDate": "2025-01-04T05:37:57.9336305+00:00", "removeHour": true, "orgId": "sample string 7" }, { "unavailableHourId": "sample string 1", "workTeamId": "sample string 2", "startHour": "sample string 3", "endHour": "sample string 4", "workTeamDate": "2025-01-04T05:37:57.9336305+00:00", "removeHour": true, "orgId": "sample string 7" } ], "orgId": "sample string 1" }
application/xml, text/xml
Sample:
<WorkTeamUnvailableHourRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RouteOptimizerWebAPI.Models"> <orgId>sample string 1</orgId> <unavailableHoursDetail> <WorkTeamUnavailableHours> <endHour>sample string 4</endHour> <orgId>sample string 7</orgId> <removeHour>true</removeHour> <startHour>sample string 3</startHour> <unavailableHourId>sample string 1</unavailableHourId> <workTeamDate>2025-01-04T05:37:57.9336305+00:00</workTeamDate> <workTeamId>sample string 2</workTeamId> </WorkTeamUnavailableHours> <WorkTeamUnavailableHours> <endHour>sample string 4</endHour> <orgId>sample string 7</orgId> <removeHour>true</removeHour> <startHour>sample string 3</startHour> <unavailableHourId>sample string 1</unavailableHourId> <workTeamDate>2025-01-04T05:37:57.9336305+00:00</workTeamDate> <workTeamId>sample string 2</workTeamId> </WorkTeamUnavailableHours> </unavailableHoursDetail> </WorkTeamUnvailableHourRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
WorkTeamUnvailableHourResultName | Description | Type | Additional information |
---|---|---|---|
success | boolean |
None. |
|
error | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "success": true, "error": "sample string 2" }
application/xml, text/xml
Sample:
<WorkTeamUnvailableHourResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RouteOptimizerWebAPI.Models"> <error>sample string 2</error> <success>true</success> </WorkTeamUnvailableHourResult>