HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/AgentLicenseRequest HTTP/1.1
Host: api2.exactmedicare.com
Content-Type: text/jsv
Content-Length: length
{
AgentId: 0,
ContactId: 0,
AgentLicense:
{
Id: 0,
AgentId: 0,
ContactId: 0,
AgentRegistrationTempId: 0,
LicenseTypeId: 0,
SecurityLicenseTypeId: 0,
LicenseTypeName: String,
SecuritiesLicenseTypeName: String,
LicenseState: String,
LicenseNumber: String,
Temporary: False,
DateCreated: 0001-01-01,
DateModified: 0001-01-01,
DateAcquired: 0001-01-01,
ExpirationDate: 0001-01-01,
IsResident: 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
}
]
},
License:
[
{
Id: 0,
AgentId: 0,
ContactId: 0,
AgentRegistrationTempId: 0,
LicenseTypeId: 0,
SecurityLicenseTypeId: 0,
LicenseTypeName: String,
SecuritiesLicenseTypeName: String,
LicenseState: String,
LicenseNumber: String,
Temporary: False,
DateCreated: 0001-01-01,
DateModified: 0001-01-01,
DateAcquired: 0001-01-01,
ExpirationDate: 0001-01-01,
IsResident: False
}
]
}