This resource allows you to lift and apply holds based on a hold type for all the cargo on a bill of lading.
| Code | Description |
|---|---|
| 404 | Not found |
| 500 | Server crashed for some reason |
curl "https://app.octopi.co/api/v1/voyages/:voyage_number/bill_of_ladings/:bill_of_lading_number/hold_types/:hold_type_id/lift.json" -X PUT -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Token token=YOURTOKEN" -d '{"hold": { "reference_number": "Your Reference Number", "notes": "Your notes" } }'
| Param name | Description |
|---|---|
|
voyage_number required |
The voyage number of the bill of lading. Validations:
|
|
bill_of_lading_number required |
The bill of lading number. Validations:
|
|
hold_type_id required |
The ID of the hold type to be lifted. Validations:
|
| Code | Description |
|---|---|
| 404 | Not found |
| 500 | Server crashed for some reason |
curl "https://app.octopi.co/api/v1/voyages/:voyage_number/bill_of_ladings/:bill_of_lading_number/hold_types/:hold_type_id/apply.json" -X PUT -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Token token=YOURTOKEN"
| Param name | Description |
|---|---|
|
voyage_number required |
The voyage number of the bill of lading. Validations:
|
|
bill_of_lading_number required |
The bill of lading number. Validations:
|
|
hold_type_id required |
The ID of the hold type to be applied. Validations:
|