Rsl.Lotteries

<back to all web services

GetCustomersIdentityStatus

Find customers with mathing IdentityStatus.

The following routes are available for this service:
GET/customers/IdentityStatus
GetCustomersIdentityStatus Parameters:
NameParameterData TypeRequiredDescription
TypesqueryIdentityStatus[]YesThe list of customers with IdentityStatus specified.
IdentityStatus Enum:
NameValue
NewCustomer0
NoOnlineAccount1
ValidOnlineAccount2
PrimaryEmailChange3
EmailAlreadyInIM4
PrimaryEmailRemoved5
Unknown-1

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

GET /customers/IdentityStatus HTTP/1.1 
Host: azs-stg-lotteries-web.azurewebsites.net 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

[{"customerId":"String","accountType":"String","customerStatus":"Active","identityStatus":"NewCustomer","knownAs":"String","title":"Mr","firstName":"String","lastName":"String","dateOfBirth":"0001-01-01T00:00:00.0000000","email":"String","homePhone":"String","mobilePhone":"String","address":{"street":"String","city":"String","zipCode":"String","state":"String","countryRegionId":"String","dpid":0,"suburb":"String"},"notForPublication":false,"accountInstructions":"String","sendTicketsViaPost":false,"sendTicketsViaEmail":false,"optOutSMS":false,"optOutPhone":false,"loyalSupporter":false,"isVip":false,"lastOrderAmount":0,"over18":false,"contacts":[{"contactId":"String","title":"Mr","firstName":"String","lastName":"String"}],"defaultFundingSourceId":"String","creditCards":[{"creditCardId":"String","cardToken":"String","token":"String","cardholderName":"String","cardType":"Unknown","uniqueNumberIdentifier":"String","expirationMonth":"String","expirationYear":"String","bin":"String","lastFour":"String","isDefault":false,"disabled":false,"lastModified":"0001-01-01T00:00:00.0000000"}],"payPalAccounts":[{"payPalAccountId":"String","token":"String","email":"String","billingAgreementId":"String","createdAt":"0001-01-01T00:00:00.0000000","isDefault":false,"disabled":false,"isNewCustomerPayPalFee":false}],"googlePayAccounts":[{"uniqueCardId":"String","sourceCardType":"String","customerId":"String","expirationMonth":"String","expirationYear":"String","bin":"String","googleTransactionId":"String","sourceCardLast4":"String","cardholderName":"String","createdAt":"0001-01-01T00:00:00.0000000","token":"String","disabled":false,"isDefault":false}],"applePayAccounts":[{"uniqueCardId":"String","cardType":"String","customerId":"String","expirationMonth":"String","expirationYear":"String","bin":"String","lastFour":"String","cardholderName":"String","createdAt":"0001-01-01T00:00:00.0000000","token":"String","isDefault":false,"disabled":false}],"bankAccounts":[{"bankAccountId":"String","accountName":"String","accountNumber":"String","bsb":"String","createdDate":"0001-01-01T00:00:00.0000000"}],"subscriptions":[{"subscriptionId":"String","customerId":"String","startFromArtUnionId":"String","paymentMethod":"Cash","fundingSourceId":"String","plan":"String","gameType":"String","startDate":"0001-01-01T00:00:00.0000000","endDate":"0001-01-01T00:00:00.0000000","status":"Pending","subscribedDate":"0001-01-01T00:00:00.0000000","creditCard":{"creditCardId":"String","cardToken":"String","token":"String","cardholderName":"String","cardType":"Unknown","uniqueNumberIdentifier":"String","expirationMonth":"String","expirationYear":"String","bin":"String","lastFour":"String","isDefault":false,"disabled":false,"lastModified":"0001-01-01T00:00:00.0000000"},"googlePayAccount":{"uniqueCardId":"String","sourceCardType":"String","customerId":"String","expirationMonth":"String","expirationYear":"String","bin":"String","googleTransactionId":"String","sourceCardLast4":"String","cardholderName":"String","createdAt":"0001-01-01T00:00:00.0000000","token":"String","disabled":false,"isDefault":false},"applePayAccount":{"uniqueCardId":"String","cardType":"String","customerId":"String","expirationMonth":"String","expirationYear":"String","bin":"String","lastFour":"String","cardholderName":"String","createdAt":"0001-01-01T00:00:00.0000000","token":"String","isDefault":false,"disabled":false},"payPal":{"payPalAccountId":"String","token":"String","email":"String","billingAgreementId":"String","createdAt":"0001-01-01T00:00:00.0000000","isDefault":false,"disabled":false,"isNewCustomerPayPalFee":false},"reasonCode":"String"}],"createdDate":"0001-01-01T00:00:00.0000000"}]