POST api/COD
Request Information
URI Parameters
None.
Body Parameters
POD| Name | Description | Type | Additional information |
|---|---|---|---|
| AWBNo | string |
None. |
|
| Consignee | string |
None. |
|
| Status | string |
None. |
|
| Reciever | string |
None. |
|
| Phone | string |
None. |
|
| IDProof | string |
None. |
|
| RefNumber | string |
None. |
|
| Notes | string |
None. |
|
| CODAmount | decimal number |
None. |
|
| PaidAmount | decimal number |
None. |
|
| PhotoFile | string |
None. |
|
| SignatureFile | string |
None. |
|
| EmpCode | string |
None. |
|
| EmpName | string |
None. |
|
| ConsigneeAddress1 | string |
None. |
|
| ConsigneeAddress2 | string |
None. |
|
| ConsigneeAddress3 | string |
None. |
|
| ConsigneeAddress4 | string |
None. |
|
| ConsigneeCity | string |
None. |
|
| ConsigneeState | string |
None. |
|
| ConsigneeCountry | string |
None. |
|
| ConsigneePhoneNo | string |
None. |
|
| otp | string |
None. |
|
| SecurityCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AWBNo": "sample string 1",
"Consignee": "sample string 2",
"Status": "sample string 3",
"Reciever": "sample string 4",
"Phone": "sample string 5",
"IDProof": "sample string 6",
"RefNumber": "sample string 7",
"Notes": "sample string 8",
"CODAmount": 9.1,
"PaidAmount": 10.1,
"PhotoFile": "sample string 11",
"SignatureFile": "sample string 12",
"EmpCode": "sample string 13",
"EmpName": "sample string 14",
"ConsigneeAddress1": "sample string 15",
"ConsigneeAddress2": "sample string 16",
"ConsigneeAddress3": "sample string 17",
"ConsigneeAddress4": "sample string 18",
"ConsigneeCity": "sample string 19",
"ConsigneeState": "sample string 20",
"ConsigneeCountry": "sample string 21",
"ConsigneePhoneNo": "sample string 22",
"otp": "sample string 23",
"SecurityCode": "sample string 24"
}
application/xml, text/xml
Sample:
<APITrackingLibrary.POD xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ocskuwait.Code"> <SecurityCode>sample string 24</SecurityCode> <AWBNo>sample string 1</AWBNo> <CODAmount>9.1</CODAmount> <Consignee>sample string 2</Consignee> <ConsigneeAddress1>sample string 15</ConsigneeAddress1> <ConsigneeAddress2>sample string 16</ConsigneeAddress2> <ConsigneeAddress3>sample string 17</ConsigneeAddress3> <ConsigneeAddress4>sample string 18</ConsigneeAddress4> <ConsigneeCity>sample string 19</ConsigneeCity> <ConsigneeCountry>sample string 21</ConsigneeCountry> <ConsigneePhoneNo>sample string 22</ConsigneePhoneNo> <ConsigneeState>sample string 20</ConsigneeState> <EmpCode>sample string 13</EmpCode> <EmpName>sample string 14</EmpName> <IDProof>sample string 6</IDProof> <Notes>sample string 8</Notes> <PaidAmount>10.1</PaidAmount> <Phone>sample string 5</Phone> <PhotoFile>sample string 11</PhotoFile> <Reciever>sample string 4</Reciever> <RefNumber>sample string 7</RefNumber> <SignatureFile>sample string 12</SignatureFile> <Status>sample string 3</Status> <otp>sample string 23</otp> </APITrackingLibrary.POD>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
StatusExPathBO| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Message | string |
None. |
|
| Path | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 1,
"Message": "sample string 2",
"Path": "sample string 3"
}
application/xml, text/xml
Sample:
<APITrackingLibrary.StatusExPathBO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ocskuwait.Code"> <Message>sample string 2</Message> <Path>sample string 3</Path> <Status>1</Status> </APITrackingLibrary.StatusExPathBO>