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

Owner ID

By entering a user's GUID in the URL, you will be able to retrieve information about this user. It contains, e.g a list of user fields that the Web API user has access to.

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

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

RESPONSE Fields Value Type Description
id String The ID of the selected entry
detailFields List A list of detail field entries
detailFields.key String The unique key for this user field
detailFields.label String The label of this user field
detailFields.value String The value of this field for the requested user

Example Request

# Request
GET /api/inventory/owner/0000000093b631ea1c6c025a2 HTTP/1.1
Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u
 
# Response
HTTP/1.1 200 OK
Content-Type: application/json
 
{
  "id": "0000000093b631ea1c6c025a2",
  "detailFields": [
    {
      "key": "firstname",
      "label": "First Name",
      "value": "Franz Ferdinand"
    },
    {
      "key": "lastname",
      "label": "Last Name",
      "value": "Demo-Supporter"
    },
    {
      "key": "location",
      "label": "Location",
      "value": "_nicht zugeordnet"
    },
    {
      "key": "groupid",
      "label": "User-Group",
      "value": "Standard"
    }
    ...
  ]
}

Application Example

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


Help - /<owner id>