Get Inventory Updates (Version 2)
POST/api/v2/map/inventory/updates
This service message gets a list of map request IDs and responds if there is new data map-product for them.
Request
- application/json
Body
required
inventory
object
required
property name*
InventoryDetailsDto
Possible values: [offering, push, import, delivery, deleted, installed, uninstalled]
the state of the device for current device
Source of the map for this device — how the device obtained the map (e.g., 'generate', 'shared', 'storage', 'update', 'push').
The footprint of the map associated with the device.
The name of map (generated from file name)
The name of the file associated with the map.
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
updates
object
required
property name*
InventoryUpdateStatusResDto
Indicates whether the map is updated.
Catalog ID of the map. a registered catalog ID if the map is unknown.
updatedMap
object
Possible values: [Draft, Pending, Start, InProgress, Pause, Cancel, Error, Done, Discovered, Expired, Archived]
product
object
Unique identifier for the product (at polygon part method, it the specific polygon part id)
Unique identifier for the product
Unique identifier for the product (not the specific polygon part id)
{
"updates": {
"mapId_1": {
"isUpdated": true,
"updatedMap": {}
},
"mapId_2": {
"isUpdated": false,
"updatedMap": {}
},
"mapId_3_unknown": {
"isUpdated": false,
"catalogId": "mapId_3",
"updatedMap": {}
}
}
}