POST api/Cargo/AppendToDriverShipment
Request Information
URI Parameters
None.
Body Parameters
Collection of EditDriverShipmentDetailsViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DriverShipmentId | integer |
None. |
|
| Driver_Shipment_Details_ID | integer |
None. |
|
| Transaction_ID | integer |
None. |
|
| QNT | integer |
None. |
|
| Shipment_Notes | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"DriverShipmentId": 1,
"Driver_Shipment_Details_ID": 2,
"Transaction_ID": 3,
"QNT": 4,
"Shipment_Notes": "sample string 5"
},
{
"DriverShipmentId": 1,
"Driver_Shipment_Details_ID": 2,
"Transaction_ID": 3,
"QNT": 4,
"Shipment_Notes": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfEditDriverShipmentDetailsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Layan_Cargo_API.ViewModels">
<EditDriverShipmentDetailsViewModel>
<DriverShipmentId>1</DriverShipmentId>
<Driver_Shipment_Details_ID>2</Driver_Shipment_Details_ID>
<QNT>4</QNT>
<Shipment_Notes>sample string 5</Shipment_Notes>
<Transaction_ID>3</Transaction_ID>
</EditDriverShipmentDetailsViewModel>
<EditDriverShipmentDetailsViewModel>
<DriverShipmentId>1</DriverShipmentId>
<Driver_Shipment_Details_ID>2</Driver_Shipment_Details_ID>
<QNT>4</QNT>
<Shipment_Notes>sample string 5</Shipment_Notes>
<Transaction_ID>3</Transaction_ID>
</EditDriverShipmentDetailsViewModel>
</ArrayOfEditDriverShipmentDetailsViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResultModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | string |
None. |
|
| ErrorText | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": "sample string 1",
"ErrorText": "sample string 2",
"Data": {}
}
application/xml, text/xml
Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Layan_Cargo_API.Models"> <Data /> <ErrorText>sample string 2</ErrorText> <Success>sample string 1</Success> </ResultModel>