v5.0
get
/ec-site-svc/rest/v5.0/studies/{studyId}/{mode}/sdfcountry
Compared with v4, this version returns enriched SDF country details and supports explicit countryId and stateId filters.
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
-
countries: string
Country identifier as a 32-character uppercase hexadecimal UUID string.Example:
C36A3197FDEE433FB5547EE83DE99E4B -
history: boolean
Boolean flag: true includes historical records, false returns only current records.Example:
false -
limit: integer(int32)
Maximum number of rows to return. Only non-negative integers are accepted.Example:
25 -
offset: integer(int32)
Zero-based row index to start pagination. Only non-negative integers are accepted.Example:
0 -
states: string
State 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 : SDFsPaginatedResponse v2.0
Type:
objectTitle:
SDFsPaginatedResponse v2.0Paginated response wrapper used by CTMS/SDF endpoints.
Show Source
-
count: integer
(int32)
Title:
SDFsPaginatedResponse v2.0Number of rows returned in this page.Example:25 -
hasMore: boolean
Title:
SDFsPaginatedResponse v2.0Flag indicating whether more pages of data are available.Example:true -
limit: integer
(int32)
Title:
SDFsPaginatedResponse v2.0Maximum number of entries requested per page.Example:100 -
offset: integer
(int32)
Title:
SDFsPaginatedResponse v2.0Pagination offset used to compute the returned subset.Example:0 -
resultData: object
SDFsPaginatedResponse v2.0
Title:
SDFsPaginatedResponse v2.0Payload of the paginated response. -
totalResults: integer
(int32)
Title:
SDFsPaginatedResponse v2.0Total number of rows matching the paginated request.Example:250
Nested Schema : SDFsPaginatedResponse v2.0
Type:
objectTitle:
SDFsPaginatedResponse v2.0Payload of the paginated response.
Example:
{
}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