POST api/Transport/Insert
Request Information
URI Parameters
None.
Body Parameters
TransportInsertRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| transport | Collection of Object |
None. |
|
| idWorkUnit | integer |
None. |
|
| qrPicType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"transport": null,
"idWorkUnit": 1,
"qrPicType": "sample string 1"
}
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
TransportInsertResponse| 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:
<TransportInsertResponse 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> </TransportInsertResponse>