v1.0 REST Endpoints

Sites and Depots/Country/v1.0
The operations from the Sites and Depots/Country/v1.0 category.
Add a region
Method: post
Path: /ec-site-svc/rest/v1/studies/{studyId}/{mode}/regions
Associate countries to site or depot
Method: post
Path: /ec-site-svc/rest/v1/studies/{studyId}/{mode}/country/{sdfId}
Disassociate country from site
Method: delete
Path: /ec-site-svc/rest/v1/studies/{studyId}/{mode}/sdfcountry/{sdfCountryId}
Get association between country and site
Method: get
Path: /ec-site-svc/rest/v1/studies/{studyId}/{mode}/sdfcountry
Get country based on country ID
Method: get
Path: /ec-site-svc/rest/v1/studies/{studyId}/{mode}/country/{countryId}
Get country name
Method: get
Path: /ec-site-svc/rest/v1/studies/{studyId}/{mode}/country
Get states based on country ID
Method: get
Path: /ec-site-svc/rest/v1/studies/{studyId}/{mode}/country/{countryId}/states
Update countries association to site
Method: put
Path: /ec-site-svc/rest/v1/studies/{studyId}/{mode}/country/{sdfId}