Searching for activities

In BillingCenter, you can search for activities using the following endpoint:

POST /common/v1/search/activities

Unlike GET /common/v1/activities, which returns activities assigned to the caller, the search endpoint lets you find activities based on the assignee's name, associated trouble ticket, or activity pattern.

Search parameters

Include search criteria in the request body under data.attributes. You can combine parameters in a single request. Results are returned only for activities that match all provided parameters.

For string search parameter fields, BillingCenter supports partial string matching. The search value must match the beginning of the string.

Parameter Description
assignedToLastName Returns activities assigned to users whose last name contains the provided string. Case-insensitive and supports partial string matching.
assignedToFirstName Returns activities assigned to users whose first name contains the provided string.
troubleTicketNumber Returns activities linked to the specified trouble ticket. Provide the trouble ticket number as a string.
activityPattern Returns activities with the given activity pattern. Provide the code of the activity pattern, such as notification. Case-insensitive and supports partial string matching.

Examples

Search by assignee last name

Request

POST /common/v1/search/activities
{
  "data": {
    "attributes": {
      "assignedToLastName": "Maple"
    }
  }
}

Response

{
    "count": 1,
    "data": [
        {
            "attributes": {
                "activityType": {
                    "code": "general",
                    "name": "General"
                },
                "assignedByUser": {
                    "displayName": "Super User",
                    "id": "default_data:1",
                    "type": "User",
                    "uri": "/admin/v1/users/default_data:1"
                },
                "assignedGroup": {
                    "displayName": "Group 1",
                    "id": "bc:SZ0koM8qN_Ju7IZFNTk8w",
                    "type": "Group",
                    "uri": "/admin/v1/groups/bc:SZ0koM8qN_Ju7IZFNTk8w"
                },
                "assignedUser": {
                    "displayName": "Marla Maples",
                    "id": "bc:S2u6Z-dSzTNL-yaei9xGA",
                    "type": "User",
                    "uri": "/admin/v1/users/bc:S2u6Z-dSzTNL-yaei9xGA"
                },
                "assignmentDate": "2026-05-04T19:23:06.144Z",
                "assignmentStatus": {
                    "code": "assigned",
                    "name": "Assigned"
                },
                "createTime": "2026-05-04T19:23:06.145Z",
                "escalated": false,
                "externallyOwned": false,
                "id": "bc:SCXs4cWUapVUCJ6DAJNVi",
                "mandatory": false,
                "priority": {
                    "code": "normal",
                    "name": "Normal"
                },
                "recurring": false,
                "status": {
                    "code": "open",
                    "name": "Open"
                },
                "subject": "Review policy renewal",
                "subtype": {
                    "code": "Activity",
                    "name": "Activity"
                }
            },
        ...
        }
    }
}

Search by activity pattern

Request

POST /common/v1/search/activities
{
  "data": {
    "attributes": {
        "activityPattern": "notification"
    }
  }
}

Authorization

The following roles are authorized to call POST /common/v1/search/activities:

  • Billing_Manager
  • Finance_Manager
  • General_Admin
  • Underwriter