Apis related to Validation.
Interu API (v2_28)
Bodyapplication/jsonrequired
List of record URIs that you want to confirm are valid based on provided Criteria.
If Risk Assessments are included in Criteria, this allows definition of which types of Risk Assessment are included in the check. If not included then risk assessments will be ignored.
Items Enum"COUNTRY""DELIVERY""LOCATION""MATERIAL""ORGANISTION""PRODUCT"
- Mock serverhttps://developer.interu.io/_mock/reference/api/organisations/{orgId}/validation/status
- UAThttps://api.uat.interu.io/organisations/{orgId}/validation/status
- 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}/validation/status' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-H 'contentType: application/json' \
-d '{
"records": [
"string"
],
"includeRulesets": true,
"includedRiskAssessments": [
"COUNTRY"
],
"treatMissingAsError": false
}'The request has succeeded and will either return the newly created resource or where appropriate a record that reflects the success of the action.
List of records that have been evaluated.
The validation status. If true it means that the record passes the provided Criteria.
If rulesets applicable to the record have not validated, this returns the name of the rulesets that have failed.
Response
application/json
{ "records": [ { … } ] }