ServiceTitan MCP Server

campaign_costs_get_list

Retrieve a list of campaign costs by specifying campaign, tenant, and date parameters. Supports pagination, sorting, and optional total count inclusion for efficient data management.

Input Schema

NameRequiredDescriptionDefault
campaignIdNoFormat - int64. Campaign ID
includeTotalNoWhether total count should be returned
monthNoFormat - int32. Month
pageNoFormat - int32. The logical number of page to return, starting from 1
pageSizeNoFormat - int32. How many records to return (50 by default)
sortNoApplies sorting by the specified field: "?sort=+FieldName" for ascending order, "?sort=-FieldName" for descending order. Available fields are: Id, Date (Year + Month)
tenantYesFormat - int64. Tenant ID
yearNoFormat - int32. Year

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "campaignId": { "description": "Format - int64. Campaign ID", "type": "integer" }, "includeTotal": { "description": "Whether total count should be returned", "type": "boolean" }, "month": { "description": "Format - int32. Month", "type": "integer" }, "page": { "description": "Format - int32. The logical number of page to return, starting from 1", "type": "integer" }, "pageSize": { "description": "Format - int32. How many records to return (50 by default)", "type": "integer" }, "sort": { "description": "Applies sorting by the specified field:\n\"?sort=+FieldName\" for ascending order,\n\"?sort=-FieldName\" for descending order.\n\nAvailable fields are: Id, Date (Year + Month)", "type": "string" }, "tenant": { "description": "Format - int64. Tenant ID", "type": "integer" }, "year": { "description": "Format - int32. Year", "type": "integer" } }, "required": [ "tenant" ], "type": "object" }

You must be authenticated.

Other Tools from ServiceTitan MCP Server

Related Tools

ID: mrnu4dtu2r