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

Vendor Details

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

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

Get Vendor detail information in the form of a list of property entries. The response object also contains information about the requested license ID.

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 Vendor

Example Request

# Request
GET /api/inventory/vendor/1 HTTP/1.1
Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u
 
# Response
HTTP/1.1 200 OK
Content-Type: application/json
 
{
  "id": "1",
  "name": "Tech Data",
  "icon": "1",
  "deleted": false,
  "detailFields": [
    {
      "key": "email",
      "label": "Email",
      "value": "easy@techdata.de"
    },
    {
      "key": "telephone",
      "label": "Phone",
      "value": "089/4700-0"
    },
    {
      "key": "fax",
      "label": "Fax",
      "value": "089/4700-3009"
    },
    {
      "key": "address",
      "label": "Address",
      "value": "Tech Data GmbH & Co. OHG\r\nGeschaeftsbereich Tech Data Deutschland\r\nKistlerhofstrasse 75 \r\n81379 Muenchen"
    },
    {
      "key": "rma",
      "label": "RMA",
      "value": "So erhalten Sie Ihre automatisierte Retourenautorisierung ueber e-RMA:\r\nhttp://transfer.techdata.de/tools/media/erma_hilfe/eRMA_Hilfe.htm\r\n * falsche Lieferung oder Ware einfach zurueckgeben\r\n * defekte Ware, Garantie- und Gewaehrleistungsfaelle"
    }
  ]
}

Application Example

# Browser access
http://127.0.0.1:9000/api/inventory/vendor/1
 
# Shell access using curl
curl -LsH "Authorization: Bearer <access_token>" "http://127.0.0.1:9000/api/inventory/vendor/1"
 
# Shell access using curl using username and password
curl -Lsu username:password "http://127.0.0.1:9000/api/inventory/vendor/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 - /<vendor id>