POST api/Cargo/CustomerShippmentFullData
Request Information
URI Parameters
None.
Body Parameters
ShipmentCriteriaViewModelName | Description | Type | Additional information |
---|---|---|---|
DriverShipmentId | integer |
None. |
|
DriverId | integer |
None. |
|
ContainerLayan | string |
None. |
|
CustomerCode | string |
None. |
|
FromDate | string |
None. |
|
ToDate | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "DriverShipmentId": 1, "DriverId": 2, "ContainerLayan": "sample string 3", "CustomerCode": "sample string 4", "FromDate": "sample string 5", "ToDate": "sample string 6" }
application/xml, text/xml
Sample:
<ShipmentCriteriaViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Layan_Cargo_API.ViewModels"> <ContainerLayan>sample string 3</ContainerLayan> <CustomerCode>sample string 4</CustomerCode> <DriverId>2</DriverId> <DriverShipmentId>1</DriverShipmentId> <FromDate>sample string 5</FromDate> <ToDate>sample string 6</ToDate> </ShipmentCriteriaViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResultModelName | 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>