POST api/admin/Retailers
Request Information
URI Parameters
None.
Body Parameters
RetailertoAddChopardDtoName | Description | Type | Additional information |
---|---|---|---|
RetailerCode | string |
None. |
|
RetailerName | string |
None. |
|
RetailerAddress1 | string |
None. |
|
RetailerAddress2 | string |
None. |
|
RetailerZip | string |
None. |
|
RetailerCity | string |
None. |
|
RetailerIsoCountry | string |
None. |
|
RetailerLatitude | decimal number |
None. |
|
RetailerLongitude | decimal number |
None. |
|
EmailAddress | string |
None. |
|
ManagerLastName | string |
None. |
|
ManagerFirstName | string |
None. |
|
Markets | ImportMarketChopardDto |
None. |
Request Formats
application/json, text/json
Sample:
{ "RetailerCode": "sample string 1", "RetailerName": "sample string 2", "RetailerAddress1": "sample string 3", "RetailerAddress2": "sample string 4", "RetailerZip": "sample string 5", "RetailerCity": "sample string 6", "RetailerIsoCountry": "sample string 7", "RetailerLatitude": 8.1, "RetailerLongitude": 9.1, "EmailAddress": "sample string 10", "ManagerLastName": "sample string 11", "ManagerFirstName": "sample string 12", "Markets": { "SalesforceId": "sample string 1", "MarketName": "sample string 2", "ParentSubsidiarires": "sample string 3", "ParentMarketName": "sample string 4" } }
application/xml, text/xml
Sample:
<RetailertoAddChopardDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AitLuxe.Common.Models.DTOs"> <EmailAddress>sample string 10</EmailAddress> <ManagerFirstName>sample string 12</ManagerFirstName> <ManagerLastName>sample string 11</ManagerLastName> <Markets> <MarketName>sample string 2</MarketName> <ParentMarketName>sample string 4</ParentMarketName> <ParentSubsidiarires>sample string 3</ParentSubsidiarires> <SalesforceId>sample string 1</SalesforceId> </Markets> <RetailerAddress1>sample string 3</RetailerAddress1> <RetailerAddress2>sample string 4</RetailerAddress2> <RetailerCity>sample string 6</RetailerCity> <RetailerCode>sample string 1</RetailerCode> <RetailerIsoCountry>sample string 7</RetailerIsoCountry> <RetailerLatitude>8.1</RetailerLatitude> <RetailerLongitude>9.1</RetailerLongitude> <RetailerName>sample string 2</RetailerName> <RetailerZip>sample string 5</RetailerZip> </RetailertoAddChopardDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.