POST api/authorizations/{authId}/tasks
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| authId | integer |
Required |
Body Parameters
RestProcessTaskDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ReportedBOEntity | string |
String length: inclusive between 0 and 255 |
|
| VehicleLicense | string |
String length: inclusive between 0 and 20 |
|
| Details | string |
Required String length: inclusive between 0 and 4000 |
|
| TaskCategoryCode | string |
String length: inclusive between 0 and 5 |
|
| RqUID | string |
String length: inclusive between 0 and 50 |
|
| FileCreator | RestFileDTO |
None. |
Request Formats
application/json, text/json
Sample:
{
"ReportedBOEntity": "sample string 1",
"VehicleLicense": "sample string 2",
"Details": "sample string 3",
"TaskCategoryCode": "sample string 4",
"RqUID": "sample string 5",
"FileCreator": {
"FileName": "sample string 1",
"FileStream": "QEA="
}
}
application/xml, text/xml
Sample:
<RestProcessTaskDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GtMotive.GtGlobal.Common.DTO.Rest.ProcessTask">
<Details>sample string 3</Details>
<FileCreator xmlns:d2p1="http://schemas.datacontract.org/2004/07/GtMotive.GtGlobal.Common.DTO.Rest.Shared">
<d2p1:FileName>sample string 1</d2p1:FileName>
<d2p1:FileStream>QEA=</d2p1:FileStream>
</FileCreator>
<ReportedBOEntity>sample string 1</ReportedBOEntity>
<RqUID>sample string 5</RqUID>
<TaskCategoryCode>sample string 4</TaskCategoryCode>
<VehicleLicense>sample string 2</VehicleLicense>
</RestProcessTaskDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RestElementIdResponseDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ElementId | integer |
None. |
|
| RqUID | string |
None. |
|
| Code | string |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ElementId": 1,
"RqUID": "sample string 2",
"Code": "sample string 3",
"Message": "sample string 4"
}
application/xml, text/xml
Sample:
<RestElementIdResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GtMotive.GtGlobal.Common.DTO.Rest.Shared"> <Code>sample string 3</Code> <Message>sample string 4</Message> <RqUID>sample string 2</RqUID> <ElementId>1</ElementId> </RestElementIdResponseDTO>