POST api/Affiliate/UpdateDetails?brandId={brandId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| brandId | globally unique identifier |
None. |
Body Parameters
AffiliateDetailsUpdateRequest| Name | 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": "f511218c-6dc4-4ed5-a144-94c2e851062d",
"CountryId": "c60dcc48-610a-4302-8a0c-4bcb0d5f9e5d",
"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": "d3aadd40-402f-4124-a201-cdb352256700",
"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": "8bb808a2-1ada-41a6-8a61-85005d350fdc",
"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>f511218c-6dc4-4ed5-a144-94c2e851062d</CharityId> <CountryId>c60dcc48-610a-4302-8a0c-4bcb0d5f9e5d</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>d3aadd40-402f-4124-a201-cdb352256700</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>8bb808a2-1ada-41a6-8a61-85005d350fdc</TitleId> <Town>sample string 20</Town> </AffiliateDetailsUpdateRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.