Apis related to Validation.
Interu API (v2_28)
- Mock serverhttps://developer.interu.io/_mock/reference/api/organisations/{orgId}/locations
- UAThttps://api.uat.interu.io/organisations/{orgId}/locations
- 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}/locations?name=string&countryCodes=string&typeIds=string&recordState=ACTIVE&size=20&page=0' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
application/json
{ "content": [ { … } ], "page": { "size": 0, "page": 0, "totalElements": 0, "totalPages": 0 } }
- Mock serverhttps://developer.interu.io/_mock/reference/api/organisations/{orgId}/locations/{locationId}
- UAThttps://api.uat.interu.io/organisations/{orgId}/locations/{locationId}
- 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}/locations/{locationId}' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
application/json
{ "name": "string", "types": [ "/organisations/{orgId}/location-types/{locationTypeId}" ], "address": { "street": "string", "region": "string", "zipCode": "string", "country": "AF" }, "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}/locations/{locationId}
- UAThttps://api.uat.interu.io/organisations/{orgId}/locations/{locationId}
- 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}/locations/{locationId}' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-H 'contentType: application/json' \
-d '{
"name": "string",
"types": [
"/organisations/{orgId}/location-types/{locationTypeId}"
],
"address": {
"street": "string",
"region": "string",
"zipCode": "string",
"country": "AF"
}
}'Response
application/json
{ "name": "string", "types": [ "/organisations/{orgId}/location-types/{locationTypeId}" ], "address": { "street": "string", "region": "string", "zipCode": "string", "country": "AF" }, "recordState": "ACTIVE", "id": "string", "createdBy": "string", "createdTime": "2019-08-24T14:15:22Z", "updatedBy": "string", "updatedTime": "2019-08-24T14:15:22Z" }