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: post
Path: /api/restapi/location/batch
Batch Delete Locations
Method: delete
Path: /api/restapi/location/batch
Batch Sync Location
Method: post
Path: /api/restapi/location/syncBatch
Batch Update Locations
Method: put
Path: /api/restapi/location/batch
Create a Location
Method: post
Path: /api/restapi/location
Delete a Location
Method: delete
Path: /api/restapi/location/{locationId}
Update a Location
Method: put
Path: /api/restapi/location
View a Location
Method: get
Path: /api/restapi/location/{locationId}
View a Location by Code
Method: get
Path: /api/restapi/location/code/{locationCode}
View a Location by Code and Workspace
Method: get
Path: /api/restapi/location/workspace/{workspaceId}/code/{locationCode}
View a Location by Name
Method: get
Path: /api/restapi/location/name/{locationName}
View a Location by Workspace
Method: get
Path: /api/restapi/location/workspace/{workspaceId}