Apis related to Validation.
Interu API (v2_28)
This is the HS (Harmonised Standard) code for the product. This is optional unless this product will be part of submission to the Traces NT system.
This is a simple description for the product. This is optional unless this product will be part of submission to the Traces NT system.
The URI(s) of the material(s) that are allowed to be used for this product.
The URI to the base unit of measurement that this product is specified in.
The URI to the unit of measurement that you wish to use as the default unit of measurement.
A list of additional units that specify the factor for converting from the base unit to other base units: e.g. unit to kg
The URI to the base unit of measurement to convert the base qty to. So if the product is specified in units and the conversion specifies kg then this conversion will provide the per unit mass.
- Mock serverhttps://developer.interu.io/_mock/reference/api/organisations/{orgId}/products
- UAThttps://api.uat.interu.io/organisations/{orgId}/products
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://developer.interu.io/_mock/reference/api/organisations/{orgId}/products' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-H 'contentType: application/json' \
-d '{
"name": "string",
"hsCode": "string",
"description": "string",
"allowedMaterials": [
"/organisations/{orgId}/materials/{materialId}"
],
"baseUnit": "/common/base-units/{unitId}",
"defaultUnit": "/common/base-units/{unitId}",
"additionalUnits": [
{
"baseUnit": "/common/base-units/{unitId}",
"conversionFactor": 0
}
],
"id": "string"
}'The request has succeeded and will either return the newly created resource or where appropriate a record that reflects the success of the action.
This is the HS (Harmonised Standard) code for the product. This is optional unless this product will be part of submission to the Traces NT system.
This is a simple description for the product. This is optional unless this product will be part of submission to the Traces NT system.
The URI(s) of the material(s) that are allowed to be used for this product.
The URI to the base unit of measurement that this product is specified in.
The URI to the unit of measurement that you wish to use as the default unit of measurement.
A list of additional units that specify the factor for converting from the base unit to other base units: e.g. unit to kg
The URI to the base unit of measurement to convert the base qty to. So if the product is specified in units and the conversion specifies kg then this conversion will provide the per unit mass.
{ "name": "string", "hsCode": "string", "description": "string", "allowedMaterials": [ "/organisations/{orgId}/materials/{materialId}" ], "baseUnit": "/common/base-units/{unitId}", "defaultUnit": "/common/base-units/{unitId}", "additionalUnits": [ { … } ], "recordState": "ACTIVE", "id": "string", "createdBy": "string", "createdTime": "2019-08-24T14:15:22Z", "updatedBy": "string", "updatedTime": "2019-08-24T14:15:22Z" }
- Mock serverhttps://developer.interu.io/_mock/reference/api/organisations/{orgId}/products
- UAThttps://api.uat.interu.io/organisations/{orgId}/products
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.interu.io/_mock/reference/api/organisations/{orgId}/products?name=string&material=string&category=string&baseUnit=http%3A%2F%2Fexample.com&baseUnitType=VOLUME&recordState=ACTIVE&size=20&page=0' \
-H 'X-API-Key: YOUR_API_KEY_HERE'The request has succeeded.
This is the HS (Harmonised Standard) code for the product. This is optional unless this product will be part of submission to the Traces NT system.
This is a simple description for the product. This is optional unless this product will be part of submission to the Traces NT system.
The URI(s) of the material(s) that are allowed to be used for this product.
The URI to the base unit of measurement that this product is specified in.
The URI to the unit of measurement that you wish to use as the default unit of measurement.
A list of additional units that specify the factor for converting from the base unit to other base units: e.g. unit to kg
The URI to the base unit of measurement to convert the base qty to. So if the product is specified in units and the conversion specifies kg then this conversion will provide the per unit mass.
{ "content": [ { … } ], "page": { "size": 0, "page": 0, "totalElements": 0, "totalPages": 0 } }
- Mock serverhttps://developer.interu.io/_mock/reference/api/organisations/{orgId}/products/{productId}
- UAThttps://api.uat.interu.io/organisations/{orgId}/products/{productId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.interu.io/_mock/reference/api/organisations/{orgId}/products/{productId}' \
-H 'X-API-Key: YOUR_API_KEY_HERE'The request has succeeded.
This is the HS (Harmonised Standard) code for the product. This is optional unless this product will be part of submission to the Traces NT system.
This is a simple description for the product. This is optional unless this product will be part of submission to the Traces NT system.
The URI(s) of the material(s) that are allowed to be used for this product.
The URI to the base unit of measurement that this product is specified in.
The URI to the unit of measurement that you wish to use as the default unit of measurement.
A list of additional units that specify the factor for converting from the base unit to other base units: e.g. unit to kg
The URI to the base unit of measurement to convert the base qty to. So if the product is specified in units and the conversion specifies kg then this conversion will provide the per unit mass.
{ "name": "string", "hsCode": "string", "description": "string", "allowedMaterials": [ "/organisations/{orgId}/materials/{materialId}" ], "baseUnit": "/common/base-units/{unitId}", "defaultUnit": "/common/base-units/{unitId}", "additionalUnits": [ { … } ], "recordState": "ACTIVE", "id": "string", "createdBy": "string", "createdTime": "2019-08-24T14:15:22Z", "updatedBy": "string", "updatedTime": "2019-08-24T14:15:22Z" }