List passport substances
curl --request GET \
--url https://api.insightchain.ai/v1/passports/{id}/substances \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.insightchain.ai/v1/passports/{id}/substances"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.insightchain.ai/v1/passports/{id}/substances', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"substances": [
{
"externalId": "SUB-CR6",
"materialExternalId": "MAT-BODY",
"substanceName": "Chromium VI",
"casNumber": "18540-29-9",
"ecNumber": "242-403-9",
"regulation": "REACH_ANNEX_XVII",
"concentrationPpm": 0,
"aboveThreshold": false,
"scipRef": null,
"safeUseInstructions": "Chrome-free vegetable tannage; Cr(VI) not detected at a 3 mg/kg limit of quantification."
}
],
"request_id": "3ba18fb5-8bf9-468f-8dd2-b06d9a108f62",
"object": "list",
"data": [
{
"externalId": "SUB-CR6",
"materialExternalId": "MAT-BODY",
"substanceName": "Chromium VI",
"casNumber": "18540-29-9",
"ecNumber": "242-403-9",
"regulation": "REACH_ANNEX_XVII",
"concentrationPpm": 0,
"aboveThreshold": false,
"scipRef": null,
"safeUseInstructions": "Chrome-free vegetable tannage; Cr(VI) not detected at a 3 mg/kg limit of quantification."
}
],
"has_more": false,
"next_cursor": null
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}Product passports
List passport substances
A passport’s substance declarations.
Key scope: read (or execute). Module: dpp. Answers the list object (object, data, has_more, next_cursor); the same rows stay under substances, deprecated.
GET
/
v1
/
passports
/
{id}
/
substances
List passport substances
curl --request GET \
--url https://api.insightchain.ai/v1/passports/{id}/substances \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.insightchain.ai/v1/passports/{id}/substances"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.insightchain.ai/v1/passports/{id}/substances', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"substances": [
{
"externalId": "SUB-CR6",
"materialExternalId": "MAT-BODY",
"substanceName": "Chromium VI",
"casNumber": "18540-29-9",
"ecNumber": "242-403-9",
"regulation": "REACH_ANNEX_XVII",
"concentrationPpm": 0,
"aboveThreshold": false,
"scipRef": null,
"safeUseInstructions": "Chrome-free vegetable tannage; Cr(VI) not detected at a 3 mg/kg limit of quantification."
}
],
"request_id": "3ba18fb5-8bf9-468f-8dd2-b06d9a108f62",
"object": "list",
"data": [
{
"externalId": "SUB-CR6",
"materialExternalId": "MAT-BODY",
"substanceName": "Chromium VI",
"casNumber": "18540-29-9",
"ecNumber": "242-403-9",
"regulation": "REACH_ANNEX_XVII",
"concentrationPpm": 0,
"aboveThreshold": false,
"scipRef": null,
"safeUseInstructions": "Chrome-free vegetable tannage; Cr(VI) not detected at a 3 mg/kg limit of quantification."
}
],
"has_more": false,
"next_cursor": null
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}Authorizations
Path Parameters
Response
OK