Update or delete depot association with country or state by GUID
put
/ec-site-svc/rest/v1.0/studies/{studyId}/{mode}/sdfs/sdf/{sdfType}/country/{sdfId}
Updates or removes depot association with country or state by GUID: depot GUID, country GUID or state GUID.
Request
Path Parameters
-
mode(required): string
Mode of the study. Accepts active, test, or training.
-
sdfId(required): string
Unique Id to identify Site, Lab or Depot (SDF)
-
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 : SDFCountryDto
Type:
Show Source
object
-
associationOperationType: string
-
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 : SDFCountryDto
Type:
Show Source
object
-
associationOperationType: string
-
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