v2.0
put
/ec-site-svc/rest/v2/studies/{studyId}/{mode}/regions/{regionId}
Compared with v1, this version updates both country and state associations for the region.
Request
Path Parameters
-
mode(required): string
Study mode. Allowed values: active (live study operations), test (testing data), training (training or sandbox data).Example:
test -
regionId(required): string
Unique ID for a given region.Example:
C36A3197FDEE433FB5547EE83DE99E4B -
studyId(required): string(uuid)
Study identifier as a 32-character uppercase hexadecimal UUID string.Example:
C36A3197FDEE433FB5547EE83DE99E4B
Supported Media Types
- application/json
Root Schema : RegionStatesDto v2.0
Type:
objectTitle:
RegionStatesDto v2.0Region metadata that lists country and state associations.
Show Source
-
comment: string
Title:
CommentMinimum Length:0Maximum Length:2048Additional comment captured for the audited update.Example:Association adjusted after data reconciliation. -
id: string
(uuid)
Title:
Region IDUnique identifier (UUID, 32-character uppercase hexadecimal string) of the region. -
name(required): string
Title:
Region NameMinimum Length:1Maximum Length:100Official name of the region.Example:North America Region -
reason: string
Title:
ReasonMinimum Length:0Maximum Length:255Reason provided for the audited update.Example:Protocol update requested by study operations. -
regionCountriesStates(required): object
RegionCountryStatesDto v2.0
Title:
RegionCountryStatesDto v2.0Country and state metadata returned for a region. -
versionStart: string
(date-time)
Title:
Version StartTimestamp when this region version was created.Example:2026-03-17T10:00:00Z
Nested Schema : RegionCountryStatesDto v2.0
Type:
objectTitle:
RegionCountryStatesDto v2.0Country and state metadata returned for a region.
Show Source
-
comment: string
Title:
CommentMinimum Length:0Maximum Length:2048Additional comment captured for the audited update.Example:Association adjusted after data reconciliation. -
countryId(required): string
(uuid)
Title:
Country IDIdentifier of the country linked to the region. -
countryName: string
Title:
Country NameDisplay name of the country associated with the region.Example:United States -
id: string
(uuid)
Title:
Region Country IDUnique identifier (UUID, 32-character uppercase hexadecimal string) of the region-country association. -
reason: string
Title:
ReasonMinimum Length:0Maximum Length:255Reason provided for the audited update.Example:Protocol update requested by study operations. -
stateId(required): string
(uuid)
Title:
State IDIdentifier of the state associated with the country. -
stateName: string
Title:
State NameName of the state associated with the region.Example:California -
versionStart: string
(date-time)
Title:
Version StartTimestamp when this region-country association version was created.Example:2026-03-17T10:00:00Z
Example:
[
{
"countryId":"A0E1B2C3D4E5F67890123456789ABCDE",
"stateId":"B0C1D2E3F4A567890123456789ABCDEF",
"stateName":"California"
}
]Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
Successful operation.
Root Schema : RegionStatesDto v2.0
Type:
objectTitle:
RegionStatesDto v2.0Region metadata that lists country and state associations.
Show Source
-
comment: string
Title:
CommentMinimum Length:0Maximum Length:2048Additional comment captured for the audited update.Example:Association adjusted after data reconciliation. -
id: string
(uuid)
Title:
Region IDUnique identifier (UUID, 32-character uppercase hexadecimal string) of the region. -
name(required): string
Title:
Region NameMinimum Length:1Maximum Length:100Official name of the region.Example:North America Region -
reason: string
Title:
ReasonMinimum Length:0Maximum Length:255Reason provided for the audited update.Example:Protocol update requested by study operations. -
regionCountriesStates(required): object
RegionCountryStatesDto v2.0
Title:
RegionCountryStatesDto v2.0Country and state metadata returned for a region. -
versionStart: string
(date-time)
Title:
Version StartTimestamp when this region version was created.Example:2026-03-17T10:00:00Z
Nested Schema : RegionCountryStatesDto v2.0
Type:
objectTitle:
RegionCountryStatesDto v2.0Country and state metadata returned for a region.
Show Source
-
comment: string
Title:
CommentMinimum Length:0Maximum Length:2048Additional comment captured for the audited update.Example:Association adjusted after data reconciliation. -
countryId(required): string
(uuid)
Title:
Country IDIdentifier of the country linked to the region. -
countryName: string
Title:
Country NameDisplay name of the country associated with the region.Example:United States -
id: string
(uuid)
Title:
Region Country IDUnique identifier (UUID, 32-character uppercase hexadecimal string) of the region-country association. -
reason: string
Title:
ReasonMinimum Length:0Maximum Length:255Reason provided for the audited update.Example:Protocol update requested by study operations. -
stateId(required): string
(uuid)
Title:
State IDIdentifier of the state associated with the country. -
stateName: string
Title:
State NameName of the state associated with the region.Example:California -
versionStart: string
(date-time)
Title:
Version StartTimestamp when this region-country association version was created.Example:2026-03-17T10:00:00Z
Example:
[
{
"countryId":"A0E1B2C3D4E5F67890123456789ABCDE",
"stateId":"B0C1D2E3F4A567890123456789ABCDEF",
"stateName":"California"
}
]Examples
400 Response
Invalid region, country, or state ID or the association already exists in another region.
Root Schema : SDFResponse
Type:
objectTitle:
SDFResponseWrapper for service responses containing result or error data.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
The result object for successful requests. Type depends on the API operation.
-
status: string
Status of the response, either 'success' or an error indication.Example:
success
Nested Schema : result
Type:
objectThe result object for successful requests. Type depends on the API operation.
Example:
{
"hasMore":"true",
"totalResults":5,
"count":5,
"data":[
]
}Nested Schema : details
Type:
objectExamples
403 Response
Returned when the caller is authenticated but does not have permission to access this endpoint.
Root Schema : SDFResponse
Type:
objectTitle:
SDFResponseWrapper for service responses containing result or error data.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
The result object for successful requests. Type depends on the API operation.
-
status: string
Status of the response, either 'success' or an error indication.Example:
success
Nested Schema : result
Type:
objectThe result object for successful requests. Type depends on the API operation.
Example:
{
"hasMore":"true",
"totalResults":5,
"count":5,
"data":[
]
}Nested Schema : details
Type:
objectExamples