The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/PolicyAuditorSearchRequest HTTP/1.1
Host: api.exactbenefits.com
Content-Type: text/jsv
Content-Length: length
{
SearchType: String,
SourceLevel: String,
ResultMode: String,
Page: 0,
PageSize: 0,
AgentNPN: String,
ContactId: 0,
SearchTerms:
[
{
Field: String,
Value: String
}
],
EffectiveDateStart: 0001-01-01,
EffectiveDateEnd: 0001-01-01,
AppSubmitDateStart: 0001-01-01,
AppSubmitDateEnd: 0001-01-01,
SourceTypeIds:
[
0
],
GrossAmount: 0,
GrossComparison: String,
RecordAgentId: 0,
ProductIds:
[
0
],
PartnerIds:
[
0
],
FileUploadId: 0,
RecordId: 0,
RecordEffectiveDateStart: 0001-01-01,
RecordEffectiveDateEnd: 0001-01-01,
RecordDateProcessedStart: 0001-01-01,
RecordDateProcessedEnd: 0001-01-01,
RecordDateCreatedStart: 0001-01-01,
RecordDateCreatedEnd: 0001-01-01,
ProcessOutcome: String,
ListingAmount: 0,
AmountComparison: String,
ListingAgentId: 0,
BatchIds:
[
0
],
PayTypeIds:
[
0
],
AgentLevels:
[
0
],
ListingId: 0,
ListingDateCreatedStart: 0001-01-01,
ListingDateCreatedEnd: 0001-01-01,
TagFilters:
[
{
Level: String,
TagName: String,
Mode: String
}
]
}
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
}
]
},
SearchType: String,
SourceLevel: String,
ResultMode: String,
Policies:
[
{
Id: 0,
PolicyMasterID: String,
PolicyNumber: String,
MedicareIdNumber: String,
PolicyStatus: String,
CMSPlanId: String,
SFConfirmationNumber: String,
Carrier: String,
PlanName: String,
ContactId: 0,
ContactName: String,
AppSubmitDate: 0001-01-01,
EffectiveDate: 0001-01-01,
WritingAgentId: 0,
WritingAgentName: String,
TotalGross: 0,
TotalAmount: 0,
FinalBalance: 0,
TotalGrossAll: 0,
TotalAmountAll: 0,
FinalBalanceAll: 0
}
],
Records:
[
{
Id: 0,
CommissionPolicyId: 0,
DateCreated: 0001-01-01,
DateProcessed: 0001-01-01,
PaymentDate: 0001-01-01,
EffectiveDate: 0001-01-01,
AgentId: 0,
AgentName: String,
PlanType: String,
ProductType: String,
PolicyProductId: 0,
Premium: 0,
GrossCommission: 0,
ProcessFailureReason: String,
FileName: String,
ExternalPartnerName: String,
TotalAmount: 0,
TotalAmountAll: 0,
IsMatch: False
}
],
Listings:
[
{
Id: 0,
CommissionRecordId: 0,
CommissionPolicyId: 0,
DateCreated: 0001-01-01,
PaymentDate: 0001-01-01,
AgentId: 0,
AgentName: String,
PayType: String,
Description: String,
CommissionBatchId: 0,
BatchTitle: String,
Amount: 0,
IsMatch: False
}
],
Page: 0,
PageSize: 0,
HasMore: False,
TotalCount: 0,
TotalPages: 0
}