HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/CombinedAgentRecruitRequest HTTP/1.1
Host: api3.appreciationfinancial.com
Content-Type: text/jsv
Content-Length: length
{
CombinedAgentRecruit:
[
{
AgentId: 0,
Rank: String,
AgentLevel: String,
Upline1Name: String,
Upline2Name: String,
Upline3Name: String,
Upline4Name: String,
AccountType: String,
TeamName: String,
MVPName: String,
RVPName: String,
AVPName: String,
Company: String,
FirstName: String,
LastName: String,
MiddleInitial: String,
Address1: String,
Address2: String,
City: String,
State: String,
Zip: String,
Country: String,
Email: String,
HomePhone: String,
CellPhone: String,
WorkPhone: String,
AgentNumber: String,
PlacementAgentName: String,
PlacementAgent: String,
CreatedDate: 0001-01-01,
Level: 0,
LastLoginDate: 0001-01-01,
Package: String,
AppCount: 0,
Cashflow: 0
}
],
AgentId: 0,
StartDate: 0001-01-01,
EndDate: 0001-01-01,
IncludePro: False,
IncludeConnect: False,
ShowActiveOnly: 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
}
]
},
CombinedAgentRecruit:
[
{
AgentId: 0,
Rank: String,
AgentLevel: String,
Upline1Name: String,
Upline2Name: String,
Upline3Name: String,
Upline4Name: String,
AccountType: String,
TeamName: String,
MVPName: String,
RVPName: String,
AVPName: String,
Company: String,
FirstName: String,
LastName: String,
MiddleInitial: String,
Address1: String,
Address2: String,
City: String,
State: String,
Zip: String,
Country: String,
Email: String,
HomePhone: String,
CellPhone: String,
WorkPhone: String,
AgentNumber: String,
PlacementAgentName: String,
PlacementAgent: String,
CreatedDate: 0001-01-01,
Level: 0,
LastLoginDate: 0001-01-01,
Package: String,
AppCount: 0,
Cashflow: 0
}
]
}