Skip to content

Interu API (v2_28)

Download OpenAPI description
Languages
Servers
Mock server
https://developer.interu.io/_mock/reference/api/
UAT
https://api.uat.interu.io/

Validation

Apis related to Validation.

Operations

Base Units

Apis related to Base Units.

Operations

Country List

Apis related to Country List.

Operations

Standards

Apis related to Standards.

Operations

Document Types

Apis related to Document Types.

Operations

Location Types

Apis related to Location Types.

Operations

Process Types

Apis related to Process Types.

Operations

Attachments

Apis related to Attachments.

Operations

Documents

Apis related to Documents.

Operations

EUDR

Apis related to EUDR and Due Diligence Statement Submission.

Operations

Find DDS Reference

Request

Finds DDS Reference for provided record ids.

Security
ApiKeyAuth
Path
orgIdstringrequired

The organisation identity

Headers
contentTypestringrequired
Default application/json
Bodyapplication/jsonrequired
recordUrisArray of strings

The list of Record Uris to look for the DDS Reference for.

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}"
    ]
  }'

Responses

The request has succeeded and will either return the newly created resource or where appropriate a record that reflects the success of the action.

Headers
Locationstring

Location of the created resource

Bodyapplication/jsonArray [
recordUristring(uri)required

This is the URI of the the record - i.e the Delivery or the Purchase Order.

referencesArray of objects(Integrations.Eudr.DDSReferenceDetail)

The found Due Diligence Statement References. This will only be present if References were found.

]
Response
application/json
[ { "recordUri": "/organisations/{orgId}/purchase-orders/{purchaseOrderId}", "references": [] } ]

Resolve DDS ReferenceWork In Progress

Request

Resolves DDS References for provided record ids.

Security
ApiKeyAuth
Path
orgIdstringrequired

The organisation identity

Headers
contentTypestringrequired
Default application/json
Bodyapplication/jsonrequired
itemsArray of strings

The list of Record Uris to resolve DDS References for. This will look back through connected items (throw processes etc) to find any related DDS References.

curl -i -X POST \
  'https://developer.interu.io/_mock/reference/api/organisations/{orgId}/extensions/eudr/references/resolve' \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY_HERE' \
  -H 'contentType: application/json' \
  -d '{
    "items": [
      "/organisations/{orgId}/deliveries/{deliveryId}"
    ]
  }'

Responses

The request has succeeded and will either return the newly created resource or where appropriate a record that reflects the success of the action.

Headers
Locationstring

Location of the created resource

Bodyapplication/jsonArray [
itemstring(uri)required

This is the URI of the the record - i.e the Delivery, Purchase Order or Item

resolvedArray of objects(Integrations.Eudr.Resolved)

The records and the DDS References that were found.

unresolvedArray of objects(Integrations.Eudr.UnResolved)

The records where resolution was not possible.

]
Response
application/json
[ { "item": "/organisations/{orgId}/items/{itemId}", "resolved": [], "unresolved": [] } ]

Retrieve DDS Reference

Request

Retrieves an existing EUDR DDS Reference.

Security
ApiKeyAuth
Path
referenceIdstringrequired
orgIdstringrequired

The organisation identity

curl -i -X GET \
  'https://developer.interu.io/_mock/reference/api/organisations/{orgId}/extensions/eudr/references/{referenceId}' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

The request has succeeded.

Bodyapplication/json
internalReferenceNumberstring

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.

referenceNumberstring

The Reference Number as provided by TracesNT.

verificationNumberstring

The Verification Number provided by Traces NT. It is required if you want to reference the related DDS Statement in another DDS Statement.

hasStatementboolean

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.

statusstring
Enum"PENDING""SUBMITTED""AVAILABLE""REJECTED""CANCELLED""WITHDRAWN""ARCHIVED"
operatorUristringrequired

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.

idstring

System assigned id field.

createdBystring

User who created the record.

createdTimestring(date-time)

Date & Time that the record was created.

updatedBystring

Last updated by user.

updatedTimestring(date-time)

Date & Time that the record was last updated.

Response
application/json
{ "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" }

Connections

Apis related to Connections.

Operations

Locations

Apis related to Locations.

Operations

Materials

Apis related to Materials.

Operations

Products

Apis related to Products.

Operations

Deliveries

Apis related to Deliveries.

Operations

Items

Apis related to Items.

Operations

Orders

Apis related to Orders.

Operations

Processes

Apis related to Processes.

Operations

Outbound Delivery Workflow

Operations