HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/AgentDeviceRequest HTTP/1.1
Host: api2.publicemployeeretirementassistance.com
Content-Type: text/jsv
Content-Length: length
{
AgentDevice:
{
AgentDeviceId: 0,
UserId: 00000000000000000000000000000000,
DeviceId: String,
Model: String,
Platform: String,
UUID: String
},
DeviceId: String
}
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
}
]
},
AgentDevice:
{
AgentDeviceId: 0,
UserId: 00000000000000000000000000000000,
DeviceId: String,
Model: String,
Platform: String,
UUID: String
}
}