Get a Jobs Count
This web service returns a total count and individual count of all job statuses for jobs that have been filtered by a BigChange contact, and where the start date of the job falls between a specified start and end date. A DateFilterOption is provided to determine the date filter options – where none is provided, the date used will default to the planned date (the job start date).
Query String Parameters
Name | Type | Description | Required |
---|---|---|---|
Action | String | JobsCount | Required |
ContactId | String | The unique identifier of the contact which can be retrieved using Contact List. | Required - Where Id not used contact reference must be used instead |
ContactReference | The internal reference of the contact. | Required - Where Reference not used contact Id must be used instead | |
Start | String | From Date Range - e.g ‘2024-01-15 09:00:00.000’. | Required |
End | String | To Date Range - e.g ‘2024-01-15 11:30:00.000’. | Required |
DateFilterOption | Int | Sets date field to be used for the filter | Optional |
Example
- Request
- Response
https://webservice.bigchange.com/v01/services.ashx?action=jobscount
{
"Code": 0,
"Result": [
{
"Item1": "%%TODO%%",
"Item2": "Set",
"Item3": ""
}
]
}