HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/ContestPointsAgentRequest HTTP/1.1
Host: api2.exactmedicare.com
Content-Type: text/jsv
Content-Length: length
{
WeekNumber: 0,
ContestPointsAgent:
{
Id: 0,
AgentId: 0,
WeekNumber: 0,
Item_1_1: 0,
Item_1_2: 0,
Item_2_1: 0,
Item_2_2: 0,
Item_2_3: 0,
Item_2_4: 0,
Item_2_5: 0,
Item_2_6: 0,
Item_2_7: 0,
Item_3_1: 0,
Item_3_2: 0,
Item_4_1: 0,
Item_4_2: 0,
Item_4_3: 0,
Item_4_4: 0,
Item_4_5: 0,
Item_4_6: 0,
Item_4_7: 0,
Item_5_1: 0,
Item_5_2: 0,
Item_5_3: 0,
Item_5_4: 0,
Item_5_5: 0,
Item_5_6: 0,
Item_5_8: 0,
Item_5_9: 0,
Item_5_10: 0,
Item_5_11: 0
}
}
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
}
]
},
ContestPointsAgent:
{
Id: 0,
AgentId: 0,
WeekNumber: 0,
Item_1_1: 0,
Item_1_2: 0,
Item_2_1: 0,
Item_2_2: 0,
Item_2_3: 0,
Item_2_4: 0,
Item_2_5: 0,
Item_2_6: 0,
Item_2_7: 0,
Item_3_1: 0,
Item_3_2: 0,
Item_4_1: 0,
Item_4_2: 0,
Item_4_3: 0,
Item_4_4: 0,
Item_4_5: 0,
Item_4_6: 0,
Item_4_7: 0,
Item_5_1: 0,
Item_5_2: 0,
Item_5_3: 0,
Item_5_4: 0,
Item_5_5: 0,
Item_5_6: 0,
Item_5_8: 0,
Item_5_9: 0,
Item_5_10: 0,
Item_5_11: 0
}
}