Update a region and associated countries

put

/ec-site-svc/rest/v1/studies/{studyId}/{mode}/regions/{regionId}

Updates a region and its associated list of countries. The API returns updated region details. Right: RegionPost.

Request

Path Parameters
Supported Media Types
Request Body - */* ()
Root Schema : schema
Type: object
Show Source
Nested Schema : regionCountries
Type: array
Minimum Number of Items: 1
Maximum Number of Items: 2147483647
Show Source
Nested Schema : RegionCountryDto
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : regionCountries
Type: array
Minimum Number of Items: 1
Maximum Number of Items: 2147483647
Show Source
Nested Schema : RegionCountryDto
Type: object
Show Source

400 Response

In case of invalid region ID, invalid country ID, and a country to be associated is already associated with another region
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