POST api/Task/AssignTrucks
Request Information
URI Parameters
None.
Body Parameters
AssignDriverToTaskModelName | Description | Type | Additional information |
---|---|---|---|
Lang | integer |
None. |
|
RunnerID | integer |
None. |
|
TaskID | integer |
None. |
|
TrucksIDs | Collection of integer |
None. |
|
Notes | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Lang": 1, "RunnerID": 1, "TaskID": 2, "TrucksIDs": [ 1, 2 ], "Notes": "sample string 3" }
application/xml, text/xml
Sample:
<AssignDriverToTaskModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models"> <Lang>1</Lang> <Notes>sample string 3</Notes> <RunnerID>1</RunnerID> <TaskID>2</TaskID> <TrucksIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </TrucksIDs> </AssignDriverToTaskModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.