Resource Locations REST Endpoints
Core/Resources/Resource Locations
The resource locations resource is used to view, create, or delete locations for a specific resource. It is also used to create or update the location assignment. Location assignment means assigning the location as 'start', 'end', or 'home zone center' for the resource.
- Create a resource location
- Method: postPath:
/rest/ofscCore/v1/resources/{resourceId}/locations - Delete a resource location
- Method: deletePath:
/rest/ofscCore/v1/resources/{resourceId}/locations/{locationId} - Delete assigned locations
- Method: deletePath:
/rest/ofscCore/v1/resources/{resourceId}/assignedLocations/{date} - Get a resource location
- Method: getPath:
/rest/ofscCore/v1/resources/{resourceId}/locations/{locationId} - Get assigned locations
- Method: getPath:
/rest/ofscCore/v1/resources/{resourceId}/assignedLocations - Get resource locations
- Method: getPath:
/rest/ofscCore/v1/resources/{resourceId}/locations - Set assigned locations
- Method: putPath:
/rest/ofscCore/v1/resources/{resourceId}/assignedLocations - Update a resource location
- Method: patchPath:
/rest/ofscCore/v1/resources/{resourceId}/locations/{locationId} - Update assigned locations
- Method: patchPath:
/rest/ofscCore/v1/resources/{resourceId}/assignedLocations