POST api/Customer/StoreLloydsMarketingConsents
Request Information
URI Parameters
None.
Body Parameters
LloydsConsentRequestName | Description | Type | Additional information |
---|---|---|---|
CustomerId | globally unique identifier |
None. |
|
LloydsOptOutAppNotifications | boolean |
None. |
|
LloydsOptOutEmail | boolean |
None. |
|
LloydsOptOutPhone | boolean |
None. |
|
LloydsOptOutPost | boolean |
None. |
|
LloydsOptOutSms | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerId": "740023bc-a0af-4a05-93a1-f1c19a67c502", "LloydsOptOutAppNotifications": true, "LloydsOptOutEmail": true, "LloydsOptOutPhone": true, "LloydsOptOutPost": true, "LloydsOptOutSms": true }
application/xml, text/xml
Sample:
<LloydsConsentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models"> <CustomerId>740023bc-a0af-4a05-93a1-f1c19a67c502</CustomerId> <LloydsOptOutAppNotifications>true</LloydsOptOutAppNotifications> <LloydsOptOutEmail>true</LloydsOptOutEmail> <LloydsOptOutPhone>true</LloydsOptOutPhone> <LloydsOptOutPost>true</LloydsOptOutPost> <LloydsOptOutSms>true</LloydsOptOutSms> </LloydsConsentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.