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": "a555b87d-99bd-4deb-a3e0-3e897c9961e1",
"CountryId": "088a096e-af63-4ea0-ab14-e4136e52d00a",
"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": "d928f698-60db-4df6-b8a1-29080751e448",
"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": "b551fa2f-7672-4e9e-b6f8-6d8d2e2e9d6c",
"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>a555b87d-99bd-4deb-a3e0-3e897c9961e1</CharityId> <CountryId>088a096e-af63-4ea0-ab14-e4136e52d00a</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>d928f698-60db-4df6-b8a1-29080751e448</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>b551fa2f-7672-4e9e-b6f8-6d8d2e2e9d6c</TitleId> <Town>sample string 20</Town> </AffiliateDetailsUpdateRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.