Rsl.Lotteries

<back to all web services

UpdateGiftContact

Updates the gift contact details

The following routes are available for this service:
PATCH/customers/giftcontacts/{GiftContactId}
UpdateGiftContact Parameters:
NameParameterData TypeRequiredDescription
GiftContactIdpathstringYesThe gift contact identifier
TitlequeryPersonTitle?NoPerson title

Allowable Values

  • Mr
  • Mrs
  • Miss
  • Ms
  • Dr
FirstNamequerystringNoFirst name
LastNamequerystringNoLast name
EmailquerystringNoEmail address
HomePhonequerystringNoHome Phone
MobilePhonequerystringNoMobile Phone
AddressqueryAddressNoContact address
RequestReferencequeryRequestReferenceNoAttribution values associated to the request if any
PersonTitle Enum:
Mr
Mrs
Miss
Ms
Dr
Address Parameters:
NameParameterData TypeRequiredDescription
StreetformstringNo
CityformstringNo
ZipCodeformstringNo
StateformstringNo
CountryRegionIdformstringNo
DPIDformintNo
SuburbformstringNo
RequestReference Parameters:
NameParameterData TypeRequiredDescription
CampaignIdformstringNo
RetailChannelIdformstringYes
ReferenceIdformstringNo

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.

PATCH /customers/giftcontacts/{GiftContactId} HTTP/1.1 
Host: azs-stg-lotteries-web.azurewebsites.net 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"giftContactId":"String","title":"Mr","firstName":"String","lastName":"String","email":"String","homePhone":"String","mobilePhone":"String","address":{"street":"String","city":"String","zipCode":"String","state":"String","countryRegionId":"String","dpid":0,"suburb":"String"},"requestReference":{"campaignId":"String","retailChannelId":"String","referenceId":"String"}}