Location REST services
This page is about Assets & Inventory Plugin for Jira DC. Using Cloud? Click here.
Listing all locations
Method | GET |
---|---|
URL | /rest/jip-api/1.0/location.json |
Listing single location
Method | GET |
---|---|
URL | /rest/jip-api/1.0/location/[locationId].json |
Creating a new location
Important
While creating and updating locations with REST APIs, the
"locationName"
variable must be defined in the request body. Otherwise you will not be able to create or update locations.Variables which is not defined in the request body will be considered null.
Method | POST |
---|---|
URL | /rest/jip-api/1.0/location.json |
Update location
Method | POST |
---|---|
URL | /rest/jip-api/1.0/location.json |
Delete location
Method | DELETE |
---|---|
URL | /rest/jip-api/1.0/location./[locationId].json |