v4.0
get
/ec-site-svc/rest/v4/studies/{studyId}/{mode}/sdfcountry
Compared with v3, this version adds pagination (limit and offset) and optional history retrieval.
Request
Path Parameters
-
mode(required): string
Study mode. Allowed values: active (live study operations), test (testing data), training (training or sandbox data).Example:
test -
studyId(required): string(uuid)
Study identifier as a 32-character uppercase hexadecimal UUID string.Example:
C36A3197FDEE433FB5547EE83DE99E4B
Query Parameters
-
history: boolean
Comma-separated list of ISO alpha-3 country codes.
-
limit: string
Maximum number of rows to return. Only non-negative integers are accepted.
-
offset: string
Zero-based row index to start pagination. Only non-negative integers are accepted.
-
sdfId: string
SDF identifier as a 32-character uppercase hexadecimal UUID string.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation.
Root Schema : SDFCountriesResponse v2.0
Type:
objectTitle:
SDFCountriesResponse v2.0Response containing ISO3-based country/SDF associations.
Show Source
-
countries: object
CountryDto2 v2.0
Title:
CountryDto2 v2.0Country metadata for ISO3-enabled APIs. -
sdfCountriesList: object
SDFCountryDto v1.0
Title:
SDFCountryDto v1.0SDF-country association details returned by the APIs.
Nested Schema : CountryDto2 v2.0
Type:
objectTitle:
CountryDto2 v2.0Country metadata for ISO3-enabled APIs.
Show Source
-
comment: string
Title:
CommentMinimum Length:0Maximum Length:2048Additional comment captured for the audited update.Example:Association adjusted after data reconciliation. -
id(required): string
(uuid)
Title:
Country IDUnique country identifier (UUID, 32-character uppercase hexadecimal string). -
isoCode(required): string
Title:
ISO CodeMinimum Length:1Maximum Length:10Alpha-2 ISO code identifying the country.Example:US -
isoCode3(required): string
Title:
ISO Code 3Minimum Length:1Maximum Length:10Alpha-3 ISO code identifying the country.Example:USA -
name(required): string
Title:
Country NameMinimum Length:1Maximum Length:100Official country name.Example:United States -
reason: string
Title:
ReasonMinimum Length:0Maximum Length:255Reason provided for the audited update.Example:Protocol update requested by study operations. -
versionStart: string
(date-time)
Title:
Version StartTimestamp when this country version was created.Example:2025-03-16T12:00:00Z
Example:
[
{
"id":"A0E1B2C3D4E5F67890123456789ABCDE",
"versionStart":"2025-03-16T12:00:00.000Z",
"isoCode":"US",
"name":"United States",
"isoCode3":"USA"
}
]Nested Schema : SDFCountryDto v1.0
Type:
objectTitle:
SDFCountryDto v1.0SDF-country association details returned by the APIs.
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 IDUnique identifier of the country linked to the SDF (UUID, 32-character uppercase hexadecimal string). -
id: string
(uuid)
Title:
SDF Country IDUnique identifier for the SDF-country association (UUID, 32-character uppercase hexadecimal string). -
primarySupply(required): string
Title:
Primary SupplyMinimum Length:0Maximum Length:10Primary supply type for the SDF-country association.Example:PRIMARY -
reason: string
Title:
ReasonMinimum Length:0Maximum Length:255Reason provided for the audited update.Example:Protocol update requested by study operations. -
sdfId(required): string
(uuid)
Title:
SDF IDUnique SDF identifier (UUID, 32-character uppercase hexadecimal string). -
versionStart: string
(date-time)
Title:
Version StartTimestamp when this association version was created.Example:2025-03-16T12:00:00Z
Example:
[
{
"id":"3F2504E04F8911D39A0C0305E82C3301",
"versionStart":"2025-03-16T12:00:00.000Z",
"countryId":"A0E1B2C3D4E5F67890123456789ABCDE",
"sdfId":"9C10C9F402C44BD6A7CFC7F4F1A6EED8",
"primarySupply":"PRIMARY"
}
]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