Skip to main content

Host resource data model

/UserHost

Dictionary table

The diagram service model of the object: http://www.soffid.org/doc/console/2.9.0/uml/com/soffid/iam/api/User.Host.html

Soffid allows you to add customized data to the user object. You can do that on metadata, on the proper object.

  • Main Menu > Administration > Configure Soffid > Global Settings > Metadata

It is allowed to consult all the User definition using the Schema query:

GET http://<your-domain>/webservice/scim2/v1/Schemas/urn:soffid:com.soffid.iam.api.UserHost

Full JSON example

Request

GET http://<your-domain>/webservice/scim2/v1/User/1057751Host/1793068

Response 200 OK

{
    "lastName"os": "Smith"LIN",
    "comments": "Changed",
    "createdByUser": "admin",
    "fullName": "John Smith",
    "active"mail": false,
    "userName"ip": "jsmith"10.129.120.7",
    "mailAlias"dynamicIp": false,
    "description": ""Discovered host  jira.dev.lab",
    "firstName"office": false,
    "lastSeen": "John"2021-04-05 20:05:39",
    "createdDate": "2020-12-14 17:52:14",
    "multiSession": false,
    "meta": {
        "location": "http://<your-server>/webservice/scim2/v1/User/1057751",
        "links": {
            "roleAccounts": "http://<your-domain>/webservice/scim2/v1/RoleAccount?filter=userCode+eq+'jsmith'+and+enabled+eq+true",
            "groupUsers": "http://<your-domain>/webservice/scim2/v1/GroupUser?filter=user+eq+'jsmith'+and+disabled+eq+false",
            "accounts": "http://<your-domain>/webservice/scim2/v1/Account?filter=type+eq+U+and+users.user.userName+eq+'jsmith'"
        }Host/1793068",
        "resourceType": "User"Host"
    },
    "modifiedByUser"networkCode": "admin"lab1",
    "schemas": [
        "urn:soffid:com.soffid.iam.api.User"Host"
    ],
    "modifiedDate"name": "2021-01-03 13:26:57",
    "attributes": {
        "RegisterServiceProvider": "anonymous",
        "manager": "admin",
        "EMAIL": "jsmith@test.com",
        "birthDate": "1970-05-26 00:00:00"
    }jira.dev.lab",
    "id": 1057751,1793068,
    "userType"hostAlias": "I"[],
    "primaryGroupDescription"printersServer": "Enterprise",
    "primaryGroup": "enterprise"false
}

Response Error

For more infomation about response error visit https://bookstack.soffid.com/link/116#bkmrk-error-response