Invite Users

Invite existing users to a site. Users can be invited temporary or permanently.

Swagger Swagger

Params

nameParameter typeData TypeExampleDescription
emailbodystringtestuser@intapp.comEmail of user
durationbodyint10If temporary user, set duration in # of days
groupsbodyint[ ]12, 22, 192Group assignment
autoCreateOrLinkContactbodyintegertrueIf set to true, links invited user to contact
mappedContactIDbodyinteger0Creates new contact if ommitted and autoCreateorLinkedContact is set to true

Sample Query

{
  "userIds": [
    0
  ],
  "dateFrom": "2021-05-05T19:54:08.704Z",
  "dateTo": "2021-05-05T19:54:08.704Z",
  "activity": 1,
  "source": 1
}

Sample Requests

POST {{host}}/api/rest/v1/management/user/activity
Authorization: {{auth}}
Content-Type: application/json

{
  "userIds": [
    1
  ],
  "dateFrom": "2022-01-05T19:54:08.704Z",
  "dateTo": "2022-05-05T19:54:08.704Z",
  "activity": 1,
  "source": 1
}

Sample Responses

HTTP/1.1 200 OK
...

{
  "totalRecords": 8382,
  "rows": [
    {
      "userName": "admin@dealcloud.com",
      "fullName": "Jamie Jones",
      "eventDate": "2022-01-06T06:27:55.6",
      "activityTypeId": 1,
      "activityType": "Login Successful",
      "sourceTypeId": 1,
      "sourceType": "Web",
      "ipAddress": 184545776,
      "userId": 1,
      "sessionId": "f32b5dd1-9be8-47d7-bb2c-19942a3fa22d"
    },
    {
      "userName": "admin@dealcloud.com",
      "fullName": "Jamie Jones",
      "eventDate": "2022-01-06T07:05:52.003",
      "activityTypeId": 4,
      "activityType": "SessionExpired",
      "sourceTypeId": 1,
      "sourceType": "Web",
      "userId": 1,
      "sessionId": "ac10dfa2-d8bf-4942-9c47-ea683f167fde"
    },
    {
      "userName": "admin@dealcloud.com",
      "fullName": "Jamie Jones",
      "eventDate": "2022-01-06T07:16:28.403",
      "activityTypeId": 1,
      "activityType": "Login Successful",
      "sourceTypeId": 1,
      "sourceType": "Web",
      "ipAddress": 184545776,
      "userId": 1,
      "sessionId": "bd20aec6-d477-4f6a-9bcc-83ba231947be"
    }
  ]
HTTP/1.1 400 Bad Request

{
  "message": "DateTo should be greater than DateFrom."
}