- Introduction
- Getting Started
- Authentication
- Error Handling
- Contact Support
- Modaltrans API
- Get Auth Token
- Accounting
- Customs
- NCTS Declarations
- Customs Declarations
- Declaration Requests
- Logistics
- Depot
- Fleet Management
- CRM
- Timelines
- S3 Files
- Notifications
- User Details
Create a Declaration Request
Testing Env
https://demo.modaltrans.com
Testing Env
https://demo.modaltrans.com
POST
/api/v1/manifesto_orders
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
manifesto_order
object
required
user_email
string
required
assignee_email
string
required
operator_email
string
required
notes
string
optional
position_id
integer
required
Example
{
"manifesto_order": {
"user_email": "example@nimbo.com.tr",
"operator_email": "example@mnimbo.com.tr",
"notes": "Api Example",
"position_id": 1269004
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://demo.modaltrans.com/api/v1/manifesto_orders' \
--header 'Content-Type: application/json' \
--data-raw '{
"manifesto_order": {
"user_email": "example@nimbo.com.tr",
"operator_email": "example@mnimbo.com.tr",
"notes": "Api Example",
"position_id": 1269004
}
}'
Responses
🟢201Created
application/json
Body
order_id
string
required
reference
string
required
assignee_email
string
required
operator_email
string
required
position_id
integer
required
notes
string
required
ncts_declarations
array [object {14}]
required
transaction_id
integer
optional
reference
string
optional
trailer_code
string
optional
vehicle_code
string
optional
container
string
optional
lrn
string
optional
mrn
string
optional
status
string
optional
carrier_name
string
optional
guarantee_price
number
optional
guarantee_curr
string
optional
manifesto_price
number
optional
currency
string
optional
holder_name
string
optional
Example
{
"order_id": "string",
"reference": "string",
"assignee_email": "string",
"operator_email": "string",
"position_id": 0,
"notes": "string",
"ncts_declarations": [
{
"transaction_id": 0,
"reference": "string",
"trailer_code": "string",
"vehicle_code": "string",
"container": "string",
"lrn": "string",
"mrn": "string",
"status": "string",
"carrier_name": "string",
"guarantee_price": 0,
"guarantee_curr": "string",
"manifesto_price": 0,
"currency": "string",
"holder_name": "string"
}
]
}
🟠400Bad Request
🟠403Forbidden
🟠404Record Not Found
🟠422Unprocessable Entity
Modified at 2025-03-25 10:51:12