Note |
---|
resourceVersion property on all the Resources is 1.9, where as resourceVersion property for other OpenMRS REST resources is 1.8 |
Location
URLs
url | description |
---|---|
GET /ws/rest/v1/location?q | Fetch all non-retired that match this parameter |
GET /ws/rest/v1/location/\{uuid\} | Fetch by unique uuid |
GET /ws/rest/v1/location | Fetch all non-retired |
POST /ws/rest/v1/location | Create with properties in request |
POST /ws/rest/v1/location/\{uuid\} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/location/\{uuid\}?!purge | Delete this object from the database |
DELETE /ws/rest/v1/location/\{uuid\}?purge | Delete this object from the database |
...
url | description |
---|---|
GET /ws/rest/v2v1/location/\{parentUuid\}/attribute/\{uuid\} | Fetch by unique uuid |
GET /ws/rest/v2v1/location/\{parentUuid\}/attribute | Fetch all non-retired |
POST /ws/rest/v2v1/location/\{parentUuid\}/attribute | Create with properties in request |
POST /ws/rest/v2v1/location/\{parentUuid\}/attribute/\{uuid\} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v2v1/location/\{parentUuid\}/attribute/\{uuid\}?!purge | Delete this object from the database |
DELETE /ws/rest/v2v1/location/\{parentUuid\}/attribute/\{uuid\}?purge | Delete this object from the database |
...