GET Product/GetTerritoryAccount
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of TerritoryAccountName | Description | Type | Additional information |
---|---|---|---|
TerritoryName | string |
None. |
|
Description | string |
None. |
|
Type | string |
None. |
|
AccountList | Collection of Account |
None. |
Response Formats
application/json, text/json
Sample:
[ { "TerritoryName": "sample string 1", "Description": "sample string 2", "Type": "sample string 3", "AccountList": [ { "customer": "sample string 1", "name": "sample string 2", "adr": "sample string 3" }, { "customer": "sample string 1", "name": "sample string 2", "adr": "sample string 3" } ] }, { "TerritoryName": "sample string 1", "Description": "sample string 2", "Type": "sample string 3", "AccountList": [ { "customer": "sample string 1", "name": "sample string 2", "adr": "sample string 3" }, { "customer": "sample string 1", "name": "sample string 2", "adr": "sample string 3" } ] } ]
text/xml
Sample:
<ArrayOfTerritoryAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DistOneWebAPI.ViewModels"> <TerritoryAccount> <AccountList> <Account> <adr>sample string 3</adr> <customer>sample string 1</customer> <name>sample string 2</name> </Account> <Account> <adr>sample string 3</adr> <customer>sample string 1</customer> <name>sample string 2</name> </Account> </AccountList> <Description>sample string 2</Description> <TerritoryName>sample string 1</TerritoryName> <Type>sample string 3</Type> </TerritoryAccount> <TerritoryAccount> <AccountList> <Account> <adr>sample string 3</adr> <customer>sample string 1</customer> <name>sample string 2</name> </Account> <Account> <adr>sample string 3</adr> <customer>sample string 1</customer> <name>sample string 2</name> </Account> </AccountList> <Description>sample string 2</Description> <TerritoryName>sample string 1</TerritoryName> <Type>sample string 3</Type> </TerritoryAccount> </ArrayOfTerritoryAccount>