HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/Throw500 HTTP/1.1
Host: sphinx-api-v2.dev.hotelplan.co.uk
Content-Type: text/jsv
Content-Length: length
{
appNameString: String,
version: String,
requestUrl: String,
ip: String,
requestId: 00000000000000000000000000000000,
metaData:
{
String: String
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
timestamp: String,
requestId: 00000000000000000000000000000000,
responseStatus:
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: String
}
]
}
}