v1

latestOpenAPI 3.0.32026-07-131435187.6 KB
Arrivals

Get the body of a cached message related to an arrival and message ID

Get the body of the message related to a specific arrival and message ID that have been received within the past 60 days. For example, this could include messages about route diversions or unloading permissions. Movements older than 60 days and their related messages are archived and cannot be returned by the API. <br/><br/> The response can be returned in the following format based on the provided Accept header:

  • application/vnd.hmrc.3.0+xml: XML, where the message is provided without any other metadata.
  • application/vnd.hmrc.3.0+json: JSON, where the message is provided without any other metadata.

Note: You can view a transit movement only if your Economic Operators Registration and Identification (EORI) number matches the EORI number that created the transit declaration for that movement. Your EORI number is part of the bearer token that you use for API authentication.\n

get/customs/transits/movements/arrivals/{arrivalId}/messages/{messageId}/body

Path parameters

arrivalIdstring required

The arrival ID specifying the departure to return.

messageIdstring required

The message ID specifying the message to return.

Headers

Accept'application/vnd.hmrc.3.0+xml' | 'application/vnd.hmrc.3.0+json' required

Specifies the response format, which must be XML or JSON, and the version of the API to be used. Acceptable values are : application/vnd.hmrc.3.0+xml or application/vnd.hmrc.3.0+json.

Response

A successful get message body related to arrival and message ID response