Apis related to Validation.
- Retrieve DDS Reference List
Interu API (v2_31)
This is the type of the DDS Reference. If you are generating a new DDS Reference then set this to NEW.
The source data items to base the DDS Statement on.
Create a DDS from a product. Requires the specification of a quantity to create.
This is the resource type of the source. Note that for create a Product DDS this can only be PRODUCT
This is information on the products to generate a DDS for.
- Mock serverhttps://developer.interu.io/_mock/reference/api/organisations/{orgId}/extensions/eudr/references
- UAThttps://api.uat.interu.io/organisations/{orgId}/extensions/eudr/references
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
- NEW
- EXISTING
curl -i -X POST \
'https://developer.interu.io/_mock/reference/api/organisations/{orgId}/extensions/eudr/references' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-H 'contentType: application/json' \
-d '{
"type": "NEW",
"statementData": {
"operatorType": "OPERATOR",
"activityType": "IMPORT",
"countryOfActivity": "AT",
"borderCrossCountry": "AT",
"comment": "string",
"geoLocationConfidential": true,
"associatedStatements": [
{
"referenceNumber": "string",
"verificationNumber": "string"
}
]
},
"sourceData": {
"sourceResourceType": "PRODUCT",
"products": [
{
"uri": "/organisations/{orgId}/products/{productId}",
"totalQuantity": 0
}
]
},
"internalReferenceNumber": "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.
An internal reference number that can be user defined to help identify the DDS Reference. If this is the only identifier provided then it is a mandatory field.
The Verification Number provided by Traces NT. It is required if you want to reference the related DDS Statement in another DDS Statement.
True if there is a DDS Statement associated with this reference number. This happens if it is generated or if there is a Reference Number and Validation Number and the Statement can be retrieved from Traces.
The status of the Due Diligence Statement.
This is the url of the organisation or connection from which the credentials will be used for submission or retrieval of DDS Statements with Traces NT.
{ "internalReferenceNumber": "string", "referenceNumber": "string", "verificationNumber": "string", "hasStatement": true, "status": "PENDING", "operatorUri": "string", "id": "string", "createdBy": "string", "createdTime": "2019-08-24T14:15:22Z", "updatedBy": "string", "updatedTime": "2019-08-24T14:15:22Z" }
Get the DDS references with the provided status.
This is the resource type of the source.
The number of elements to return in each page. Minimum value must be 1, defaults to 20.
- Mock serverhttps://developer.interu.io/_mock/reference/api/organisations/{orgId}/extensions/eudr/references
- UAThttps://api.uat.interu.io/organisations/{orgId}/extensions/eudr/references
- 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}/extensions/eudr/references?internalReference=string&status=PENDING&sourceResourceType=DELIVERY&size=20&page=0' \
-H 'X-API-Key: YOUR_API_KEY_HERE'The request has succeeded.
An internal reference number that can be user defined to help identify the DDS Reference. If this is the only identifier provided then it is a mandatory field.
The Verification Number provided by Traces NT. It is required if you want to reference the related DDS Statement in another DDS Statement.
True if there is a DDS Statement associated with this reference number. This happens if it is generated or if there is a Reference Number and Validation Number and the Statement can be retrieved from Traces.
The status of the Due Diligence Statement.
This is the url of the organisation or connection from which the credentials will be used for submission or retrieval of DDS Statements with Traces NT.
{ "content": [ { … } ], "page": { "size": 0, "page": 0, "totalElements": 0, "totalPages": 0 } }
- Mock serverhttps://developer.interu.io/_mock/reference/api/organisations/{orgId}/extensions/eudr/references/find
- UAThttps://api.uat.interu.io/organisations/{orgId}/extensions/eudr/references/find
- 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}/extensions/eudr/references/find' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-H 'contentType: application/json' \
-d '{
"recordUris": [
"/organisations/{orgId}/deliveries/{deliveryId}"
]
}'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 URI of the the record - i.e the Delivery or the Purchase Order.
The found Due Diligence Statement References. This will only be present if References were found.
[ { "recordUri": "/organisations/{orgId}/purchase-orders/{purchaseOrderId}", "references": [ … ] } ]