Translate export/import/transport codes
Use this request to translate commodify codes into export, import, or transport codes.
Use a
POST operation and the following URL to send this
request:{api_url}/code-translationwhere
{api_url} is the API's URL.For
example:
https://api.epalglobal.co/code-translationDetails
| Detail | Value |
|---|---|
| Operation | POST |
| Endpoint | code-translation |
| Fields | Body and response parameters |
Body Parameters
| Body Paramter | Details | Description |
|---|---|---|
type |
|
Specify the type of code that you want to translate the commodity code into. |
code |
|
Specify the commodity code that you want to translate. |
Response Parameters
| Response Parameter | Details | Description |
|---|---|---|
code |
|
The export, import or transport code. |
type |
|
The type or category to which the code belongs. |
description |
|
Text decription. |
conditionalNote |
|
Any conditional notes. |
isConditional |
|
Indicates whether the code has conditional requirements or not. |
Request Example
The following is an example using an export
code:
{
"type": "export",
"code": "12345678"
}The following is an example import code:
{
"type": "import",
"code": "*ABC123"
}
The following is an example of a transport
code:
{
"type": "transport",
"code": "09876543"
}Response Example
The following is an example response for a successful
request:
{
"code": "01_12345678",
"type": "GOODS",
"description": "Electronic goods",
"conditionalNote": "string",
"isConditional": false
}