POST api/Transport/Handover
Request Information
URI Parameters
None.
Body Parameters
TransportHandoverRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| idDeactivatedTransport | integer |
None. |
|
| idWorkUnitDispatcher | integer |
None. |
|
| idWorkUnit | integer |
None. |
|
| qrPicType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"idDeactivatedTransport": 1,
"idWorkUnitDispatcher": 2,
"idWorkUnit": 1,
"qrPicType": "sample string 3"
}
application/xml, text/xml
Sample:
<TransportHandoverRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Areas.Transport.Models"> <QrPicType xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Models">sample string 3</QrPicType> <Id_DeactivatedTransport>1</Id_DeactivatedTransport> <Id_WorkUnit>1</Id_WorkUnit> <Id_WorkUnit_Dispatcher>2</Id_WorkUnit_Dispatcher> </TransportHandoverRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
TransportHandoverResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| idTransport | integer |
None. |
|
| qrTransportPic | Collection of byte |
None. |
|
| mesasge | string |
None. |
|
| isSuccess | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"idTransport": 1,
"qrTransportPic": "QEA=",
"mesasge": "sample string 2",
"isSuccess": true
}
application/xml, text/xml
Sample:
<TransportHandoverResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Areas.Transport.Models"> <IsSuccess xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Models">true</IsSuccess> <Mesasge xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Models">sample string 2</Mesasge> <IdTransport>1</IdTransport> </TransportHandoverResponse>