POST api/AWBCreation
Request Information
URI Parameters
None.
Body Parameters
AwbCreation| Name | Description | Type | Additional information |
|---|---|---|---|
| AWBNo | string |
None. |
|
| Consignee | string |
None. |
|
| ShipperName | string |
None. |
|
| Totalweight | decimal number |
None. |
|
| NoofPcs | integer |
None. |
|
| ConsignmentValue | decimal number |
None. |
|
| Status | string |
None. |
|
| Reciever | string |
None. |
|
| Phone | string |
None. |
|
| IDProof | string |
None. |
|
| RefNumber | string |
None. |
|
| Notes | string |
None. |
|
| Amount | decimal number |
None. |
|
| PaidAmount | decimal number |
None. |
|
| PhotoFile | string |
None. |
|
| SignatureFile | string |
None. |
|
| EmpCode | string |
None. |
|
| EmpName | string |
None. |
|
| Result | integer |
None. |
|
| ResultMessage | string |
None. |
|
| SecurityCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AWBNo": "sample string 1",
"Consignee": "sample string 2",
"ShipperName": "sample string 3",
"Totalweight": 4.0,
"NoofPcs": 5,
"ConsignmentValue": 6.0,
"Status": "sample string 7",
"Reciever": "sample string 8",
"Phone": "sample string 9",
"IDProof": "sample string 10",
"RefNumber": "sample string 11",
"Notes": "sample string 12",
"Amount": 13.0,
"PaidAmount": 14.0,
"PhotoFile": "sample string 15",
"SignatureFile": "sample string 16",
"EmpCode": "sample string 17",
"EmpName": "sample string 18",
"Result": 19,
"ResultMessage": "sample string 20",
"SecurityCode": "sample string 21"
}
application/xml, text/xml
Sample:
<APITrackingLibrary.AwbCreation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ocskuwait.Code"> <SecurityCode>sample string 21</SecurityCode> <AWBNo>sample string 1</AWBNo> <Amount>13</Amount> <Consignee>sample string 2</Consignee> <ConsignmentValue>6</ConsignmentValue> <EmpCode>sample string 17</EmpCode> <EmpName>sample string 18</EmpName> <IDProof>sample string 10</IDProof> <NoofPcs>5</NoofPcs> <Notes>sample string 12</Notes> <PaidAmount>14</PaidAmount> <Phone>sample string 9</Phone> <PhotoFile>sample string 15</PhotoFile> <Reciever>sample string 8</Reciever> <RefNumber>sample string 11</RefNumber> <Result>19</Result> <ResultMessage>sample string 20</ResultMessage> <ShipperName>sample string 3</ShipperName> <SignatureFile>sample string 16</SignatureFile> <Status>sample string 7</Status> <Totalweight>4</Totalweight> </APITrackingLibrary.AwbCreation>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
StatusBO| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 1,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<APITrackingLibrary.StatusBO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ocskuwait.Code"> <Message>sample string 2</Message> <Status>1</Status> </APITrackingLibrary.StatusBO>