HTTP REQUEST
Note: The endpoint can be called by either a GET or POST request.
The following parameters are passed as a json string as part of the authentication request:
| Field | Description |
|---|---|
| WaybillNo | |
| DocType | |
| Ref2 | |
| Ref3 | |
| Ref4 | |
| FromAccountNo | |
| FromClientName | |
| FromAdd1 | |
| FromAdd2 | |
| FromAdd3 | |
| FromBuildingName1 | |
| FromBuildingName2 | |
| FromSuburb | |
| FromCity | |
| FromProvince | |
| FromCountry | |
| FromPostalCode | |
| FromContact | |
| FromTelephone | |
| FromEmail | |
| ToAccountNo | |
| ToClientName | |
| ToAdd1 | |
| ToAdd2 | |
| ToAdd3 | |
| ToBuildingName1 | |
| ToBuildingName2 | |
| ToSuburb | |
| ToCity | |
| ToProvince | |
| ToCountry | |
| ToPostalCode | |
| ToContact | |
| ToTelephone | |
| ToEmail | |
| Pieces | |
| TotalWeight | |
| ServiceCode | |
| APIuser | |
| SpecialInstructions | |
| WaybillStatus | |
| BillAccnum | |
| Carrier | |
| GroupName |
HTTP RESPONSE
The possible responses from calling this endpoint are as follows:
| Response | Description |
|---|---|
| Success | returns a json ResultSet including the SuccessMessage: OK - Waybill No - has been updated successfully! |
| Failure | this is a data error, it returns a json ResultSet including the appropriate ErrorMessage such as missing parameters, or a wrong format |
| Error | this is a server error, an appropriate ErrorMessage is returned from the server |
Update Parcel Example
API & Development Support
If you require any assistance on integrating your system with Winfreight, please contact our support team at: support@winfreight.co.za