HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/AgentContactInfoRequest HTTP/1.1
Host: api2.publicemployeeretirementassistance.com
Content-Type: text/jsv
Content-Length: length
{
AgentContactInfo:
[
{
Id: 00000000000000000000000000000000,
AgentId: 0,
PhysicalAddress: String,
PhysicalCity: String,
PhysicalState: String,
PhysicalZip: String,
MailingAddress: String,
MailingCity: String,
MailingState: String,
MailingZip: String,
PhoneNumber: String,
Reference1Name: String,
Reference1Phone: String,
Reference2Name: String,
Reference2Phone: String,
DateCreated: 0001-01-01
}
],
AgentId: 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
}
]
},
AgentContactInfo:
[
{
Id: 00000000000000000000000000000000,
AgentId: 0,
PhysicalAddress: String,
PhysicalCity: String,
PhysicalState: String,
PhysicalZip: String,
MailingAddress: String,
MailingCity: String,
MailingState: String,
MailingZip: String,
PhoneNumber: String,
Reference1Name: String,
Reference1Phone: String,
Reference2Name: String,
Reference2Phone: String,
DateCreated: 0001-01-01
}
]
}