POST api/GetWorkTeam
Request Information
URI Parameters
None.
Body Parameters
GetWorkTeamRequestName | Description | Type | Additional information |
---|---|---|---|
orgId | string |
None. |
|
address | string |
None. |
|
serviceStartDate | date |
None. |
|
serviceEndDate | date |
None. |
|
duration | integer |
None. |
|
territoryId | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "orgId": "sample string 1", "address": "sample string 2", "serviceStartDate": "2025-01-04T05:42:33.2103233+00:00", "serviceEndDate": "2025-01-04T05:42:33.2103233+00:00", "duration": 5, "territoryId": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<GetWorkTeamRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RouteOptimizerWebAPI.Models"> <address>sample string 2</address> <duration>5</duration> <orgId>sample string 1</orgId> <serviceEndDate>2025-01-04T05:42:33.2103233+00:00</serviceEndDate> <serviceStartDate>2025-01-04T05:42:33.2103233+00:00</serviceStartDate> <territoryId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </territoryId> </GetWorkTeamRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetWorkTeamResultName | Description | Type | Additional information |
---|---|---|---|
error | string |
None. |
|
workTeamId | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "error": "sample string 1", "workTeamId": "sample string 2" }
application/xml, text/xml
Sample:
<GetWorkTeamResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RouteOptimizerWebAPI.Models"> <error>sample string 1</error> <workTeamId>sample string 2</workTeamId> </GetWorkTeamResult>