ContactMethods_GetContactMethods
Retrieve contact methods for a specific contact in ServiceTitan by filtering or sorting based on type, value, creation/modification dates, page size, and more. Use reference ID or include total count for precise queries.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
contactId | Yes | Format - guid. | |
createdBefore | No | Format - date-time (as date-time in RFC3339). Return items created before certain date/time (in UTC) | |
createdOnOrAfter | No | Format - date-time (as date-time in RFC3339). Return items created on or after certain date/time (in UTC) | |
includeTotal | No | Whether total count should be returned | |
modifiedBefore | No | Format - date-time (as date-time in RFC3339). Return items modified before certain date/time (in UTC) | |
modifiedOnOrAfter | No | Format - date-time (as date-time in RFC3339). Return items modified on or after certain date/time (in UTC) | |
page | No | Format - int32. The logical number of page to return, starting from 1 | |
pageSize | No | Format - int32. How many records to return (50 by default) | |
referenceId | No | Filters by reference ID | |
sort | No | Applies sorting by the specified field: "?sort=+FieldName" for ascending order, "?sort=-FieldName" for descending order. Available fields are: Id, ModifiedOn, CreatedOn. | |
tenant | Yes | Format - int64. Tenant ID | |
type | No | Filters by contact method type | |
value | No | Filters by contact method value |