[Deprecated]: Update a region and associated countries
put
/ec-site-svc/rest/v1/studies/{studyId}/{mode}/regions/{regionId}
Deprecated: Updates a region and its associated list of countries. The API returns updated region details.
Right: RegionPost.
Right: RegionPost.
Request
Path Parameters
-
mode(required): string
Mode of the study. Accepts active, test, or training.
-
regionId(required): string
Id for the required region
-
studyId(required): string(uuid)
The ID of the study.
Supported Media Types
- */*
Root Schema : schema
Type:
Show Source
object-
comment: string
Minimum Length:
0Maximum Length:2048 -
id: string
(uuid)
-
name(required): string
Minimum Length:
1Maximum Length:100 -
reason: string
Minimum Length:
0Maximum Length:255 -
regionCountries(required): array
regionCountries
Minimum Number of Items:
1Maximum Number of Items:2147483647 -
versionStart: string
(date-time)
Nested Schema : regionCountries
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
Show Source
2147483647Nested Schema : RegionCountryDto
Type:
Show Source
object-
comment: string
Minimum Length:
0Maximum Length:2048 -
countryId(required): string
(uuid)
-
countryName: string
-
id: string
(uuid)
-
reason: string
Minimum Length:
0Maximum Length:255 -
versionStart: string
(date-time)
Response
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : schema
Type:
Show Source
object-
comment: string
Minimum Length:
0Maximum Length:2048 -
id: string
(uuid)
-
name(required): string
Minimum Length:
1Maximum Length:100 -
reason: string
Minimum Length:
0Maximum Length:255 -
regionCountries(required): array
regionCountries
Minimum Number of Items:
1Maximum Number of Items:2147483647 -
versionStart: string
(date-time)
Nested Schema : regionCountries
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
Show Source
2147483647Nested Schema : RegionCountryDto
Type:
Show Source
object-
comment: string
Minimum Length:
0Maximum Length:2048 -
countryId(required): string
(uuid)
-
countryName: string
-
id: string
(uuid)
-
reason: string
Minimum Length:
0Maximum Length:255 -
versionStart: string
(date-time)
400 Response
In case of invalid region ID, invalid country ID, and a country to be associated is already associated with another region
Nested Schema : result
Type:
objectNested Schema : details
Type:
object