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

Create Attachment

Request

Security
ApiKeyAuth
Path
orgIdstringrequired

The organisation identity

Headers
contentTypestringrequired
Default application/json
Bodyapplication/jsonrequired
targetUristringrequired

The resource that is being attached to.

attachmentUristring(uri)required

The resource that is being attached.

curl -i -X POST \
  'https://developer.interu.io/_mock/reference/api/organisations/{orgId}/attachments' \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY_HERE' \
  -H 'contentType: application/json' \
  -d '{
    "targetUri": "/organisations/{orgId}/...path-to-record",
    "attachmentUri": "/organisations/{orgId}/...path-to-record"
  }'

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/json
targetUristringrequired

The resource that is being attached to.

attachmentUristring(uri)required

The resource that is being attached.

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
{ "targetUri": "/organisations/{orgId}/...path-to-record", "attachmentUri": "/organisations/{orgId}/...path-to-record", "id": "string", "createdBy": "string", "createdTime": "2019-08-24T14:15:22Z", "updatedBy": "string", "updatedTime": "2019-08-24T14:15:22Z" }

Retrieve Attachment List

Request

Security
ApiKeyAuth
Path
orgIdstringrequired

The organisation identity

Query
attachmentTypestring(Attachment.QueryAttachmentType)

The record type of the attachment record.

Value"DOCUMENT"
targetTypestring(Attachment.QueryTargetType)

The record type of the target record.

Enum"CERTIFICATE""CONNECTION""COUNTRY""DELIVERY""ITEM""LOCATION""MATERIAL""ORGANISATION""PROCESS""PRODUCT"
targetUristring(uri)

The target URI that the attachment is being attached to.

attachmentUristring(uri)

The URI of the attachment.

curl -i -X GET \
  'https://developer.interu.io/_mock/reference/api/organisations/{orgId}/attachments?attachmentType=DOCUMENT&targetType=CERTIFICATE&targetUri=http%3A%2F%2Fexample.com&attachmentUri=http%3A%2F%2Fexample.com' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

The request has succeeded.

Bodyapplication/jsonArray [
targetUristringrequired

The resource that is being attached to.

attachmentUristring(uri)required

The resource that is being attached.

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
[ { "targetUri": "/organisations/{orgId}/...path-to-record", "attachmentUri": "/organisations/{orgId}/...path-to-record", "id": "string", "createdBy": "string", "createdTime": "2019-08-24T14:15:22Z", "updatedBy": "string", "updatedTime": "2019-08-24T14:15:22Z" } ]

Retrieve Attachment

Request

Security
ApiKeyAuth
Path
attachmentIdstringrequired
orgIdstringrequired

The organisation identity

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

Responses

The request has succeeded.

Bodyapplication/json
targetUristringrequired

The resource that is being attached to.

attachmentUristring(uri)required

The resource that is being attached.

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
{ "targetUri": "/organisations/{orgId}/...path-to-record", "attachmentUri": "/organisations/{orgId}/...path-to-record", "id": "string", "createdBy": "string", "createdTime": "2019-08-24T14:15:22Z", "updatedBy": "string", "updatedTime": "2019-08-24T14:15:22Z" }

Documents

Apis related to Documents.

Operations

EUDR

Apis related to EUDR and Due Diligence Statement Submission.

Operations

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