v1.0
get
/ec-site-svc/rest/v1.0/studies/{studyId}/{mode}/sdfs/sdf/{sdfType}
Retrieves site or depot details for a study using filter parameters. If sdfType is ALL, both sites and depots are returned; if SITE or DEPOT, only that type is returned.
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
-
countryISOCode(required): string
Minimum Length:
2Maximum Length:1024Pattern:^([A-Z]{2})(,[A-Z]{2})*$Comma-separated list of ISO alpha-2 country codes.Example:US -
countryId(required): string
Minimum Length:
32Maximum Length:32Pattern:^[A-F0-9]{32}$Country identifier as a 32-character uppercase hexadecimal UUID string.Example:C36A3197FDEE433FB5547EE83DE99E4B -
excludeExtendedProperties(required): string
Retrieve extended properties for site only if the excludeExtendedProperties flag is false.Allowed Values:
[ "true", "false" ]Example:false -
limit(required): integer(int32)
Minimum Value:
0Maximum Value:1000Maximum number of rows to return. Only non-negative integers are accepted.Example:50 -
name(required): string
Minimum Length:
1Maximum Length:255Name search filter for site.Example:Site A -
offset(required): integer(int32)
Minimum Value:
0Zero-based row index to start pagination. Only non-negative integers are accepted.Example:0 -
order(required): string
Optional query parameter. Sort direction for returned rows. Allowed values: asc, desc, ASC, DESC.Allowed Values:
[ "ASC", "DESC", "asc", "desc" ]Example:DESC -
statusId(required): string
SDF status filter. Allowed values: ACTIVE (available), NEW (newly created), RESTRICTED (limited use), DISBARRED (blocked), DECEASED (closed), RETIRED (inactive).Allowed Values:
[ "ACTIVE", "NEW", "RESTRICTED", "DISBARRED", "DECEASED", "RETIRED" ]Example:ACTIVE -
studyVersion(required): string
Minimum Length:
1Maximum Length:20Pattern:^[0-9]+$Study version filter for sites or depots. Accepts non-negative integer version numbers.Example:1 -
supplyCountryId(required): string
Minimum Length:
32Maximum Length:32Pattern:^[A-F0-9]{32}$Supply Country ID.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
Title:
ErrorResponseDataError Response Details Information -
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 : ErrorResponseData
Type:
objectTitle:
ErrorResponseDataError Response Details Information
Show Source
-
details: object
Object
Title:
ObjectObject with error details information. -
errorCode: string
Error code which is stored in ErrorCode enum. Example : C1-003Example:
C1-003 -
errorMessage: string
Error message which is stored in service property file. Example : Cannot modify object after a study version has been approvedExample:
Cannot modify object after a study version has been approved
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 : Object
Type:
objectTitle:
ObjectObject with error details information.
Example:
{
"field":"studyId",
"reason":"Invalid value"
}Examples