v1.0
get
/ec-site-svc/rest/v1.0/studies/{studyId}/{mode}/sdfs/{sdfType}/countries
Retrieves all countries where sites or depots are created by SDF type.
Request
Path Parameters
-
mode(required): string
Study mode. Allowed values: active (live study operations), test (testing data), training (training or sandbox data).Example:
test -
sdfType(required): string
SDF type filter. Allowed values: site/SITE (site records), depot/DEPOT (depot records), lab/LAB (lab records), all/ALL (all supported SDF types).Example:
site -
studyId(required): string
Study identifier as a 32-character uppercase hexadecimal UUID string.Example:
C36A3197FDEE433FB5547EE83DE99E4B
Query Parameters
-
mainPrimary(required): boolean
Boolean flag. true returns only main-primary country addresses; false returns all matching addresses.Default Value:
falseAllowed Values:[ true, false ]Example:false
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation.
Root Schema : schema
Type:
Show Source
array-
Array of:
object Country
Title:
CountryCountry entity metadata.
Nested Schema : Country
Type:
objectTitle:
CountryCountry entity metadata.
Show Source
-
comment: string
Minimum Length:
0Maximum Length:2048Additional user comment about the latest change.Example:Association adjusted after data reconciliation. -
id(required): string
(uuid)
Title:
Country IdPattern:^[A-F0-9]{32}$Unique country identifier. -
isoCode(required): string
Title:
ISO CodeMinimum Length:1Maximum Length:10ISO alpha-2 country code.Example:US -
isoCode3(required): string
Title:
ISO Code3Minimum Length:1Maximum Length:10ISO alpha-3 country code.Example:USA -
name(required): string
Title:
Country NameMinimum Length:1Maximum Length:100Country display name.Example:United States -
reason: string
Minimum Length:
0Maximum Length:255Reason for the latest change made to this record.Example:Protocol update requested by study operations. -
versionStart(required): string
(date-time)
Title:
Version StartVersion start timestamp.Example:2025-03-16T12:00:00Z
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