HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/ContactTitlesBlacklistDataTablesRequest HTTP/1.1
Host: api2.publicemployeeretirementassistance.com
Content-Type: text/jsv
Content-Length: length
{
dtParameters:
{
columns:
[
{
data: 0,
name: String,
orderable: False,
searchable: False,
search:
{
value: String,
regex: False
}
}
],
draw: 0,
length: 0,
order:
[
{
column: 0,
dir: String
}
],
start: 0,
search:
{
value: String,
regex: False
}
},
Flagged: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
},
data:
[
{
}
],
draw: 0,
recordsFiltered: 0,
recordsTotal: 0
}