younifyd
Menu

Get Customer Activity Reports Without Total Count

Get Activity Reports for Application Customers

GET/v1/applications/{applicationId}/customer_activity_reports/no_total

Use it in a workflow

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

Request

Path parameters

applicationIdinteger (int64)required

The ID of the Application. It is displayed in your Talon.One deployment URL.

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.

rangeStartstring (date-time)required

Only return results from after this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.

rangeEndstring (date-time)required

Only return results from before this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.

namestring

Only return reports matching the customer name.

integrationIdstring

Filter results performing an exact matching against the profile integration identifier.

campaignNamestring

Only return reports matching the campaign name.

advocateNamestring

Only return reports matching the current customer referrer name.

Response

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

hasMoreboolean
dataarray<object>
integrationIdstring (string)required

The integration ID set by your integration layer.

createdstring (date-time)required

The time this entity was created.

namestringrequired

The name for this customer profile.

customerIdinteger (int64)required

The internal Talon.One ID of the customer.

lastActivitystring (date-time)

The last activity of the customer.

couponRedemptionsinteger (int64)required

Number of coupon redemptions in all customer campaigns.

couponUseAttemptsinteger (int64)required

Number of coupon use attempts in all customer campaigns.

couponFailedAttemptsinteger (int64)required

Number of failed coupon use attempts in all customer campaigns.

accruedDiscountsnumberrequired

Number of accrued discounts in all customer campaigns.

accruedRevenuenumberrequired

Amount of accrued revenue in all customer campaigns.

totalOrdersinteger (int64)required

Number of orders in all customer campaigns.

totalOrdersNoCouponinteger (int64)required

Number of orders without coupon used in all customer campaigns.

campaignNamestringrequired

The name of the campaign this customer belongs to.

json
{
  "hasMore": false,
  "data": [
    {
      "couponUseAttempts": 1,
      "created": {},
      "totalOrdersNoCoupon": 9,
      "integrationId": "URNGV8294NV",
      "couponRedemptions": 6,
      "couponFailedAttempts": 5,
      "accruedRevenue": 2.3021358869347655,
      "name": "name",
      "customerId": 0,
      "lastActivity": {},
      "totalOrders": 7,
      "campaignName": "campaignName",
      "accruedDiscounts": 5.637376656633329
    }
  ]
}

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