younifyd
Menu

Get Changes

Get audit logs for an account

GET/v1/changes

Use it in a workflow

  1. Add a step and choose the Talon.One connector.
  2. Pick the Get Changes action (under management).
  3. Fill in the fields below, then reference the result from later steps as {{getChanges.response.data}}.

Request

Query parameters

pageSizeinteger (int64)

The number of items in the response.

Default 1000

skipinteger (int64)

The number of items to skip when paging through large result sets.

sortstring

The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.

applicationIdnumber

Filter results by Application ID.

entityPathstring

Filter results on a case insensitive matching of the url path of the entity

userIdinteger (int64)

Filter results by user ID.

createdBeforestring (date-time)

Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the change creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.

createdAfterstring (date-time)

Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the change creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.

withTotalResultSizeboolean

When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets. - When `true`: `totalResultSize` contains the total number of results for this query. - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page.

managementKeyIdinteger (int64)

Filter results that match the given management key ID.

includeOldboolean

When this flag is set to false, the state without the change will not be returned. The default value is true.

Response

Returns 200 with an object. Read it in later steps with {{getChanges.response.data.<field>}}.

totalResultSizeinteger (int64)
hasMoreboolean
dataarray<object>
idinteger (int64)required

The internal ID of this entity.

createdstring (date-time)required

The time this entity was created.

userIdinteger (int64)required

The ID of the user associated with this entity.

applicationIdinteger (int64)

ID of application associated with change.

entitystringrequired

API endpoint on which the change was initiated.

oldobject

Resource before the change occurred.

newobject

Resource after the change occurred.

managementKeyIdinteger (int64)

ID of management key used to perform changes.

json
{
  "data": [
    {
      "new": {
        "applicationId\"": 359,
        "attributes\"": {},
        "campaignGroups\"": [],
        "created\"": {},
        "description\"": "",
        "features\"": [
          "referrals",
          "loyalty"
        ],
        "id": 6727
      },
      "created": {},
      "old": {},
      "id": 6,
      "applicationId": 359,
      "userId": 388,
      "entity": "/v1/applications/359/campaigns/6727",
      "managementKeyId": 3
    }
  ],
  "totalResultSize": 1,
  "hasMore": false
}

Need more? See the Talon.One guide for connection setup and behaviour shared by every action.

Was this page helpful?