[Deprecated]: Update site address by site and address ID
put
/ec-site-svc/rest/v1/studies/{studyId}/{mode}/sdfs/{sdfId}/address/{addressId}
Deprecated: Updates a site's address for the given SDF ID and address ID.
Request
Path Parameters
-
addressId(required): string
address id to update SDF address
-
mode(required): string
Mode of the study. Accepts active, test, or training.
-
sdfId(required): string
sdf id to update SDF address
-
studyId(required): string(uuid)
The ID of the study.
Supported Media Types
- application/json
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)
Response
Supported Media Types
- application/json
200 Response
Successful operation.
Root Schema : shippingAddress
Type:
objectTitle:
shippingAddressContains site/depot address.
Show Source
-
address: string
-
addressCity: string
Address city
-
addressCountry: string
Address country
-
addressCounty: string
Address county
-
addressPostalcode: string
Address postal code
-
addressStateOrProvOrCounty: string
Address state/province/county
-
addressStreet1: string
Address Street1 detail
-
addressStreet2: string
Address Street2 detail
-
addressType: string
Type of address nameExample:
Primary/Shipping -
email: string
Email Address
-
fax: string
Fax number
-
id: string
(uuid)
Unique id for site/depot address
-
phone: string
Phone number
-
sdfId: string
(uuid)
Unique id for site/depot
-
versionStart: string
(date-time)
Version Start
400 Response
Bad request.
Nested Schema : result
Type:
objectNested Schema : details
Type:
object