Get a list of countries and their IDs. Valid for Communifire version 6.0 and above.
Communifire REST API key for the Communifire portal you are making the call for.
GET https://myintranet.communifire.com/api/countries
Country JSON is returned as ResponseData. Note that some results are removed from this sample to make it shorter.
[ { "CountryID": 195, "CountryCode": "AF", "CountryName": "Afghanistan", "StateID": 0, "MetroID": 0, "ActiveStatus": 1, "TenantID": 1 }, { "CountryID": 20, "CountryCode": "AL", "CountryName": "Albania", "StateID": 0, "MetroID": 0, "ActiveStatus": 1, "TenantID": 1 }, { "CountryID": 61, "CountryCode": "DZ", "CountryName": "Algeria", "StateID": 0, "MetroID": 0, "ActiveStatus": 1, "TenantID": 1 }, { "CountryID": 24, "CountryCode": "AS", "CountryName": "American Samoa", "StateID": 0, "MetroID": 0, "ActiveStatus": 1, "TenantID": 1 }, { "CountryID": 16, "CountryCode": "AD", "CountryName": "Andorra", "StateID": 0, "MetroID": 0, "ActiveStatus": 1, "TenantID": 1 }, { "CountryID": 196, "CountryCode": "AO", "CountryName": "Angola", "StateID": 0, "MetroID": 0, "ActiveStatus": 1, "TenantID": 1 }, { "CountryID": 19, "CountryCode": "AI", "CountryName": "Anguilla", "StateID": 0, "MetroID": 0, "ActiveStatus": 1, "TenantID": 1 }, { "CountryID": 22, "CountryCode": "AQ", "CountryName": "Antarctica", "StateID": 0, "MetroID": 0, "ActiveStatus": 1, "TenantID": 1 }, { "CountryID": 18, "CountryCode": "AG", "CountryName": "Antigua and Barbuda", "StateID": 0, "MetroID": 0, "ActiveStatus": 1, "TenantID": 1 }, { "CountryID": 23, "CountryCode": "AR", "CountryName": "Argentina", "StateID": 0, "MetroID": 0, "ActiveStatus": 1, "TenantID": 1 } ]
Please Note The content type that you pass in the header of your request should be application/json.
is requesting access to a wiki that you have locked: https://my.axerosolutions.com/spaces/5/communifire-documentation/wiki/view/42774/rest-api-get-countries?locale=en-US%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1
Your session has expired. You are being logged out.