This API endpoint allows you to create a manifest. Please check the payload specification to make sure the required attributes are part of the payload and the optional attributes respect the specifications.
Code | Description |
---|---|
400 | Bad Request |
403 | Forbidden |
404 | Not Found |
422 | Unprocessable Entity |
500 | Internal Server Error |
curl "https://app.octopi.co/api/v1/manifests.json" -d '{ "voyage_id":"1234", "shipping_line":"Shipping Line Code" ,"manifest": {"client_identifier":"11223344"}}' -X POST -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Token token=ADD TOKEN HERE"
Example Payload: { "voyage_id": 123, "shipping_line": "Shipping line Code", "manifest": { "client_identifier": "client_id", "remarks": "We build API for manifest" } }
Param name | Description |
---|---|
shipping_line required |
This must be a shipping line code that exists in Octopi. Validations:
|
voyage_id optional |
This must be a voyage ID that exists in Octopi. Either voyage id or voyage number is required. Validations:
|
voyage_number optional |
This must be a voyage number that exists in Octopi. Either voyage id or voyage number is required. Validations:
|
manifest optional |
Validations:
|
manifest[client_identifier] required |
Validations:
|
manifest[remarks] optional |
Validations:
|
manifest[shipping_line_voyage_number] optional |
Notice the shipping_line_voyage_number param is the number that will be used in the EDI messages sent to the shipping line. Make sure this is the Voyage Number your shipping line is expecting. voyage_number param will be used if left blank. Validations:
|
Code | Description |
---|---|
400 | Bad Request |
403 | Forbidden |
404 | Not Found |
422 | Unprocessable Entity |
500 | Internal Server Error |
This API endpoint allows you to return a list of all the manfiest in Octopi.
Code | Description |
---|---|
400 | Bad Request |
403 | Forbidden |
404 | Not Found |
422 | Unprocessable Entity |
500 | Internal Server Error |
curl "https://app.octopi.co/api/v1/manifests.json" -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Token token=ADD TOKEN HERE"
Param name | Description |
---|---|
voyage_number optional |
To filter manifest based on voyage number. This must be a voyage number that exists in Octopi. Validations:
|