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

HTTP + XML

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: application/xml
Content-Type: application/xml
Content-Length: length

<AigSendUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AigApi.ServiceModel">
  <AigMasterPolicy xmlns="http://schemas.datacontract.org/2004/07/AigApi.ServiceModel.Types">String</AigMasterPolicy>
  <BusinessUnit xmlns="http://schemas.datacontract.org/2004/07/AigApi.ServiceModel.Types">String</BusinessUnit>
  <ContractId xmlns="http://schemas.datacontract.org/2004/07/AigApi.ServiceModel.Types">String</ContractId>
  <CorrelationId xmlns="http://schemas.datacontract.org/2004/07/AigApi.ServiceModel.Types">String</CorrelationId>
  <LeaseId xmlns="http://schemas.datacontract.org/2004/07/AigApi.ServiceModel.Types">String</LeaseId>
  <PolicyNumber xmlns="http://schemas.datacontract.org/2004/07/AigApi.ServiceModel.Types">String</PolicyNumber>
  <ProcessingDate xmlns="http://schemas.datacontract.org/2004/07/AigApi.ServiceModel.Types">0001-01-01T00:00:00</ProcessingDate>
  <ActionCode>String</ActionCode>
  <AddedRiders xmlns:d2p1="http://schemas.datacontract.org/2004/07/AigApi.ServiceModel.Types">
    <d2p1:AigRider>
      <d2p1:EndDate>0001-01-01T00:00:00</d2p1:EndDate>
      <d2p1:RiderPremium>0</d2p1:RiderPremium>
      <d2p1:RiderSelection>String</d2p1:RiderSelection>
      <d2p1:StartDate>0001-01-01T00:00:00</d2p1:StartDate>
    </d2p1:AigRider>
  </AddedRiders>
  <FulfillmentType>String</FulfillmentType>
  <Ip>String</Ip>
  <MonthlyPremium>0</MonthlyPremium>
  <PolicyModificationDate>0001-01-01T00:00:00</PolicyModificationDate>
  <PolicyTerminationDate>0001-01-01T00:00:00</PolicyTerminationDate>
  <PolicyTierChange>String</PolicyTierChange>
  <RemovedRiders xmlns:d2p1="http://schemas.datacontract.org/2004/07/AigApi.ServiceModel.Types">
    <d2p1:AigRider>
      <d2p1:EndDate>0001-01-01T00:00:00</d2p1:EndDate>
      <d2p1:RiderPremium>0</d2p1:RiderPremium>
      <d2p1:RiderSelection>String</d2p1:RiderSelection>
      <d2p1:StartDate>0001-01-01T00:00:00</d2p1:StartDate>
    </d2p1:AigRider>
  </RemovedRiders>
  <TotalMonthlyPremium>0</TotalMonthlyPremium>
</AigSendUpdateRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<AigSendUpdateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AigApi.ServiceModel">
  <AigMasterPolicy xmlns="http://schemas.datacontract.org/2004/07/AigApi.ServiceModel.Types">String</AigMasterPolicy>
  <BusinessUnit xmlns="http://schemas.datacontract.org/2004/07/AigApi.ServiceModel.Types">String</BusinessUnit>
  <ContractId xmlns="http://schemas.datacontract.org/2004/07/AigApi.ServiceModel.Types">String</ContractId>
  <CorrelationId xmlns="http://schemas.datacontract.org/2004/07/AigApi.ServiceModel.Types">String</CorrelationId>
  <LeaseId xmlns="http://schemas.datacontract.org/2004/07/AigApi.ServiceModel.Types">String</LeaseId>
  <PolicyNumber xmlns="http://schemas.datacontract.org/2004/07/AigApi.ServiceModel.Types">String</PolicyNumber>
  <ProcessingDate xmlns="http://schemas.datacontract.org/2004/07/AigApi.ServiceModel.Types">0001-01-01T00:00:00</ProcessingDate>
  <PrimaryPolicyHolderFirstName>String</PrimaryPolicyHolderFirstName>
  <PrimaryPolicyHolderId>String</PrimaryPolicyHolderId>
  <PrimaryPolicyHolderLastName>String</PrimaryPolicyHolderLastName>
  <PrimaryPolicyHolderMiddleInitial>String</PrimaryPolicyHolderMiddleInitial>
  <Result>String</Result>
  <ResultCode>0</ResultCode>
  <ResultDescription>String</ResultDescription>
</AigSendUpdateResponse>