Create site/depot with study ID and master address
post
/ec-site-svc/rest/v1.0/studies/{studyId}/{mode}/sdfs/sdf/{sdfType}
Creates site/depot with study ID and master address for the specified tenant entity ID.
Request
Path Parameters
-
mode(required): string
Mode of the study. Accepts active, test, or training.
-
sdfType(required): string
Type of SDF : Sites or Depots.
-
studyId(required): string(uuid)
The ID of the study.
Supported Media Types
- application/json
Nested Schema : SDFDto
Type:
Show Source
object
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
id: string
(uuid)
-
name(required): string
Minimum Length:
0
Maximum Length:200
-
reason: string
Minimum Length:
0
Maximum Length:255
-
sdfType(required): string
Minimum Length:
0
Maximum Length:50
-
status(required): string
Minimum Length:
0
Maximum Length:50
-
studyOrgId(required): string
Minimum Length:
0
Maximum Length:50
-
versionStart: string
(date-time)
Nested Schema : SDFAddressAssociationDto
Type:
Show Source
object
-
addressTypeId: string
(uuid)
-
addressTypeIdCodeValue: string
Minimum Length:
0
Maximum Length:50
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
entityAddressAssociationId(required): string
(uuid)
-
id: string
(uuid)
-
mainPrimary: boolean
-
reason: string
Minimum Length:
0
Maximum Length:255
-
sdfAddressProperties: array
sdfAddressProperties
-
sdfId: string
(uuid)
-
versionStart: string
(date-time)
Nested Schema : SDFsPropertyDto
Type:
Show Source
object
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
id: string
(uuid)
-
propertyName(required): string
Minimum Length:
0
Maximum Length:100
-
propertyValue(required): string
Minimum Length:
0
Maximum Length:2048
-
reason: string
Minimum Length:
0
Maximum Length:255
-
sdfId: string
(uuid)
-
versionStart: string
(date-time)
Response
Supported Media Types
- application/json
200 Response
Successful operation.
Nested Schema : SDFDto
Type:
Show Source
object
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
id: string
(uuid)
-
name(required): string
Minimum Length:
0
Maximum Length:200
-
reason: string
Minimum Length:
0
Maximum Length:255
-
sdfType(required): string
Minimum Length:
0
Maximum Length:50
-
status(required): string
Minimum Length:
0
Maximum Length:50
-
studyOrgId(required): string
Minimum Length:
0
Maximum Length:50
-
versionStart: string
(date-time)
Nested Schema : SDFAddressAssociationDto
Type:
Show Source
object
-
addressTypeId: string
(uuid)
-
addressTypeIdCodeValue: string
Minimum Length:
0
Maximum Length:50
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
entityAddressAssociationId(required): string
(uuid)
-
id: string
(uuid)
-
mainPrimary: boolean
-
reason: string
Minimum Length:
0
Maximum Length:255
-
sdfAddressProperties: array
sdfAddressProperties
-
sdfId: string
(uuid)
-
versionStart: string
(date-time)
Nested Schema : SDFsPropertyDto
Type:
Show Source
object
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
id: string
(uuid)
-
propertyName(required): string
Minimum Length:
0
Maximum Length:100
-
propertyValue(required): string
Minimum Length:
0
Maximum Length:2048
-
reason: string
Minimum Length:
0
Maximum Length:255
-
sdfId: string
(uuid)
-
versionStart: string
(date-time)
400 Response
Bad request.
Root Schema : SDFResponse
Type:
Show Source
object
-
errorData: object
ErrorResponseData
Title:
ErrorResponseData
Error Response Details Information -
result: object
result
-
status: string
Nested Schema : ErrorResponseData
Type:
object
Title:
ErrorResponseData
Error Response Details Information
Show Source
-
details: object
Object
Title:
Object
Object 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:
object
Nested Schema : Object
Type:
object
Title:
Object
Object with error details information.