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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
Content-Type: text/jsv
Content-Length: length

{
	PolicyTerminationDate: 0001-01-01,
	PolicyModificationDate: 0001-01-01,
	ActionCode: String,
	PolicyTierChange: String,
	MonthlyPremium: 0,
	RemovedRiders: 
	[
		{
			RiderSelection: String,
			RiderPremium: 0,
			StartDate: 0001-01-01,
			EndDate: 0001-01-01
		}
	],
	AddedRiders: 
	[
		{
			RiderSelection: String,
			RiderPremium: 0,
			StartDate: 0001-01-01,
			EndDate: 0001-01-01
		}
	],
	TotalMonthlyPremium: 0,
	FulfillmentType: String,
	Ip: String,
	CorrelationId: String,
	BusinessUnit: String,
	AigMasterPolicy: String,
	LeaseId: String,
	ContractId: String,
	PolicyNumber: String,
	ProcessingDate: 0001-01-01
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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: 0001-01-01
}