Chilkat Online Tools

Objective-C / Support API / List Activities

Back to Collection Items

#import <CkoHttp.h>
#import <CkoJsonObject.h>
#import <CkoHttpResponse.h>
#import <CkoStringBuilder.h>
#import <NSString.h>

// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.

CkoHttp *http = [[CkoHttp alloc] init];
BOOL success;

http.BasicAuth = YES;
http.Login = @"login";
http.Password = @"password";

CkoJsonObject *queryParams = [[CkoJsonObject alloc] init];
[queryParams UpdateString: @"since" value: @"<string>"];

[http SetRequestHeader: @"Accept" value: @"application/json"];

CkoHttpResponse *resp = [http QuickRequestParams: @"GET" url: @"https://example.zendesk.com/api/v2/activities" json: queryParams];
if (http.LastMethodSuccess == NO) {
    NSLog(@"%@",http.LastErrorText);
    return;
}

CkoStringBuilder *sbResponseBody = [[CkoStringBuilder alloc] init];
[resp GetBodySb: sbResponseBody];

CkoJsonObject *jResp = [[CkoJsonObject alloc] init];
[jResp LoadSb: sbResponseBody];
jResp.EmitCompact = NO;

NSLog(@"%@",@"Response Body:");
NSLog(@"%@",[jResp Emit]);

int respStatusCode = [resp.StatusCode intValue];
NSLog(@"%@%d",@"Response Status Code = ",respStatusCode);
if (respStatusCode >= 400) {
    NSLog(@"%@",@"Response Header:");
    NSLog(@"%@",resp.Header);
    NSLog(@"%@",@"Failed.");

    return;
}

// Sample JSON response:
// (Sample code for parsing the JSON response is shown below)

// {
//   "activities": [
//     {
//       "actor": {
//         "name": "<string>",
//         "active": "<boolean>",
//         "alias": "<string>",
//         "chat_only": "<boolean>",
//         "created_at": "<string>",
//         "custom_role_id": "<integer>",
//         "default_group_id": "<integer>",
//         "details": "<string>",
//         "email": "<string>",
//         "external_id": "<string>",
//         "iana_time_zone": "<string>",
//         "id": "<integer>",
//         "last_login_at": "<string>",
//         "locale": "<string>",
//         "locale_id": "<integer>",
//         "moderator": "<boolean>",
//         "notes": "<string>",
//         "only_private_comments": "<boolean>",
//         "organization_id": "<integer>",
//         "phone": "<string>",
//         "photo": {
//           "adipisicing7": 56151302,
//           "irure_70": true
//         },
//         "remote_photo_url": "<string>",
//         "report_csv": "<boolean>",
//         "restricted_agent": "<boolean>",
//         "role": "<string>",
//         "role_type": "<integer>",
//         "shared": "<boolean>",
//         "shared_agent": "<boolean>",
//         "shared_phone_number": "<boolean>",
//         "signature": "<string>",
//         "suspended": "<boolean>",
//         "tags": "<array>",
//         "ticket_restriction": "<string>",
//         "time_zone": "<string>",
//         "two_factor_auth_enabled": "<boolean>",
//         "updated_at": "<string>",
//         "url": "<string>",
//         "user_fields": {
//           "tempor_f": 85786252.44695336
//         },
//         "verified": "<boolean>"
//       },
//       "actor_id": "<integer>",
//       "created_at": "<string>",
//       "id": "<integer>",
//       "object": {
//         "officia1a2": true,
//         "qui9": "voluptate mollit Excepteur ipsum veniam",
//         "irure_1cd": "id ea"
//       },
//       "target": {
//         "sede8": false
//       },
//       "title": "<string>",
//       "updated_at": "<string>",
//       "url": "<string>",
//       "user": {
//         "name": "<string>",
//         "active": "<boolean>",
//         "alias": "<string>",
//         "chat_only": "<boolean>",
//         "created_at": "<string>",
//         "custom_role_id": "<integer>",
//         "default_group_id": "<integer>",
//         "details": "<string>",
//         "email": "<string>",
//         "external_id": "<string>",
//         "iana_time_zone": "<string>",
//         "id": "<integer>",
//         "last_login_at": "<string>",
//         "locale": "<string>",
//         "locale_id": "<integer>",
//         "moderator": "<boolean>",
//         "notes": "<string>",
//         "only_private_comments": "<boolean>",
//         "organization_id": "<integer>",
//         "phone": "<string>",
//         "photo": {
//           "Ut975": -74534220.66145113,
//           "magna3e": false
//         },
//         "remote_photo_url": "<string>",
//         "report_csv": "<boolean>",
//         "restricted_agent": "<boolean>",
//         "role": "<string>",
//         "role_type": "<integer>",
//         "shared": "<boolean>",
//         "shared_agent": "<boolean>",
//         "shared_phone_number": "<boolean>",
//         "signature": "<string>",
//         "suspended": "<boolean>",
//         "tags": "<array>",
//         "ticket_restriction": "<string>",
//         "time_zone": "<string>",
//         "two_factor_auth_enabled": "<boolean>",
//         "updated_at": "<string>",
//         "url": "<string>",
//         "user_fields": {
//           "ut_d": "tempor",
//           "adipisicing_7": 28937910,
//           "magna_9": -45754090.269199036
//         },
//         "verified": "<boolean>"
//       },
//       "user_id": "<integer>",
//       "verb": "<string>"
//     },
//     {
//       "actor": {
//         "name": "<string>",
//         "active": "<boolean>",
//         "alias": "<string>",
//         "chat_only": "<boolean>",
//         "created_at": "<string>",
//         "custom_role_id": "<integer>",
//         "default_group_id": "<integer>",
//         "details": "<string>",
//         "email": "<string>",
//         "external_id": "<string>",
//         "iana_time_zone": "<string>",
//         "id": "<integer>",
//         "last_login_at": "<string>",
//         "locale": "<string>",
//         "locale_id": "<integer>",
//         "moderator": "<boolean>",
//         "notes": "<string>",
//         "only_private_comments": "<boolean>",
//         "organization_id": "<integer>",
//         "phone": "<string>",
//         "photo": {
//           "aliquipb6": false
//         },
//         "remote_photo_url": "<string>",
//         "report_csv": "<boolean>",
//         "restricted_agent": "<boolean>",
//         "role": "<string>",
//         "role_type": "<integer>",
//         "shared": "<boolean>",
//         "shared_agent": "<boolean>",
//         "shared_phone_number": "<boolean>",
//         "signature": "<string>",
//         "suspended": "<boolean>",
//         "tags": "<array>",
//         "ticket_restriction": "<string>",
//         "time_zone": "<string>",
//         "two_factor_auth_enabled": "<boolean>",
//         "updated_at": "<string>",
//         "url": "<string>",
//         "user_fields": {
//           "euc13": "pariatur"
//         },
//         "verified": "<boolean>"
//       },
//       "actor_id": "<integer>",
//       "created_at": "<string>",
//       "id": "<integer>",
//       "object": {
//         "pariatur_39": -13246316,
//         "voluptate_8": false,
//         "ipsum4": -24640571
//       },
//       "target": {
//         "est_d": 43464084.60404679
//       },
//       "title": "<string>",
//       "updated_at": "<string>",
//       "url": "<string>",
//       "user": {
//         "name": "<string>",
//         "active": "<boolean>",
//         "alias": "<string>",
//         "chat_only": "<boolean>",
//         "created_at": "<string>",
//         "custom_role_id": "<integer>",
//         "default_group_id": "<integer>",
//         "details": "<string>",
//         "email": "<string>",
//         "external_id": "<string>",
//         "iana_time_zone": "<string>",
//         "id": "<integer>",
//         "last_login_at": "<string>",
//         "locale": "<string>",
//         "locale_id": "<integer>",
//         "moderator": "<boolean>",
//         "notes": "<string>",
//         "only_private_comments": "<boolean>",
//         "organization_id": "<integer>",
//         "phone": "<string>",
//         "photo": {
//           "esse_b": "occaec",
//           "ut_e6f": "Ut est deserunt"
//         },
//         "remote_photo_url": "<string>",
//         "report_csv": "<boolean>",
//         "restricted_agent": "<boolean>",
//         "role": "<string>",
//         "role_type": "<integer>",
//         "shared": "<boolean>",
//         "shared_agent": "<boolean>",
//         "shared_phone_number": "<boolean>",
//         "signature": "<string>",
//         "suspended": "<boolean>",
//         "tags": "<array>",
//         "ticket_restriction": "<string>",
//         "time_zone": "<string>",
//         "two_factor_auth_enabled": "<boolean>",
//         "updated_at": "<string>",
//         "url": "<string>",
//         "user_fields": {
//           "voluptatef": -38514506.191917874,
//           "utba9": -99737083,
//           "ut_2": false
//         },
//         "verified": "<boolean>"
//       },
//       "user_id": "<integer>",
//       "verb": "<string>"
//     }
//   ],
//   "actors": [
//     {
//       "Excepteur1_": -85145004.89320306,
//       "consectetura8a": -98072772.2193171,
//       "id_e": -68362078.49006462,
//       "reprehenderit_93": 96874887,
//       "elit7": "dolor"
//     },
//     {
//       "ad_1a": "sunt nulla incididunt sed"
//     }
//   ],
//   "count": "<integer>",
//   "next_page": "<string>",
//   "previous_page": "<string>",
//   "users": [
//     {
//       "anim40": -83874192,
//       "quisa9": 17607150.376219943,
//       "fugiat_e": true,
//       "non_224": 21739369.8385354
//     },
//     {
//       "cillumeb": "ut nisi sunt deserunt"
//     }
//   ]
// }

// Sample code for parsing the JSON response...
// Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code

NSString *Name = 0;
NSString *Active = 0;
NSString *Alias = 0;
NSString *Chat_only = 0;
NSString *Created_at = 0;
NSString *Custom_role_id = 0;
NSString *Default_group_id = 0;
NSString *Details = 0;
NSString *v_Email = 0;
NSString *External_id = 0;
NSString *Iana_time_zone = 0;
NSString *Id = 0;
NSString *Last_login_at = 0;
NSString *Locale = 0;
NSString *Locale_id = 0;
NSString *Moderator = 0;
NSString *Notes = 0;
NSString *Only_private_comments = 0;
NSString *Organization_id = 0;
NSString *Phone = 0;
int Adipisicing7;
BOOL Irure_70;
NSString *Remote_photo_url = 0;
NSString *Report_csv = 0;
NSString *Restricted_agent = 0;
NSString *Role = 0;
NSString *Role_type = 0;
NSString *v_Shared = 0;
NSString *Shared_agent = 0;
NSString *Shared_phone_number = 0;
NSString *Signature = 0;
NSString *Suspended = 0;
NSString *Tags = 0;
NSString *Ticket_restriction = 0;
NSString *Time_zone = 0;
NSString *Two_factor_auth_enabled = 0;
NSString *Updated_at = 0;
NSString *v_Url = 0;
NSString *Tempor_f = 0;
NSString *Verified = 0;
NSString *actor_id = 0;
NSString *created_at = 0;
NSString *id = 0;
BOOL Officia1a2;
NSString *Qui9 = 0;
NSString *Irure_1cd = 0;
BOOL Sede8;
NSString *title = 0;
NSString *updated_at = 0;
NSString *url = 0;
NSString *userName = 0;
NSString *userActive = 0;
NSString *userAlias = 0;
NSString *userChat_only = 0;
NSString *userCreated_at = 0;
NSString *userCustom_role_id = 0;
NSString *userDefault_group_id = 0;
NSString *userDetails = 0;
NSString *userEmail = 0;
NSString *userExternal_id = 0;
NSString *userIana_time_zone = 0;
NSString *userId = 0;
NSString *userLast_login_at = 0;
NSString *userLocale = 0;
NSString *userLocale_id = 0;
NSString *userModerator = 0;
NSString *userNotes = 0;
NSString *userOnly_private_comments = 0;
NSString *userOrganization_id = 0;
NSString *userPhone = 0;
NSString *Ut975 = 0;
BOOL Magna3e;
NSString *userRemote_photo_url = 0;
NSString *userReport_csv = 0;
NSString *userRestricted_agent = 0;
NSString *userRole = 0;
NSString *userRole_type = 0;
NSString *userShared = 0;
NSString *userShared_agent = 0;
NSString *userShared_phone_number = 0;
NSString *userSignature = 0;
NSString *userSuspended = 0;
NSString *userTags = 0;
NSString *userTicket_restriction = 0;
NSString *userTime_zone = 0;
NSString *userTwo_factor_auth_enabled = 0;
NSString *userUpdated_at = 0;
NSString *userUrl = 0;
NSString *Ut_d = 0;
int Adipisicing_7;
NSString *Magna_9 = 0;
NSString *userVerified = 0;
NSString *user_id = 0;
NSString *verb = 0;
BOOL Aliquipb6;
NSString *Euc13 = 0;
int Pariatur_39;
BOOL Voluptate_8;
int Ipsum4;
NSString *Est_d = 0;
NSString *Esse_b = 0;
NSString *Ut_e6f = 0;
NSString *Voluptatef = 0;
int Utba9;
BOOL Ut_2;
NSString *Excepteur1_ = 0;
NSString *consectetura8a = 0;
NSString *id_e = 0;
int reprehenderit_93;
NSString *elit7 = 0;
NSString *ad_1a = 0;
int anim40;
NSString *quisa9 = 0;
BOOL fugiat_e;
NSString *non_224 = 0;
NSString *cillumeb = 0;

NSString *count = [jResp StringOf: @"count"];
NSString *next_page = [jResp StringOf: @"next_page"];
NSString *previous_page = [jResp StringOf: @"previous_page"];
int i = 0;
int count_i = [[jResp SizeOfArray: @"activities"] intValue];
while (i < count_i) {
    jResp.I = [NSNumber numberWithInt: i];
    Name = [jResp StringOf: @"activities[i].actor.name"];
    Active = [jResp StringOf: @"activities[i].actor.active"];
    Alias = [jResp StringOf: @"activities[i].actor.alias"];
    Chat_only = [jResp StringOf: @"activities[i].actor.chat_only"];
    Created_at = [jResp StringOf: @"activities[i].actor.created_at"];
    Custom_role_id = [jResp StringOf: @"activities[i].actor.custom_role_id"];
    Default_group_id = [jResp StringOf: @"activities[i].actor.default_group_id"];
    Details = [jResp StringOf: @"activities[i].actor.details"];
    v_Email = [jResp StringOf: @"activities[i].actor.email"];
    External_id = [jResp StringOf: @"activities[i].actor.external_id"];
    Iana_time_zone = [jResp StringOf: @"activities[i].actor.iana_time_zone"];
    Id = [jResp StringOf: @"activities[i].actor.id"];
    Last_login_at = [jResp StringOf: @"activities[i].actor.last_login_at"];
    Locale = [jResp StringOf: @"activities[i].actor.locale"];
    Locale_id = [jResp StringOf: @"activities[i].actor.locale_id"];
    Moderator = [jResp StringOf: @"activities[i].actor.moderator"];
    Notes = [jResp StringOf: @"activities[i].actor.notes"];
    Only_private_comments = [jResp StringOf: @"activities[i].actor.only_private_comments"];
    Organization_id = [jResp StringOf: @"activities[i].actor.organization_id"];
    Phone = [jResp StringOf: @"activities[i].actor.phone"];
    Adipisicing7 = [[jResp IntOf: @"activities[i].actor.photo.adipisicing7"] intValue];
    Irure_70 = [jResp BoolOf: @"activities[i].actor.photo.irure_70"];
    Remote_photo_url = [jResp StringOf: @"activities[i].actor.remote_photo_url"];
    Report_csv = [jResp StringOf: @"activities[i].actor.report_csv"];
    Restricted_agent = [jResp StringOf: @"activities[i].actor.restricted_agent"];
    Role = [jResp StringOf: @"activities[i].actor.role"];
    Role_type = [jResp StringOf: @"activities[i].actor.role_type"];
    v_Shared = [jResp StringOf: @"activities[i].actor.shared"];
    Shared_agent = [jResp StringOf: @"activities[i].actor.shared_agent"];
    Shared_phone_number = [jResp StringOf: @"activities[i].actor.shared_phone_number"];
    Signature = [jResp StringOf: @"activities[i].actor.signature"];
    Suspended = [jResp StringOf: @"activities[i].actor.suspended"];
    Tags = [jResp StringOf: @"activities[i].actor.tags"];
    Ticket_restriction = [jResp StringOf: @"activities[i].actor.ticket_restriction"];
    Time_zone = [jResp StringOf: @"activities[i].actor.time_zone"];
    Two_factor_auth_enabled = [jResp StringOf: @"activities[i].actor.two_factor_auth_enabled"];
    Updated_at = [jResp StringOf: @"activities[i].actor.updated_at"];
    v_Url = [jResp StringOf: @"activities[i].actor.url"];
    Tempor_f = [jResp StringOf: @"activities[i].actor.user_fields.tempor_f"];
    Verified = [jResp StringOf: @"activities[i].actor.verified"];
    actor_id = [jResp StringOf: @"activities[i].actor_id"];
    created_at = [jResp StringOf: @"activities[i].created_at"];
    id = [jResp StringOf: @"activities[i].id"];
    Officia1a2 = [jResp BoolOf: @"activities[i].object.officia1a2"];
    Qui9 = [jResp StringOf: @"activities[i].object.qui9"];
    Irure_1cd = [jResp StringOf: @"activities[i].object.irure_1cd"];
    Sede8 = [jResp BoolOf: @"activities[i].target.sede8"];
    title = [jResp StringOf: @"activities[i].title"];
    updated_at = [jResp StringOf: @"activities[i].updated_at"];
    url = [jResp StringOf: @"activities[i].url"];
    userName = [jResp StringOf: @"activities[i].user.name"];
    userActive = [jResp StringOf: @"activities[i].user.active"];
    userAlias = [jResp StringOf: @"activities[i].user.alias"];
    userChat_only = [jResp StringOf: @"activities[i].user.chat_only"];
    userCreated_at = [jResp StringOf: @"activities[i].user.created_at"];
    userCustom_role_id = [jResp StringOf: @"activities[i].user.custom_role_id"];
    userDefault_group_id = [jResp StringOf: @"activities[i].user.default_group_id"];
    userDetails = [jResp StringOf: @"activities[i].user.details"];
    userEmail = [jResp StringOf: @"activities[i].user.email"];
    userExternal_id = [jResp StringOf: @"activities[i].user.external_id"];
    userIana_time_zone = [jResp StringOf: @"activities[i].user.iana_time_zone"];
    userId = [jResp StringOf: @"activities[i].user.id"];
    userLast_login_at = [jResp StringOf: @"activities[i].user.last_login_at"];
    userLocale = [jResp StringOf: @"activities[i].user.locale"];
    userLocale_id = [jResp StringOf: @"activities[i].user.locale_id"];
    userModerator = [jResp StringOf: @"activities[i].user.moderator"];
    userNotes = [jResp StringOf: @"activities[i].user.notes"];
    userOnly_private_comments = [jResp StringOf: @"activities[i].user.only_private_comments"];
    userOrganization_id = [jResp StringOf: @"activities[i].user.organization_id"];
    userPhone = [jResp StringOf: @"activities[i].user.phone"];
    Ut975 = [jResp StringOf: @"activities[i].user.photo.Ut975"];
    Magna3e = [jResp BoolOf: @"activities[i].user.photo.magna3e"];
    userRemote_photo_url = [jResp StringOf: @"activities[i].user.remote_photo_url"];
    userReport_csv = [jResp StringOf: @"activities[i].user.report_csv"];
    userRestricted_agent = [jResp StringOf: @"activities[i].user.restricted_agent"];
    userRole = [jResp StringOf: @"activities[i].user.role"];
    userRole_type = [jResp StringOf: @"activities[i].user.role_type"];
    userShared = [jResp StringOf: @"activities[i].user.shared"];
    userShared_agent = [jResp StringOf: @"activities[i].user.shared_agent"];
    userShared_phone_number = [jResp StringOf: @"activities[i].user.shared_phone_number"];
    userSignature = [jResp StringOf: @"activities[i].user.signature"];
    userSuspended = [jResp StringOf: @"activities[i].user.suspended"];
    userTags = [jResp StringOf: @"activities[i].user.tags"];
    userTicket_restriction = [jResp StringOf: @"activities[i].user.ticket_restriction"];
    userTime_zone = [jResp StringOf: @"activities[i].user.time_zone"];
    userTwo_factor_auth_enabled = [jResp StringOf: @"activities[i].user.two_factor_auth_enabled"];
    userUpdated_at = [jResp StringOf: @"activities[i].user.updated_at"];
    userUrl = [jResp StringOf: @"activities[i].user.url"];
    Ut_d = [jResp StringOf: @"activities[i].user.user_fields.ut_d"];
    Adipisicing_7 = [[jResp IntOf: @"activities[i].user.user_fields.adipisicing_7"] intValue];
    Magna_9 = [jResp StringOf: @"activities[i].user.user_fields.magna_9"];
    userVerified = [jResp StringOf: @"activities[i].user.verified"];
    user_id = [jResp StringOf: @"activities[i].user_id"];
    verb = [jResp StringOf: @"activities[i].verb"];
    Aliquipb6 = [jResp BoolOf: @"activities[i].actor.photo.aliquipb6"];
    Euc13 = [jResp StringOf: @"activities[i].actor.user_fields.euc13"];
    Pariatur_39 = [[jResp IntOf: @"activities[i].object.pariatur_39"] intValue];
    Voluptate_8 = [jResp BoolOf: @"activities[i].object.voluptate_8"];
    Ipsum4 = [[jResp IntOf: @"activities[i].object.ipsum4"] intValue];
    Est_d = [jResp StringOf: @"activities[i].target.est_d"];
    Esse_b = [jResp StringOf: @"activities[i].user.photo.esse_b"];
    Ut_e6f = [jResp StringOf: @"activities[i].user.photo.ut_e6f"];
    Voluptatef = [jResp StringOf: @"activities[i].user.user_fields.voluptatef"];
    Utba9 = [[jResp IntOf: @"activities[i].user.user_fields.utba9"] intValue];
    Ut_2 = [jResp BoolOf: @"activities[i].user.user_fields.ut_2"];
    i = i + 1;
}

i = 0;
count_i = [[jResp SizeOfArray: @"actors"] intValue];
while (i < count_i) {
    jResp.I = [NSNumber numberWithInt: i];
    Excepteur1_ = [jResp StringOf: @"actors[i].Excepteur1_"];
    consectetura8a = [jResp StringOf: @"actors[i].consectetura8a"];
    id_e = [jResp StringOf: @"actors[i].id_e"];
    reprehenderit_93 = [[jResp IntOf: @"actors[i].reprehenderit_93"] intValue];
    elit7 = [jResp StringOf: @"actors[i].elit7"];
    ad_1a = [jResp StringOf: @"actors[i].ad_1a"];
    i = i + 1;
}

i = 0;
count_i = [[jResp SizeOfArray: @"users"] intValue];
while (i < count_i) {
    jResp.I = [NSNumber numberWithInt: i];
    anim40 = [[jResp IntOf: @"users[i].anim40"] intValue];
    quisa9 = [jResp StringOf: @"users[i].quisa9"];
    fugiat_e = [jResp BoolOf: @"users[i].fugiat_e"];
    non_224 = [jResp StringOf: @"users[i].non_224"];
    cillumeb = [jResp StringOf: @"users[i].cillumeb"];
    i = i + 1;
}

Curl Command

curl  -u login:password -G -d "since=%3Cstring%3E"
	-H "Accept: application/json"
https://example.zendesk.com/api/v2/activities

Postman Collection Item JSON

{
  "name": "List Activities",
  "request": {
    "method": "GET",
    "header": [
      {
        "key": "Accept",
        "value": "application/json"
      }
    ],
    "url": {
      "raw": "{{baseUrl}}/api/v2/activities?since=<string>",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "v2",
        "activities"
      ],
      "query": [
        {
          "key": "since",
          "value": "<string>",
          "description": "A UTC time in ISO 8601 format to return ticket activities since said date."
        }
      ]
    },
    "description": "Lists ticket activities in the last 30 days affecting the agent making the request.\nAlso sideloads the following arrays of user records:\n\n- actors - All actors involved in the listed activities\n- users - All users involved in the listed activities\n\n#### Pagination\n\n- Cursor pagination (recommended)\n- Offset pagination\n\nSee [Pagination](/api-reference/introduction/pagination/).\n\nReturns a maximum of 100 records per page.\n\n#### Allowed For\n\n* Agents\n"
  },
  "response": [
    {
      "name": "Success response",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": "Added as a part of security scheme: basic",
            "key": "Authorization",
            "value": "Basic <credentials>"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v2/activities?since=<string>",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v2",
            "activities"
          ],
          "query": [
            {
              "key": "since",
              "value": "<string>",
              "description": "A UTC time in ISO 8601 format to return ticket activities since said date."
            }
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n  \"activities\": [\n    {\n      \"actor\": {\n        \"name\": \"<string>\",\n        \"active\": \"<boolean>\",\n        \"alias\": \"<string>\",\n        \"chat_only\": \"<boolean>\",\n        \"created_at\": \"<string>\",\n        \"custom_role_id\": \"<integer>\",\n        \"default_group_id\": \"<integer>\",\n        \"details\": \"<string>\",\n        \"email\": \"<string>\",\n        \"external_id\": \"<string>\",\n        \"iana_time_zone\": \"<string>\",\n        \"id\": \"<integer>\",\n        \"last_login_at\": \"<string>\",\n        \"locale\": \"<string>\",\n        \"locale_id\": \"<integer>\",\n        \"moderator\": \"<boolean>\",\n        \"notes\": \"<string>\",\n        \"only_private_comments\": \"<boolean>\",\n        \"organization_id\": \"<integer>\",\n        \"phone\": \"<string>\",\n        \"photo\": {\n          \"adipisicing7\": 56151302,\n          \"irure_70\": true\n        },\n        \"remote_photo_url\": \"<string>\",\n        \"report_csv\": \"<boolean>\",\n        \"restricted_agent\": \"<boolean>\",\n        \"role\": \"<string>\",\n        \"role_type\": \"<integer>\",\n        \"shared\": \"<boolean>\",\n        \"shared_agent\": \"<boolean>\",\n        \"shared_phone_number\": \"<boolean>\",\n        \"signature\": \"<string>\",\n        \"suspended\": \"<boolean>\",\n        \"tags\": \"<array>\",\n        \"ticket_restriction\": \"<string>\",\n        \"time_zone\": \"<string>\",\n        \"two_factor_auth_enabled\": \"<boolean>\",\n        \"updated_at\": \"<string>\",\n        \"url\": \"<string>\",\n        \"user_fields\": {\n          \"tempor_f\": 85786252.44695336\n        },\n        \"verified\": \"<boolean>\"\n      },\n      \"actor_id\": \"<integer>\",\n      \"created_at\": \"<string>\",\n      \"id\": \"<integer>\",\n      \"object\": {\n        \"officia1a2\": true,\n        \"qui9\": \"voluptate mollit Excepteur ipsum veniam\",\n        \"irure_1cd\": \"id ea\"\n      },\n      \"target\": {\n        \"sede8\": false\n      },\n      \"title\": \"<string>\",\n      \"updated_at\": \"<string>\",\n      \"url\": \"<string>\",\n      \"user\": {\n        \"name\": \"<string>\",\n        \"active\": \"<boolean>\",\n        \"alias\": \"<string>\",\n        \"chat_only\": \"<boolean>\",\n        \"created_at\": \"<string>\",\n        \"custom_role_id\": \"<integer>\",\n        \"default_group_id\": \"<integer>\",\n        \"details\": \"<string>\",\n        \"email\": \"<string>\",\n        \"external_id\": \"<string>\",\n        \"iana_time_zone\": \"<string>\",\n        \"id\": \"<integer>\",\n        \"last_login_at\": \"<string>\",\n        \"locale\": \"<string>\",\n        \"locale_id\": \"<integer>\",\n        \"moderator\": \"<boolean>\",\n        \"notes\": \"<string>\",\n        \"only_private_comments\": \"<boolean>\",\n        \"organization_id\": \"<integer>\",\n        \"phone\": \"<string>\",\n        \"photo\": {\n          \"Ut975\": -74534220.66145113,\n          \"magna3e\": false\n        },\n        \"remote_photo_url\": \"<string>\",\n        \"report_csv\": \"<boolean>\",\n        \"restricted_agent\": \"<boolean>\",\n        \"role\": \"<string>\",\n        \"role_type\": \"<integer>\",\n        \"shared\": \"<boolean>\",\n        \"shared_agent\": \"<boolean>\",\n        \"shared_phone_number\": \"<boolean>\",\n        \"signature\": \"<string>\",\n        \"suspended\": \"<boolean>\",\n        \"tags\": \"<array>\",\n        \"ticket_restriction\": \"<string>\",\n        \"time_zone\": \"<string>\",\n        \"two_factor_auth_enabled\": \"<boolean>\",\n        \"updated_at\": \"<string>\",\n        \"url\": \"<string>\",\n        \"user_fields\": {\n          \"ut_d\": \"tempor\",\n          \"adipisicing_7\": 28937910,\n          \"magna_9\": -45754090.269199036\n        },\n        \"verified\": \"<boolean>\"\n      },\n      \"user_id\": \"<integer>\",\n      \"verb\": \"<string>\"\n    },\n    {\n      \"actor\": {\n        \"name\": \"<string>\",\n        \"active\": \"<boolean>\",\n        \"alias\": \"<string>\",\n        \"chat_only\": \"<boolean>\",\n        \"created_at\": \"<string>\",\n        \"custom_role_id\": \"<integer>\",\n        \"default_group_id\": \"<integer>\",\n        \"details\": \"<string>\",\n        \"email\": \"<string>\",\n        \"external_id\": \"<string>\",\n        \"iana_time_zone\": \"<string>\",\n        \"id\": \"<integer>\",\n        \"last_login_at\": \"<string>\",\n        \"locale\": \"<string>\",\n        \"locale_id\": \"<integer>\",\n        \"moderator\": \"<boolean>\",\n        \"notes\": \"<string>\",\n        \"only_private_comments\": \"<boolean>\",\n        \"organization_id\": \"<integer>\",\n        \"phone\": \"<string>\",\n        \"photo\": {\n          \"aliquipb6\": false\n        },\n        \"remote_photo_url\": \"<string>\",\n        \"report_csv\": \"<boolean>\",\n        \"restricted_agent\": \"<boolean>\",\n        \"role\": \"<string>\",\n        \"role_type\": \"<integer>\",\n        \"shared\": \"<boolean>\",\n        \"shared_agent\": \"<boolean>\",\n        \"shared_phone_number\": \"<boolean>\",\n        \"signature\": \"<string>\",\n        \"suspended\": \"<boolean>\",\n        \"tags\": \"<array>\",\n        \"ticket_restriction\": \"<string>\",\n        \"time_zone\": \"<string>\",\n        \"two_factor_auth_enabled\": \"<boolean>\",\n        \"updated_at\": \"<string>\",\n        \"url\": \"<string>\",\n        \"user_fields\": {\n          \"euc13\": \"pariatur\"\n        },\n        \"verified\": \"<boolean>\"\n      },\n      \"actor_id\": \"<integer>\",\n      \"created_at\": \"<string>\",\n      \"id\": \"<integer>\",\n      \"object\": {\n        \"pariatur_39\": -13246316,\n        \"voluptate_8\": false,\n        \"ipsum4\": -24640571\n      },\n      \"target\": {\n        \"est_d\": 43464084.60404679\n      },\n      \"title\": \"<string>\",\n      \"updated_at\": \"<string>\",\n      \"url\": \"<string>\",\n      \"user\": {\n        \"name\": \"<string>\",\n        \"active\": \"<boolean>\",\n        \"alias\": \"<string>\",\n        \"chat_only\": \"<boolean>\",\n        \"created_at\": \"<string>\",\n        \"custom_role_id\": \"<integer>\",\n        \"default_group_id\": \"<integer>\",\n        \"details\": \"<string>\",\n        \"email\": \"<string>\",\n        \"external_id\": \"<string>\",\n        \"iana_time_zone\": \"<string>\",\n        \"id\": \"<integer>\",\n        \"last_login_at\": \"<string>\",\n        \"locale\": \"<string>\",\n        \"locale_id\": \"<integer>\",\n        \"moderator\": \"<boolean>\",\n        \"notes\": \"<string>\",\n        \"only_private_comments\": \"<boolean>\",\n        \"organization_id\": \"<integer>\",\n        \"phone\": \"<string>\",\n        \"photo\": {\n          \"esse_b\": \"occaec\",\n          \"ut_e6f\": \"Ut est deserunt\"\n        },\n        \"remote_photo_url\": \"<string>\",\n        \"report_csv\": \"<boolean>\",\n        \"restricted_agent\": \"<boolean>\",\n        \"role\": \"<string>\",\n        \"role_type\": \"<integer>\",\n        \"shared\": \"<boolean>\",\n        \"shared_agent\": \"<boolean>\",\n        \"shared_phone_number\": \"<boolean>\",\n        \"signature\": \"<string>\",\n        \"suspended\": \"<boolean>\",\n        \"tags\": \"<array>\",\n        \"ticket_restriction\": \"<string>\",\n        \"time_zone\": \"<string>\",\n        \"two_factor_auth_enabled\": \"<boolean>\",\n        \"updated_at\": \"<string>\",\n        \"url\": \"<string>\",\n        \"user_fields\": {\n          \"voluptatef\": -38514506.191917874,\n          \"utba9\": -99737083,\n          \"ut_2\": false\n        },\n        \"verified\": \"<boolean>\"\n      },\n      \"user_id\": \"<integer>\",\n      \"verb\": \"<string>\"\n    }\n  ],\n  \"actors\": [\n    {\n      \"Excepteur1_\": -85145004.89320306,\n      \"consectetura8a\": -98072772.2193171,\n      \"id_e\": -68362078.49006462,\n      \"reprehenderit_93\": 96874887,\n      \"elit7\": \"dolor\"\n    },\n    {\n      \"ad_1a\": \"sunt nulla incididunt sed\"\n    }\n  ],\n  \"count\": \"<integer>\",\n  \"next_page\": \"<string>\",\n  \"previous_page\": \"<string>\",\n  \"users\": [\n    {\n      \"anim40\": -83874192,\n      \"quisa9\": 17607150.376219943,\n      \"fugiat_e\": true,\n      \"non_224\": 21739369.8385354\n    },\n    {\n      \"cillumeb\": \"ut nisi sunt deserunt\"\n    }\n  ]\n}"
    }
  ]
}