POST api/SyncWorkTeam
Request Information
URI Parameters
None.
Body Parameters
WorkTeamSyncRequestName | Description | Type | Additional information |
---|---|---|---|
syncFromDate | date |
None. |
|
syncToDate | date |
None. |
|
loginDetail | clsLoginDetail |
None. |
|
UpdateSalesforceRecord | boolean |
None. |
|
timeZone | string |
None. |
|
skipWorkTeam | boolean |
None. |
|
orgId | string |
None. |
|
deleteAllData | boolean |
None. |
|
EmployeeId | Collection of string |
None. |
|
CustomCondition | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "syncFromDate": "2025-01-04T05:43:37.1073463+00:00", "syncToDate": "2025-01-04T05:43:37.1073463+00:00", "loginDetail": { "sessionID": "sample string 1", "serverURL": "sample string 2", "orgID": "sample string 3", "userName": "sample string 4", "password": "sample string 5", "securityToken": "sample string 6", "connectionString": "sample string 7", "MetadataServerURL": "sample string 8" }, "UpdateSalesforceRecord": true, "timeZone": "sample string 4", "skipWorkTeam": true, "orgId": "sample string 6", "deleteAllData": true, "EmployeeId": [ "sample string 1", "sample string 2" ], "CustomCondition": "sample string 8" }
application/xml, text/xml
Sample:
<WorkTeamSyncRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RouteOptimizerWebAPI.Models"> <CustomCondition>sample string 8</CustomCondition> <EmployeeId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </EmployeeId> <UpdateSalesforceRecord>true</UpdateSalesforceRecord> <deleteAllData>true</deleteAllData> <loginDetail> <MetadataServerURL>sample string 8</MetadataServerURL> <connectionString>sample string 7</connectionString> <orgID>sample string 3</orgID> <password>sample string 5</password> <securityToken>sample string 6</securityToken> <serverURL>sample string 2</serverURL> <sessionID>sample string 1</sessionID> <userName>sample string 4</userName> </loginDetail> <orgId>sample string 6</orgId> <skipWorkTeam>true</skipWorkTeam> <syncFromDate>2025-01-04T05:43:37.1073463+00:00</syncFromDate> <syncToDate>2025-01-04T05:43:37.1073463+00:00</syncToDate> <timeZone>sample string 4</timeZone> </WorkTeamSyncRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
WorkTeamSyncResultName | 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:
<WorkTeamSyncResult 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> </WorkTeamSyncResult>