Update countries and states association to site
put
/ec-site-svc/rest/v2/studies/{studyId}/{mode}/country/{sdfId}
Updates association of country and state to site based on the site ID.
Request
Path Parameters
-
mode(required): string
Mode of the study. Accepts active, test, or training.
-
sdfId(required): string
Site ID to update the countries/states association
-
studyId(required): string(uuid)
The ID of the study.
Supported Media Types
- application/json
Nested Schema : SDFCountryAndStateDto
Type:
Show Source
object
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
countryId(required): string
(uuid)
-
id: string
(uuid)
-
primarySupply(required): string
Minimum Length:
0
Maximum Length:10
-
reason: string
Minimum Length:
0
Maximum Length:255
-
sdfId(required): string
(uuid)
-
stateId: 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:
0
Maximum Length:2048
-
id(required): string
(uuid)
-
isoCode(required): string
Minimum Length:
1
Maximum Length:10
-
name(required): string
Minimum Length:
1
Maximum Length:100
-
reason: string
Minimum Length:
0
Maximum Length:255
-
versionStart: string
(date-time)
Nested Schema : SDFCountryAndStateDto
Type:
Show Source
object
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
countryId(required): string
(uuid)
-
id: string
(uuid)
-
primarySupply(required): string
Minimum Length:
0
Maximum Length:10
-
reason: string
Minimum Length:
0
Maximum Length:255
-
sdfId(required): string
(uuid)
-
stateId: string
(uuid)
-
versionStart: string
(date-time)
400 Response
Bad request.
Nested Schema : result
Type:
object
Nested Schema : details
Type:
object