List of Countries
Ivanti EPMM retains a default list of countries in the database. A country selection populates the country code field. This API provides a complete list of all defined countries, regardless of whether they are used. This list of countries is used during device registration.
Example:
https://<Ivanti EPMM>/api/v1/dm/countries
URI: https:///api/v1/dm/countries | All countries defined in the database are returned. |
|---|---|
Http Method: | GET |
Format: | xml, json |
| |
Response Status Code: | |
‘404 – No Data Found’ | There is no data. |
‘200 – OK’ | Data is present and the response is returned. |
Response: | |
< deviceManagementWebServiceResponse > | |
<messages> | |
<message>2 Countries returned</message> | Status Message. Country count is shown if the method execution is successful. A descriptive error message is shown if the method execution failed. |
</messages> | |
<countries> | |
| |
<country> | |
<countryName>United States</countryName> | Country name. |
<countryCode>1</countryCode> | Numeric country code. |
<isoAlpha2Code>US</isoAlpha2Code> | ISO Alpha 2 country code. |
<enabledForRegistration>102</enabledForRegistration> | Whether the Ivanti EPMM administrator enabled the country for registration. 102 means disabled. 116 means enabled. Note: 116 is the ASCII value for ‘t’, which stands for true, and 102 is the ASCII value for ‘f’, which stands for false. |
</country> | |
| |
<country> | |
<countryName>India</countryName> | |
<countryCode>91</countryCode> | |
<isoAplha2Code>IN</isoAplha2Code> | |
<enabledForRegistration>116</enabledForRegistration> | |
</country> | |
</countries> | |
< /deviceManagementWebServiceResponse> | |
| |
