HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/ImportAgentRequest HTTP/1.1
Host: api2.exactmedicare.com
Content-Type: text/jsv
Content-Length: length
{
AuthToken: 00000000000000000000000000000000,
FirstName: String,
LastName: String,
DateOfBirth: 0001-01-01,
Email: String,
AgentLevel: 0,
Upline1AgentNumber: String,
Upline1Percent: 0,
NPN: 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
}
]
}
}