AigApi

<back to all web services

AigSendUpdateRequest

The following routes are available for this service:
POST/sendupdate
AigSendUpdateRequest Parameters:
NameParameterData TypeRequiredDescription
PolicyTerminationDatebodyDateTime?No
PolicyModificationDatebodyDateTime?No
ActionCodebodystringNo
PolicyTierChangebodystringNo
MonthlyPremiumbodydecimalNo
RemovedRidersbodyList<AigRider>No
AddedRidersbodyList<AigRider>No
TotalMonthlyPremiumbodydecimalNo
FulfillmentTypebodystringNo
IpbodystringNo
PolicyInformation Parameters:
NameParameterData TypeRequiredDescription
CorrelationIdformstringNo
BusinessUnitformstringNo
AigMasterPolicyformstringNo
LeaseIdformstringNo
ContractIdformstringNo
PolicyNumberformstringNo
ProcessingDateformDateTimeNo
AigRider Parameters:
NameParameterData TypeRequiredDescription
RiderSelectionformstringNo
RiderPremiumformdecimalNo
StartDateformDateTime?No
EndDateformDateTime?No
AigSendUpdateResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformstringNo
ResultCodeformintNo
ResultDescriptionformstringNo
PrimaryPolicyHolderLastNameformstringNo
PrimaryPolicyHolderFirstNameformstringNo
PrimaryPolicyHolderMiddleInitialformstringNo
PrimaryPolicyHolderIdformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /sendupdate HTTP/1.1 
Host: aig.avalonbay.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"PolicyTerminationDate":"\/Date(-62135596800000-0000)\/","PolicyModificationDate":"\/Date(-62135596800000-0000)\/","ActionCode":"String","PolicyTierChange":"String","MonthlyPremium":0,"RemovedRiders":[{"RiderSelection":"String","RiderPremium":0,"StartDate":"\/Date(-62135596800000-0000)\/","EndDate":"\/Date(-62135596800000-0000)\/"}],"AddedRiders":[{"RiderSelection":"String","RiderPremium":0,"StartDate":"\/Date(-62135596800000-0000)\/","EndDate":"\/Date(-62135596800000-0000)\/"}],"TotalMonthlyPremium":0,"FulfillmentType":"String","Ip":"String","CorrelationId":"String","BusinessUnit":"String","AigMasterPolicy":"String","LeaseId":"String","ContractId":"String","PolicyNumber":"String","ProcessingDate":"\/Date(-62135596800000-0000)\/"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Result":"String","ResultCode":0,"ResultDescription":"String","PrimaryPolicyHolderLastName":"String","PrimaryPolicyHolderFirstName":"String","PrimaryPolicyHolderMiddleInitial":"String","PrimaryPolicyHolderId":"String","CorrelationId":"String","BusinessUnit":"String","AigMasterPolicy":"String","LeaseId":"String","ContractId":"String","PolicyNumber":"String","ProcessingDate":"\/Date(-62135596800000-0000)\/"}