POST api/Affiliate/UpdateDetails?brandId={brandId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
brandId | globally unique identifier |
None. |
Body Parameters
AffiliateDetailsUpdateRequestName | Description | Type | Additional information |
---|---|---|---|
AddressLine1 | string |
None. |
|
AddressLine2 | string |
None. |
|
AddressLine3 | string |
None. |
|
CharityId | globally unique identifier |
None. |
|
CountryId | globally unique identifier |
None. |
|
County | string |
None. |
|
EmailAddress | string |
None. |
|
FaxNumber | string |
None. |
|
FirstName | string |
None. |
|
HouseName | string |
None. |
|
HouseNumber | string |
None. |
|
Id | globally unique identifier |
None. |
|
LastName | string |
None. |
|
MarketingContactByEmail | boolean |
None. |
|
MarketingContactByPhone | boolean |
None. |
|
MarketingContactByPost | boolean |
None. |
|
MarketingContactBySMS | boolean |
None. |
|
MobileNumber | string |
None. |
|
Name | string |
None. |
|
PostCode | string |
None. |
|
TelephoneNumber | string |
None. |
|
TitleId | globally unique identifier |
None. |
|
Town | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "AddressLine1": "sample string 1", "AddressLine2": "sample string 2", "AddressLine3": "sample string 3", "CharityId": "ac950f9c-e696-403c-b6e9-6430be27cc9d", "CountryId": "ce681a6a-26d0-4368-8cc9-582ceaaf49d6", "County": "sample string 5", "EmailAddress": "sample string 6", "FaxNumber": "sample string 7", "FirstName": "sample string 8", "HouseName": "sample string 9", "HouseNumber": "sample string 10", "Id": "7a849906-6262-4267-b11b-59f2aaf8ea3b", "LastName": "sample string 11", "MarketingContactByEmail": true, "MarketingContactByPhone": true, "MarketingContactByPost": true, "MarketingContactBySMS": true, "MobileNumber": "sample string 16", "Name": "sample string 17", "PostCode": "sample string 18", "TelephoneNumber": "sample string 19", "TitleId": "248b3f7a-d806-46af-9e0e-f61e1724f657", "Town": "sample string 20" }
application/xml, text/xml
Sample:
<AffiliateDetailsUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models"> <AddressLine1>sample string 1</AddressLine1> <AddressLine2>sample string 2</AddressLine2> <AddressLine3>sample string 3</AddressLine3> <CharityId>ac950f9c-e696-403c-b6e9-6430be27cc9d</CharityId> <CountryId>ce681a6a-26d0-4368-8cc9-582ceaaf49d6</CountryId> <County>sample string 5</County> <EmailAddress>sample string 6</EmailAddress> <FaxNumber>sample string 7</FaxNumber> <FirstName>sample string 8</FirstName> <HouseName>sample string 9</HouseName> <HouseNumber>sample string 10</HouseNumber> <Id>7a849906-6262-4267-b11b-59f2aaf8ea3b</Id> <LastName>sample string 11</LastName> <MarketingContactByEmail>true</MarketingContactByEmail> <MarketingContactByPhone>true</MarketingContactByPhone> <MarketingContactByPost>true</MarketingContactByPost> <MarketingContactBySMS>true</MarketingContactBySMS> <MobileNumber>sample string 16</MobileNumber> <Name>sample string 17</Name> <PostCode>sample string 18</PostCode> <TelephoneNumber>sample string 19</TelephoneNumber> <TitleId>248b3f7a-d806-46af-9e0e-f61e1724f657</TitleId> <Town>sample string 20</Town> </AffiliateDetailsUpdateRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.