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: postPath:
/primeapi/restapi/location/replicateObjectInWorkspaces/location/{locationId}/workspace/{workspaceId}
- Batch Create Locations
- Method: postPath:
/primeapi/restapi/location/batch
- Batch Delete Locations
- Method: deletePath:
/primeapi/restapi/location/batch
- Batch Update Locations
- Method: putPath:
/primeapi/restapi/location/batch
- Create a Location
- Method: postPath:
/primeapi/restapi/location
- Delete a Location
- Method: deletePath:
/primeapi/restapi/location/{id}
- Update a Location
- Method: putPath:
/primeapi/restapi/location
- View a Location
- Method: getPath:
/primeapi/restapi/location/{id}
- View a Location by Code
- Method: getPath:
/primeapi/restapi/location/code/{code}
- View a Location by Code and Workspace
- Method: getPath:
/primeapi/restapi/location/workspace/{workspaceId}/code/{code}
- View a Location by Name
- Method: getPath:
/primeapi/restapi/location/name/{name}
- View a Location by Workspace
- Method: getPath:
/primeapi/restapi/location/workspace/{id}