Get country name

get

/ec-site-svc/rest/v5.0/studies/{studyId}/{mode}/country

Retrieves the country and state names, with hidden flag, based on the ISO3 code and language.

Request

Path Parameters
Query Parameters
  • The ISO3 code of the country.
  • Language for expected response codelist . This field is case sensitive and accepts values like en, ja etc. By default it's english (en)

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation.
Body ()
Root Schema : CountriesResponse4
Type: object
Show Source
Nested Schema : countriesStates
Type: array
Show Source
Nested Schema : CountryStatesDto2
Type: object
Show Source
Nested Schema : states
Type: array
Show Source
Nested Schema : StateDto2
Type: object
Show Source

400 Response

Bad request.
Body ()
Root Schema : SDFResponse
Type: object
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : result
Type: object
Nested Schema : details
Type: object
Back to Top