v2.0
get
/ec-site-svc/rest/v2/studies/{studyId}/{mode}/regions/{regionId}/countries
Compared with v1, this version returns both countries and states associated with 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
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation.
Root Schema : RegionCountriesResponse2 v2.0
Type:
objectTitle:
RegionCountriesResponse2 v2.0Response containing countries and states associated with a region.
Show Source
-
regionCountriesStates: object
RegionCountryStatesDto v2.0
Title:
RegionCountryStatesDto v2.0Country and state metadata returned for a region.
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
Returned when one or more path parameters, query parameters, or request-body values fail endpoint validation.
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