updateCargoDeclarations
POST
/hna/voyages/cargoDeclarants:updateRegister or update the declarants of voyages
Request
Body Params application/json
voyageId
string
required
cargoDeclarants
array[object (HnaCargoDeclarant) {15}]
optional
fullName
string
optional
The full name of the organisation
shortName
string
optional
The short name of the organisation
emailAddress
string | null
optional
The email address of the organisation
address
string | null
optional
The address of the organisation
city
string | null
optional
The city where the organisation is located
countryUnCode
string | null
optional
The UN code of the country where the organisation is located
countryName
string | null
optional
The name of the country where the organisation is located
zipCode
string | null
optional
The zip code of the organisation
phoneNumber
string | null
optional
The phone number of the organisation
faxNumber
string | null
optional
The fax number of the organisation
contact
string | null
optional
The contact person of the organisation
customsEORINumber
string | null
optional
The contact person of the organisation
ean
string | null
optional
The EAN code of the organisation
chamberOfCommerceNumber
string | null
optional
The chamber of commerce number of the organisation
scacCode
string | null
optional
The SCAC code of the organisation
Example
{
"voyageId": "string",
"cargoDeclarants": [
{
"fullName": "string",
"shortName": "string",
"emailAddress": "string",
"address": "string",
"city": "string",
"countryUnCode": "string",
"countryName": "string",
"zipCode": "string",
"phoneNumber": "string",
"faxNumber": "string",
"contact": "string",
"customsEORINumber": "string",
"ean": "string",
"chamberOfCommerceNumber": "string",
"scacCode": "string"
}
]
}
Request samples
Responses
default response(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: 6 months ago