Get transport mean type information.

GET /transport-means-types/{code}

Sample request:

GET /transport-means-types/1 50 1

Path parameters

  • code string Required

    Transport mean type code

Responses

  • 200 application/json

    Successful operation

    Hide response attributes Show response attributes object
    • mCode string | null

      MCode is composed of the transport mode and a code value excepted for aircraft type whose Mcode is represented by IATA Code.
      Mode : Mode of transport code as defined in Recommendation 19
      Value : 3 character alphanumeric code value comprising characters 0 to 9 and upper case A to Z. For example, in maritime transport the code value "50" represents "General cargo vessel", whilst "501" is a subordinate code entry that represents "Grain vessel".

      Minimum length is 0, maximum length is 8.

    • name string | null

      Code value name.

      Minimum length is 0, maximum length is 128.

    • description string | null

      Code value description.

      Minimum length is 0, maximum length is 1024.

    • Additional properties are NOT allowed
  • 400 application/json

    Unexpected error

    Hide response attributes Show response attributes object
    • status string | null

      Error status

    • timestamp string(date-time)

      Error date

    • code string | null

      Error code
      - R101 : The container size type is unfound.
      - R102 : The country code is unfound.
      - R103 : The document type is unfound.
      - R104 : The location code is unfound.
      - R105 : The location type is unfound.
      - R106 : The packaging code is unfound.
      - R107 : The transport mode is unfound.
      - R108 : The transport mean type is unfound.
      - R109 : The event type is unfound.
      - R110 : The UN/LOCODE is unfound.
      - R111 : The actor is unfound.
      - R112 : The dangerous code is unfound.

    • message string | null

      Error message

    • Additional properties are NOT allowed
GET /transport-means-types/{code}
curl \
 -X GET https://soget-api-integration.azure-api.net/api-referential-unitary/v1/transport-means-types/{code} \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Ocp-Apim-Subscription-Key: $API_KEY"
Response examples (200)
{
  "mCode": "1 50 1",
  "name": "Grain vessel",
  "description": "Vessel designed to carry grain."
}
Response examples (400)
{
  "status": "400",
  "timestamp": "2022-10-18T14:53:52.239Z",
  "code": "R001",
  "message": "Information not found."
}