Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Operation

This operation allow you to get a list of all the countries available in the system.

Rw ui textbox macro
typewarning

Only accessible with permission of pms.integration.common


Style
table {
width: 100%;
}
body.page-gadget {
padding-top: 20px;
}
.separator{
margin: 5px 0;
}



Div
style background-color: green; color: white; display: inline-block; padding: 5px; border-radius: 3px;

GET



Div
stylebackground-color: #0a2b1d; padding: 10px 1em; display: inline-block; color: white; border-radius: 3px;

https://{environment}.ulysescloud.com/public/api/{version}/country



Request

Info
This request has no parameters.


Example request

Code Block
languagepowershell
themeDJango
GET https://prodpublicapi-providers.ulysescloud.com:9797/public/api/v1/country



Response

Array of Country elements.

Entity

Insert excerpt
Country
Country
nopaneltrue

Example response

Code Block
themeDJango
[
  {
    "id": 1,
    "code": "AFG",
    "name": "AFGHANISTAN"
  },
  {
    "id": 2,
    "code": "ALB",
    "name": "ALBANIA"
  },
  {
    "id": 3,
    "code": "DZA",
    "name": "ALGERIA"
  },
  {
    "id": 4,
    "code": "ASM",
    "name": "AMERICAN SAMOA"
  },
  {
    "id": 5,
    "code": "AND",
    "name": "ANDORRA"
  }
]