- HNA-API
- Operator - Handlings
- Operator - Visits
- Operator - Voyages
- Listening
updateCargoDeclarations
POST
/hna/voyages/cargoDeclarants:update
Operator - Voyages
Request
Body Params application/json
voyageId
string
required
cargoDeclarants
array[object (HnaCargoDeclarant) {15}]
optional
fullName
string
optional
shortName
string
optional
emailAddress
string | null
optional
address
string | null
optional
city
string | null
optional
countryUnCode
string | null
optional
countryName
string | null
optional
zipCode
string | null
optional
phoneNumber
string | null
optional
faxNumber
string | null
optional
contact
string | null
optional
customsEORINumber
string | null
optional
ean
string | null
optional
chamberOfCommerceNumber
string | null
optional
scacCode
string | null
optional
Example
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 '/hna/voyages/cargoDeclarants:update' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200default response
application/json
Body
object {0}
Example
{}
Modified at 2024-08-19 11:18:45