GET api/pub/Agents/{countryCode}
Retrieves an array of WIN agents
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
countryCode | The ISO 3166-1 alpha-2 country codes. |
Define this parameter in the request URI. |
Response Information
An array of WIN agents
Response body formats
application/json, text/json
Sample:
[ { "Name": "sample string 1", "RegistrationType": { "Code": "sample string 1", "Name": "sample string 2" }, "City": { "Code": "sample string 1", "Name": "sample string 2" }, "Country": { "Code": "sample string 1", "Name": "sample string 2" } }, { "Name": "sample string 1", "RegistrationType": { "Code": "sample string 1", "Name": "sample string 2" }, "City": { "Code": "sample string 1", "Name": "sample string 2" }, "Country": { "Code": "sample string 1", "Name": "sample string 2" } }, { "Name": "sample string 1", "RegistrationType": { "Code": "sample string 1", "Name": "sample string 2" }, "City": { "Code": "sample string 1", "Name": "sample string 2" }, "Country": { "Code": "sample string 1", "Name": "sample string 2" } } ]
application/xml, text/xml
Sample:
<ArrayOfAgentDTO> <AgentDTO> <Name>sample string 1</Name> <RegistrationType> <Code>sample string 1</Code> <Name>sample string 2</Name> </RegistrationType> <City> <Code>sample string 1</Code> <Name>sample string 2</Name> </City> <Country> <Code>sample string 1</Code> <Name>sample string 2</Name> </Country> </AgentDTO> <AgentDTO> <Name>sample string 1</Name> <RegistrationType> <Code>sample string 1</Code> <Name>sample string 2</Name> </RegistrationType> <City> <Code>sample string 1</Code> <Name>sample string 2</Name> </City> <Country> <Code>sample string 1</Code> <Name>sample string 2</Name> </Country> </AgentDTO> <AgentDTO> <Name>sample string 1</Name> <RegistrationType> <Code>sample string 1</Code> <Name>sample string 2</Name> </RegistrationType> <City> <Code>sample string 1</Code> <Name>sample string 2</Name> </City> <Country> <Code>sample string 1</Code> <Name>sample string 2</Name> </Country> </AgentDTO> </ArrayOfAgentDTO>