GET v1/Location/GetAllCountries
Gets all countries with at least one send to agent. Does not take into account restrictions or filtering.
Request Information
No Parameters
Response Information
Response body formats
application/json, text/json
Sample:
[ { "countryName": "sample string 1", "abbrev": "sample string 2", "countryId": 3 }, { "countryName": "sample string 1", "abbrev": "sample string 2", "countryId": 3 }, { "countryName": "sample string 1", "abbrev": "sample string 2", "countryId": 3 } ]
application/xml, text/xml
Sample:
<ArrayOfCountryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ria.Digital.WebServices.DataModels"> <CountryResponse> <_x003C_Abbrev_x003E_k__BackingField>sample string 2</_x003C_Abbrev_x003E_k__BackingField> <_x003C_CountryId_x003E_k__BackingField>3</_x003C_CountryId_x003E_k__BackingField> <_x003C_CountryName_x003E_k__BackingField>sample string 1</_x003C_CountryName_x003E_k__BackingField> </CountryResponse> <CountryResponse> <_x003C_Abbrev_x003E_k__BackingField>sample string 2</_x003C_Abbrev_x003E_k__BackingField> <_x003C_CountryId_x003E_k__BackingField>3</_x003C_CountryId_x003E_k__BackingField> <_x003C_CountryName_x003E_k__BackingField>sample string 1</_x003C_CountryName_x003E_k__BackingField> </CountryResponse> <CountryResponse> <_x003C_Abbrev_x003E_k__BackingField>sample string 2</_x003C_Abbrev_x003E_k__BackingField> <_x003C_CountryId_x003E_k__BackingField>3</_x003C_CountryId_x003E_k__BackingField> <_x003C_CountryName_x003E_k__BackingField>sample string 1</_x003C_CountryName_x003E_k__BackingField> </CountryResponse> </ArrayOfCountryResponse>