POST TCPv1/Home/DriverDashBoard/CreateDriverSchedule?Token={Token}&UserID={UserID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | string |
Required |
|
| UserID | integer |
Required |
Body Parameters
SaveDriverSchedule| Name | Description | Type | Additional information |
|---|---|---|---|
| AssignToUserID | integer |
None. |
|
| scheduleID | integer |
None. |
|
| TypeID | integer |
None. |
|
| FlexDescription | string |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"AssignToUserID": 1,
"scheduleID": 2,
"TypeID": 3,
"FlexDescription": "sample string 4",
"StartDate": "2026-06-08T00:04:46.9472804+01:00",
"EndDate": "2026-06-08T00:04:46.9472804+01:00"
}
application/xml, text/xml
Sample:
<SaveDriverSchedule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartTCPWebAPI.Models.SmartAPI"> <AssignToUserID>1</AssignToUserID> <EndDate>2026-06-08T00:04:46.9472804+01:00</EndDate> <FlexDescription>sample string 4</FlexDescription> <StartDate>2026-06-08T00:04:46.9472804+01:00</StartDate> <TypeID>3</TypeID> <scheduleID>2</scheduleID> </SaveDriverSchedule>
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. |