AlertSense Map Service

<back to all web services

ValidateRequest

The following routes are available for this service:
POST/api/configuration/validate
ValidateRequest Parameters:
NameParameterData TypeRequiredDescription
SchemabodystringNo
JsonbodystringNo
ValidateResponse Parameters:
NameParameterData TypeRequiredDescription
ErrorsbodyIList<ValidationError>No
ValidbodyboolNo
ValidationError Parameters:
NameParameterData TypeRequiredDescription
MessagebodystringNo
LineNumberbodyintNo
LinePositionbodyintNo
PathbodystringNo
ValuebodyObjectNo
SchemabodyJSchemaNo
SchemaIdbodyUriNo
SchemaBaseUribodyUriNo
ErrorTypebodyErrorTypeNo
ChildErrorsbodyIList<ValidationError>No

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/ValidateRequest HTTP/1.1 
Host: elm.alertsense.com 
Content-Type: text/csv
Content-Length: length

{"Schema":"String","Json":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Valid":false}