[Deprecated]: Create a site
post
/ec-site-svc/rest/v1/studies/{studyId}/{mode}/sdfs
Deprecated: Creates a SDF (Sites or Depots) with the same shipping and primary address, if the query parameter is true.
Request
Path Parameters
-
mode(required): string
Mode of the study. Accepts active, test, or training.
-
studyId(required): string(uuid)
The ID of the study.
Query Parameters
-
shippingSameAsPrimary: boolean
If this parameter is true, it copies the primary address to shipping.
Supported Media Types
- application/json
Nested Schema : SDFDto
Type:
Show Source
object-
comment: string
Minimum Length:
0Maximum Length:2048 -
id: string
(uuid)
-
name(required): string
Minimum Length:
0Maximum Length:200 -
reason: string
Minimum Length:
0Maximum Length:255 -
sdfType(required): string
Minimum Length:
0Maximum Length:50 -
status(required): string
Minimum Length:
0Maximum Length:50 -
studyOrgId(required): string
Minimum Length:
0Maximum Length:50 -
versionStart: string
(date-time)
Nested Schema : SDFAddressDto
Type:
Show Source
object-
addressCity(required): string
Minimum Length:
0Maximum Length:100 -
addressCountry(required): string
Minimum Length:
0Maximum Length:100 -
addressPostalcode(required): string
Minimum Length:
0Maximum Length:20 -
addressStateOrProvOrCounty: string
Minimum Length:
0Maximum Length:100 -
addressStreet1(required): string
Minimum Length:
0Maximum Length:150Pattern:.*[A-z].*|.*\p{L}+.* -
addressStreet2: string
Minimum Length:
0Maximum Length:150 -
addressType(required): string
Minimum Length:
0Maximum Length:100 -
comment: string
Minimum Length:
0Maximum Length:2048 -
email: string
Minimum Length:
0Maximum Length:255 -
fax: string
Minimum Length:
0Maximum Length:50 -
id: string
(uuid)
-
phone: string
Minimum Length:
0Maximum Length:50 -
reason: string
Minimum Length:
0Maximum Length:255 -
sdfId: string
(uuid)
-
versionStart: string
(date-time)
Nested Schema : SDFPropertyDto
Type:
Show Source
object-
comment: string
Minimum Length:
0Maximum Length:2048 -
id: string
(uuid)
-
propertyName(required): string
Minimum Length:
0Maximum Length:100 -
propertyValue(required): string
Minimum Length:
0Maximum Length:100 -
reason: string
Minimum Length:
0Maximum Length:255 -
sdfId: string
(uuid)
-
versionStart: string
(date-time)
Response
Supported Media Types
- application/json
200 Response
Successful operation.
Nested Schema : CountryDto
Type:
Show Source
object-
comment: string
Minimum Length:
0Maximum Length:2048 -
id(required): string
(uuid)
-
isoCode(required): string
Minimum Length:
1Maximum Length:10 -
name(required): string
Minimum Length:
1Maximum Length:100 -
reason: string
Minimum Length:
0Maximum Length:255 -
versionStart: string
(date-time)
400 Response
Bad request.
Nested Schema : result
Type:
objectNested Schema : details
Type:
object