Apis related to Validation.
Interu API (v2_28)
- Mock serverhttps://developer.interu.io/_mock/reference/api/organisations/{orgId}/materials/{materialId}
- UAThttps://api.uat.interu.io/organisations/{orgId}/materials/{materialId}
- 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}/materials/{materialId}' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
application/json
{ "name": "string", "scientificName": "string", "commonName": "string", "category": "string", "recordState": "ACTIVE", "id": "string", "createdBy": "string", "createdTime": "2019-08-24T14:15:22Z", "updatedBy": "string", "updatedTime": "2019-08-24T14:15:22Z" }
Bodyapplication/jsonrequired
This is the Scientific Name for this material. It is an optional field but is required for sbmission to the Traces NT system.
This is a Common Name for this material. It is an optional field but is required for sbmission to the Traces NT system.
- Mock serverhttps://developer.interu.io/_mock/reference/api/organisations/{orgId}/materials/{materialId}
- UAThttps://api.uat.interu.io/organisations/{orgId}/materials/{materialId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://developer.interu.io/_mock/reference/api/organisations/{orgId}/materials/{materialId}' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-H 'contentType: application/json' \
-d '{
"name": "string",
"scientificName": "string",
"commonName": "string",
"category": "string"
}'Response
application/json
{ "name": "string", "scientificName": "string", "commonName": "string", "category": "string", "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}/materials/{materialId}
- UAThttps://api.uat.interu.io/organisations/{orgId}/materials/{materialId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://developer.interu.io/_mock/reference/api/organisations/{orgId}/materials/{materialId}' \
-H 'X-API-Key: YOUR_API_KEY_HERE'