HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/AgentContractRequest HTTP/1.1
Host: api2.exactmedicare.com
Content-Type: text/jsv
Content-Length: length
{
AgentContract:
[
{
AgentContractId: 0,
AFAgreementReceivedDate: 0001-01-01,
DirectDepositReceivedDate: 0001-01-01,
DotNETCompleteDate: 0001-01-01,
AssociateAppUploadedDate: 0001-01-01,
LSWContractLinkSentDate: 0001-01-01,
LSWContractDoneDate: 0001-01-01,
LSWLifeAgentCode: String,
LSWAnnuityAgentCode: String,
LSWWebsiteUserId: String,
AMLCompletedDate: 0001-01-01,
StateAnnuityTrainingCompletedDate: 0001-01-01,
LSWProductTrainingCompletedDate: 0001-01-01,
EOExpirationDate: 0001-01-01,
SureLCLinkSentDate: 0001-01-01,
AEContractDoneDate: 0001-01-01,
AEAgentCode: String,
MGANorthAmericanContractSentDate: 0001-01-01,
MGANorthAmericanAgentCode: String,
AmericoContractDoneDate: 0001-01-01,
AmericoAgentCode: String,
MidlandContractDoneDate: 0001-01-01,
MidlandAgentCode: String,
JacksonContractDoneDate: 0001-01-01,
JacksonAgentCode: String,
VoyaContractDoneDate: 0001-01-01,
VoyaAgentCode: String,
HoraceMannContractDoneDate: 0001-01-01,
HoraceMannAgentCode: String,
GreatAmericanContractDoneDate: 0001-01-01,
GreatAmericanAgentCode: String,
MutualOfOmahaContractDoneDate: 0001-01-01,
MutualOfOmahaAgentCode: String,
AllanzContractDoneDate: 0001-01-01,
AllanzAgentCode: String,
FGContractDoneDate: 0001-01-01,
FGAgentCode: String,
ResidentLicenseState: String,
ResidentLicenseNumber: String,
ResidentLicenseExpirationDate: 0001-01-01,
ContractingComplete: 0001-01-01,
PackageMailed: 0001-01-01,
TrackingNum: String,
ProtectiveContractDoneDate: 0001-01-01,
ProtectiveCode: String,
AtheneContractDoneDate: 0001-01-01,
AtheneCode: String,
ForestersContractDoneDate: 0001-01-01,
ForestersCode: String,
ANXAtheneContractDoneDate: 0001-01-01,
ANXAtheneCode: String,
NationwideContractDoneDate: 0001-01-01,
NationwideCode: String,
LMSSentDate: 0001-01-01,
ACHName: String,
ACHNumber: String,
ACHRouting: String,
ACHAccountType: String,
w9_1: String,
w9_2: String,
w9_3_1: String,
w9_3_2: String,
w9_3_3: String,
w9_3_4: String,
w9_3_5: String,
w9_3_6: String,
w9_3_7: String,
w9_3_8: String,
w9_4_1: String,
w9_4_2: String,
w9_5: String,
w9_6: String,
w9_7: String,
AgentRegistration:
{
FullName: String String,
Address: "String
String
String,
String String",
ContractingComplete: 0001-01-01,
PackageMailed: 0001-01-01,
TrackingNum: String,
Upline1AgentName: String,
Upline2AgentName: String,
HasAgreement: False,
LMSSentDate: 0001-01-01,
HasConversation: False,
HasAgentMsg: False,
HasAdminMsg: False,
Reminder:
[
{
ReminderId: 00000000000000000000000000000000,
TableName: String,
FieldName: String,
RecordId: 0,
ReminderDate: 0001-01-01,
ReminderNote: String,
CreatedDate: 0001-01-01,
CreatedBy: String,
CompletedDate: 0001-01-01
}
],
Attachment:
[
{
AttachmentId: 00000000000000000000000000000000,
TableName: String,
FieldName: String,
RecordId: 0,
AttachmentName: String,
MimeType: String,
AttachmentData: AA==,
FileSizeInKB: 0,
CreatedDate: 0001-01-01,
CreatedBy: String,
NeedsOCR: False,
OCRDate: 0001-01-01,
IsSecurities: False
}
],
Notes: String,
AgentRegistrationTempId: 0,
ApplicationId: String,
Company: String,
EIN: String,
FirstName: String,
MiddleName: String,
LastName: String,
Address1: String,
Address2: String,
City: String,
State: String,
Zip: String,
MailingAddress1: String,
MailingAddress2: String,
MailingCity: String,
MailingState: String,
MailingZip: String,
Email: String,
HomePhone: String,
CellPhone: String,
WorkPhone: String,
AgreeToDisclosures: False,
AgreeToDate: 0001-01-01,
PaidDate: 0001-01-01,
AgentNumber: String,
Upline1Name: String,
Upline1: 0,
Upline2Name: String,
Upline2: 0,
RecruitedBy: String,
RegistrationCode: String,
CreatedDate: 0001-01-01,
DOB: 0001-01-01,
SSN: String,
Upline1Percent: 0,
Upline2Percent: 0,
AgentId: 0,
AccountName: String,
AccountType: String,
AccountNumber: String,
AccountRouting: String,
w9_1: String,
w9_2: String,
w9_3_1: String,
w9_3_2: String,
w9_3_3: String,
w9_3_4: String,
w9_3_5: String,
w9_3_6: String,
w9_3_7: String,
w9_3_8: String,
w9_4_1: String,
w9_4_2: String,
w9_5: String,
w9_6: String,
w9_7: String,
IsSecurityLicensed: False,
IsHealthInsuranceLicensed: False,
HealthInsuranceLicense: String,
SecurityLicense: String,
Position: String,
School: String,
District: String,
IsTexasTemp: False,
CanWorkInUS: False,
Flagged: False,
AgentLicenses:
[
{
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
}
]
},
AgentRegistrationAnswers:
[
{
Details: String,
QuestionType: String,
Group: String,
IndexOrder: 0,
AgentRegistrationTempId: 0,
QuestionId: 0,
AnswerYN: False,
AnswerText: String,
DateCreated: 0001-01-01
}
],
Licenses:
[
{
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
}
],
AccountType:
{
Id: {},
Name: String,
Description: String,
ConversionSupported: False
},
ContactCount: 0,
PayChexId: String,
RipplingId: String,
AgentLevelLocked: False,
SecurityLicense: String,
HideOnLeaderboards: False,
AgentId: 0,
Company: String,
AgentName: String,
FirstName: String,
LastName: String,
MiddleInitial: String,
Address1: String,
Address2: String,
City: String,
State: String,
Zip: String,
Country: String,
Email: String,
EmailSignature: String,
BusinessEmail: String,
HomePhone: String,
CellPhone: String,
WorkPhone: String,
InsLicensed: False,
AgreeToDisclosures: False,
AgreeToDate: 0001-01-01,
PaidDate: 0001-01-01,
AgentNumber: String,
AccountTypeId: 0,
ReferringAgent: String,
PlacementAgent: String,
CreatedDate: 0001-01-01,
UserId: 00000000000000000000000000000000,
IsAgent: False,
Package: String,
StoreName: String,
Notes: String,
Upline1: 0,
Upline2: 0,
Upline3: 0,
Upline4: 0,
MVPID: 0,
AVPID: 0,
RVPID: 0,
AgentLevel: 0,
IsMVP: False,
IsRVP: False,
IsAVP: False,
IsAdmin: False,
IsBusinessCardAdmin: False,
TeamName: String,
CalendarId: 00000000000000000000000000000000,
Rank: String,
NBC: False,
Upline1Percent: 0,
Upline2Percent: 0,
Upline3Percent: 0,
Upline4Percent: 0,
AgentStatus: String,
Office: String,
DOB: 0001-01-01,
SSN: String,
Fax: String,
ModifiedDate: 0001-01-01,
ModifiedBy: String,
TimeZone: String,
LeaderLocked: False,
LastSubmittedBusinessDate: 0001-01-01,
GracePeriodDate: 0001-01-01,
Vested: False,
DirectPay: 0001-01-01,
DirectPayApprBy: String,
FactFinderBilling: 0,
IsSecurityLicensed: False,
ProfilePicture: String,
MailingAddress1: String,
MailingAddress2: String,
MailingCity: String,
MailingState: String,
MailingZip: String,
RegistrationRequirementMet: False,
AgentNPN: String,
LicenseType: String,
EBShares: 0,
ABShares: 0,
AgentTypeId: 0,
StartDate: 0001-01-01,
PartnerID: 0
}
],
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
}
]
},
AgentContract:
[
{
AgentContractId: 0,
AFAgreementReceivedDate: 0001-01-01,
DirectDepositReceivedDate: 0001-01-01,
DotNETCompleteDate: 0001-01-01,
AssociateAppUploadedDate: 0001-01-01,
LSWContractLinkSentDate: 0001-01-01,
LSWContractDoneDate: 0001-01-01,
LSWLifeAgentCode: String,
LSWAnnuityAgentCode: String,
LSWWebsiteUserId: String,
AMLCompletedDate: 0001-01-01,
StateAnnuityTrainingCompletedDate: 0001-01-01,
LSWProductTrainingCompletedDate: 0001-01-01,
EOExpirationDate: 0001-01-01,
SureLCLinkSentDate: 0001-01-01,
AEContractDoneDate: 0001-01-01,
AEAgentCode: String,
MGANorthAmericanContractSentDate: 0001-01-01,
MGANorthAmericanAgentCode: String,
AmericoContractDoneDate: 0001-01-01,
AmericoAgentCode: String,
MidlandContractDoneDate: 0001-01-01,
MidlandAgentCode: String,
JacksonContractDoneDate: 0001-01-01,
JacksonAgentCode: String,
VoyaContractDoneDate: 0001-01-01,
VoyaAgentCode: String,
HoraceMannContractDoneDate: 0001-01-01,
HoraceMannAgentCode: String,
GreatAmericanContractDoneDate: 0001-01-01,
GreatAmericanAgentCode: String,
MutualOfOmahaContractDoneDate: 0001-01-01,
MutualOfOmahaAgentCode: String,
AllanzContractDoneDate: 0001-01-01,
AllanzAgentCode: String,
FGContractDoneDate: 0001-01-01,
FGAgentCode: String,
ResidentLicenseState: String,
ResidentLicenseNumber: String,
ResidentLicenseExpirationDate: 0001-01-01,
ContractingComplete: 0001-01-01,
PackageMailed: 0001-01-01,
TrackingNum: String,
ProtectiveContractDoneDate: 0001-01-01,
ProtectiveCode: String,
AtheneContractDoneDate: 0001-01-01,
AtheneCode: String,
ForestersContractDoneDate: 0001-01-01,
ForestersCode: String,
ANXAtheneContractDoneDate: 0001-01-01,
ANXAtheneCode: String,
NationwideContractDoneDate: 0001-01-01,
NationwideCode: String,
LMSSentDate: 0001-01-01,
ACHName: String,
ACHNumber: String,
ACHRouting: String,
ACHAccountType: String,
w9_1: String,
w9_2: String,
w9_3_1: String,
w9_3_2: String,
w9_3_3: String,
w9_3_4: String,
w9_3_5: String,
w9_3_6: String,
w9_3_7: String,
w9_3_8: String,
w9_4_1: String,
w9_4_2: String,
w9_5: String,
w9_6: String,
w9_7: String,
AgentRegistration:
{
FullName: String String,
Address: "String
String
String,
String String",
ContractingComplete: 0001-01-01,
PackageMailed: 0001-01-01,
TrackingNum: String,
Upline1AgentName: String,
Upline2AgentName: String,
HasAgreement: False,
LMSSentDate: 0001-01-01,
HasConversation: False,
HasAgentMsg: False,
HasAdminMsg: False,
Reminder:
[
{
ReminderId: 00000000000000000000000000000000,
TableName: String,
FieldName: String,
RecordId: 0,
ReminderDate: 0001-01-01,
ReminderNote: String,
CreatedDate: 0001-01-01,
CreatedBy: String,
CompletedDate: 0001-01-01
}
],
Attachment:
[
{
AttachmentId: 00000000000000000000000000000000,
TableName: String,
FieldName: String,
RecordId: 0,
AttachmentName: String,
MimeType: String,
AttachmentData: AA==,
FileSizeInKB: 0,
CreatedDate: 0001-01-01,
CreatedBy: String,
NeedsOCR: False,
OCRDate: 0001-01-01,
IsSecurities: False
}
],
Notes: String,
AgentRegistrationTempId: 0,
ApplicationId: String,
Company: String,
EIN: String,
FirstName: String,
MiddleName: String,
LastName: String,
Address1: String,
Address2: String,
City: String,
State: String,
Zip: String,
MailingAddress1: String,
MailingAddress2: String,
MailingCity: String,
MailingState: String,
MailingZip: String,
Email: String,
HomePhone: String,
CellPhone: String,
WorkPhone: String,
AgreeToDisclosures: False,
AgreeToDate: 0001-01-01,
PaidDate: 0001-01-01,
AgentNumber: String,
Upline1Name: String,
Upline1: 0,
Upline2Name: String,
Upline2: 0,
RecruitedBy: String,
RegistrationCode: String,
CreatedDate: 0001-01-01,
DOB: 0001-01-01,
SSN: String,
Upline1Percent: 0,
Upline2Percent: 0,
AgentId: 0,
AccountName: String,
AccountType: String,
AccountNumber: String,
AccountRouting: String,
w9_1: String,
w9_2: String,
w9_3_1: String,
w9_3_2: String,
w9_3_3: String,
w9_3_4: String,
w9_3_5: String,
w9_3_6: String,
w9_3_7: String,
w9_3_8: String,
w9_4_1: String,
w9_4_2: String,
w9_5: String,
w9_6: String,
w9_7: String,
IsSecurityLicensed: False,
IsHealthInsuranceLicensed: False,
HealthInsuranceLicense: String,
SecurityLicense: String,
Position: String,
School: String,
District: String,
IsTexasTemp: False,
CanWorkInUS: False,
Flagged: False,
AgentLicenses:
[
{
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
}
]
},
AgentRegistrationAnswers:
[
{
Details: String,
QuestionType: String,
Group: String,
IndexOrder: 0,
AgentRegistrationTempId: 0,
QuestionId: 0,
AnswerYN: False,
AnswerText: String,
DateCreated: 0001-01-01
}
],
Licenses:
[
{
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
}
],
AccountType:
{
Id: {},
Name: String,
Description: String,
ConversionSupported: False
},
ContactCount: 0,
PayChexId: String,
RipplingId: String,
AgentLevelLocked: False,
SecurityLicense: String,
HideOnLeaderboards: False,
AgentId: 0,
Company: String,
AgentName: String,
FirstName: String,
LastName: String,
MiddleInitial: String,
Address1: String,
Address2: String,
City: String,
State: String,
Zip: String,
Country: String,
Email: String,
EmailSignature: String,
BusinessEmail: String,
HomePhone: String,
CellPhone: String,
WorkPhone: String,
InsLicensed: False,
AgreeToDisclosures: False,
AgreeToDate: 0001-01-01,
PaidDate: 0001-01-01,
AgentNumber: String,
AccountTypeId: 0,
ReferringAgent: String,
PlacementAgent: String,
CreatedDate: 0001-01-01,
UserId: 00000000000000000000000000000000,
IsAgent: False,
Package: String,
StoreName: String,
Notes: String,
Upline1: 0,
Upline2: 0,
Upline3: 0,
Upline4: 0,
MVPID: 0,
AVPID: 0,
RVPID: 0,
AgentLevel: 0,
IsMVP: False,
IsRVP: False,
IsAVP: False,
IsAdmin: False,
IsBusinessCardAdmin: False,
TeamName: String,
CalendarId: 00000000000000000000000000000000,
Rank: String,
NBC: False,
Upline1Percent: 0,
Upline2Percent: 0,
Upline3Percent: 0,
Upline4Percent: 0,
AgentStatus: String,
Office: String,
DOB: 0001-01-01,
SSN: String,
Fax: String,
ModifiedDate: 0001-01-01,
ModifiedBy: String,
TimeZone: String,
LeaderLocked: False,
LastSubmittedBusinessDate: 0001-01-01,
GracePeriodDate: 0001-01-01,
Vested: False,
DirectPay: 0001-01-01,
DirectPayApprBy: String,
FactFinderBilling: 0,
IsSecurityLicensed: False,
ProfilePicture: String,
MailingAddress1: String,
MailingAddress2: String,
MailingCity: String,
MailingState: String,
MailingZip: String,
RegistrationRequirementMet: False,
AgentNPN: String,
LicenseType: String,
EBShares: 0,
ABShares: 0,
AgentTypeId: 0,
StartDate: 0001-01-01,
PartnerID: 0
}
]
}