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: postPath:
/ec-site-svc/rest/v1/studies/{studyId}/{mode}/regions
- Associate countries to site or depot
- Method: postPath:
/ec-site-svc/rest/v1/studies/{studyId}/{mode}/country/{sdfId}
- Disassociate country from site
- Method: deletePath:
/ec-site-svc/rest/v1/studies/{studyId}/{mode}/sdfcountry/{sdfCountryId}
- Get association between country and site
- Method: getPath:
/ec-site-svc/rest/v1/studies/{studyId}/{mode}/sdfcountry
- Get country based on country ID
- Method: getPath:
/ec-site-svc/rest/v1/studies/{studyId}/{mode}/country/{countryId}
- Get country name
- Method: getPath:
/ec-site-svc/rest/v1/studies/{studyId}/{mode}/country
- Get states based on country ID
- Method: getPath:
/ec-site-svc/rest/v1/studies/{studyId}/{mode}/country/{countryId}/states
- Update countries association to site
- Method: putPath:
/ec-site-svc/rest/v1/studies/{studyId}/{mode}/country/{sdfId}