Update a site
put
/ec-site-svc/rest/v1/studies/{studyId}/{mode}/sdfs/{sdfId}
Updates properties and addresses for a given SDF (site or depot) ID.
Request
Path Parameters
-
mode(required): string
Mode of the study. Accepts active, test, or training.
-
sdfId(required): string
update properties and address for this SDF id.
-
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 : SDFAddressDto
Type:
Show Source
object
-
addressCity(required): string
Minimum Length:
0
Maximum Length:100
-
addressCountry(required): string
Minimum Length:
0
Maximum Length:100
-
addressPostalcode(required): string
Minimum Length:
0
Maximum Length:20
-
addressStateOrProvOrCounty: string
Minimum Length:
0
Maximum Length:100
-
addressStreet1(required): string
Minimum Length:
0
Maximum Length:150
Pattern:.*[A-z].*|.*\p{L}+.*
-
addressStreet2: string
Minimum Length:
0
Maximum Length:150
-
addressType(required): string
Minimum Length:
0
Maximum Length:100
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
email: string
Minimum Length:
0
Maximum Length:255
-
fax: string
Minimum Length:
0
Maximum Length:50
-
id: string
(uuid)
-
phone: string
Minimum Length:
0
Maximum Length:50
-
reason: string
Minimum Length:
0
Maximum Length:255
-
sdfId: string
(uuid)
-
versionStart: string
(date-time)
Nested Schema : SDFPropertyDto
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:100
-
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 : SDFAddressDto
Type:
Show Source
object
-
addressCity(required): string
Minimum Length:
0
Maximum Length:100
-
addressCountry(required): string
Minimum Length:
0
Maximum Length:100
-
addressPostalcode(required): string
Minimum Length:
0
Maximum Length:20
-
addressStateOrProvOrCounty: string
Minimum Length:
0
Maximum Length:100
-
addressStreet1(required): string
Minimum Length:
0
Maximum Length:150
Pattern:.*[A-z].*|.*\p{L}+.*
-
addressStreet2: string
Minimum Length:
0
Maximum Length:150
-
addressType(required): string
Minimum Length:
0
Maximum Length:100
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
email: string
Minimum Length:
0
Maximum Length:255
-
fax: string
Minimum Length:
0
Maximum Length:50
-
id: string
(uuid)
-
phone: string
Minimum Length:
0
Maximum Length:50
-
reason: string
Minimum Length:
0
Maximum Length:255
-
sdfId: string
(uuid)
-
versionStart: string
(date-time)
Nested Schema : SDFPropertyDto
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:100
-
reason: string
Minimum Length:
0
Maximum Length:255
-
sdfId: string
(uuid)
-
versionStart: string
(date-time)
400 Response
Bad request.
Nested Schema : result
Type:
object
Nested Schema : details
Type:
object