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
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : result
Type: object
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Back to Top