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.
Assign or Promote a Location
Method: post
Path: /primeapi/restapi/location/replicateObjectInWorkspaces/location/{locationId}/workspace/{workspaceId}
Batch Create Locations
Method: post
Path: /primeapi/restapi/location/batch
Batch Delete Locations
Method: delete
Path: /primeapi/restapi/location/batch
Batch Update Locations
Method: put
Path: /primeapi/restapi/location/batch
Create a Location
Method: post
Path: /primeapi/restapi/location
Delete a Location
Method: delete
Path: /primeapi/restapi/location/{id}
Update a Location
Method: put
Path: /primeapi/restapi/location
View a Location
Method: get
Path: /primeapi/restapi/location/{id}
View a Location by Code
Method: get
Path: /primeapi/restapi/location/code/{code}
View a Location by Code and Workspace
Method: get
Path: /primeapi/restapi/location/workspace/{workspaceId}/code/{code}
View a Location by Name
Method: get
Path: /primeapi/restapi/location/name/{name}
View a Location by Workspace
Method: get
Path: /primeapi/restapi/location/workspace/{id}