Booking API
URLs
- Test: https://tbookingapi.logisticstechnology.no
- Production: https://bookingapi.logisticstechnology.no
Methods
Version 1
| Http method | Relative path | Method description |
|---|---|---|
| POST | /Parcels/OrderReturnForParcel | Method to register a return and get return informastion about a parcel |
| GET | /Shipment/{shipmentid} | Method to get information about a shipment |
| POST | /Shipment/Book | Method for booking freights. |
| POST | /Shipment/Update | Method to update booked freights. It is only possible to update drafts. Already published shipments are locked. |
| GET | /Test/GetTest | TEST: Method to test a GET request |
| POST | /Test/PostTest | TEST: Method to test POST data to the API |
Version 2
| Http method | Relative path | Method description |
|---|---|---|
| GET | /v2/Shipment/{shipmentid} | Method to get a specific shipment. |
| GET | /v2/Shipment/AddressTypes | Method for listing all address types. |
| POST | /v2/Shipment/Book | Method for booking freights. |
| DELETE | /v2/Shipment/Delete/{shipmentid} | Method to delete a booking. Booking cannot have status published. 200 status means booking is deleted. |
| GET | /v2/Shipment/list | Method to list your booked shipments. |
| POST | /v2/Shipment/Update | Method for update a booking. |