Location REST Endpoints
Location
Use the Location service to create, view, update, and delete locations. A location is a geographical reference defined by a pair of coordinates, longitude and latitude. Update Keys : 'locationId'
- Batch Create Locations
- Method: postPath:
/api/restapi/location/batch - Batch Delete Locations
- Method: deletePath:
/api/restapi/location/batch - Batch Sync Location
- Method: postPath:
/api/restapi/location/syncBatch - Batch Update Locations
- Method: putPath:
/api/restapi/location/batch - Create a Location
- Method: postPath:
/api/restapi/location - Delete a Location
- Method: deletePath:
/api/restapi/location/{locationId} - Update a Location
- Method: putPath:
/api/restapi/location - View a Location
- Method: getPath:
/api/restapi/location/{locationId} - View a Location by Code
- Method: getPath:
/api/restapi/location/code/{locationCode} - View a Location by Code and Workspace
- Method: getPath:
/api/restapi/location/workspace/{workspaceId}/code/{locationCode} - View a Location by Name
- Method: getPath:
/api/restapi/location/name/{locationName} - View a Location by Workspace
- Method: getPath:
/api/restapi/location/workspace/{workspaceId}