Update region and its associated countries and states list

put

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

Updates a region and its countries and states associations. Rights required: RegionPost. Returns updated region details with countries and states association.

Request

Path Parameters
Supported Media Types
Request Body - */* ()
Root Schema : schema
Type: object
Show Source
Nested Schema : regionCountriesStates
Type: array
Minimum Number of Items: 1
Maximum Number of Items: 2147483647
Show Source
Nested Schema : RegionCountryStatesDto
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