{{sidenavigation.sidenavigationExpandLabel}}
{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}} {{helpModel.downloadHelpPdfDataStatus}}

License Details

By adding a Licenses key in the URL, you will be able to retrieve information about this License. It contains a list of fields with label and value for the specific License.

GET /api/inventory/license/<license-id>

Get License detail information in the form of a list of property entries.

RESPONSE Fields Value Type Description
id String The ID of the selected entry
name String The name of the selected entry
icon String The icon URL
deleted Boolean True, if the entry is marked as deleted
detailFields List A list of detail field entries
detailFields.key String The unique key for this field
detailFields.label String The label of this field
detailFields.value String The value of this field for the requested License

Example Request

# Request
GET /api/inventory/license/1 HTTP/1.1
Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u
 
# Response
HTTP/1.1 200 OK
Content-Type: application/json
 
 
{
  "id": "1",
  "name": "Office Professional Plus 2013",
  "icon": "1",
  "deleted": false,
  "detailFields": [
    {
      "key": "bezeichnung",
      "label": "Label",
      "value": "Open License (Open C)"
    },
    {
      "key": "produkt",
      "label": "Product",
      "value": "Office Professional Plus 2013"
    },
    {
      "key": "clientanzahl",
      "label": "Number of clients",
      "value": "0"
    },
    {
      "key": "serveranzahl",
      "label": "Number of servers",
      "value": "0"
    },
    {
      "key": "erwerbsdatum",
      "label": "Purchase date",
      "value": "15 Dec 2015"
    },
    {
      "key": "bemerkung",
      "label": "Remark",
      "value": "Volumenlizenzprogramm"
    }
  ]
}

Application Example

# Browser access
http://127.0.0.1:9000/api/inventory/license/1
 
# Shell access using curl
curl -LsH "Authorization: Bearer <access_token>" "http://127.0.0.1:9000/api/inventory/license/1"
 
# Shell access using curl using username and password
curl -Lsu username:password "http://127.0.0.1:9000/api/inventory/license/1"
i-net HelpDesk
This application uses cookies to allow login. By continuing to use this application, you agree to the use of cookies.


Help - /<license id>