HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/AgentSiteOptionsRequest HTTP/1.1
Host: testapi.responsible-advisor.com
Content-Type: text/jsv
Content-Length: length
{
AgentSiteOptions:
{
Id: 0,
AgentId: 0,
ShowProfilePicture: False,
ShowAgentName: False,
ShowCompanyName: False,
ShowPhoneNumber: False,
ShowEmail: False,
ShowAddress: False,
ShowBio: False,
Line1AgentName: String,
Line2Company: String,
Line3Address: String,
Line4PhoneNumber: String,
Line5Email: String
},
UserId: 00000000000000000000000000000000
}
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
}
]
},
AgentSiteOptions:
{
Id: 0,
AgentId: 0,
ShowProfilePicture: False,
ShowAgentName: False,
ShowCompanyName: False,
ShowPhoneNumber: False,
ShowEmail: False,
ShowAddress: False,
ShowBio: False,
Line1AgentName: String,
Line2Company: String,
Line3Address: String,
Line4PhoneNumber: String,
Line5Email: String
}
}