S3 jobs
Creates a new job with the specified configuration.
Authorizations
Body
namestringRequiredExample:
Test jobResponses
201
Job successfully created
application/json
jobIdstring · uuidOptionalExample:
0d842cd5-cbc1-4ab2-9943-f1307f214b14post/job/create
POST /external-api/v1/job/create HTTP/1.1
Host: api.timetackle.com
Content-Type: application/json
Accept: */*
Content-Length: 632
{
"name": "Test job",
"config": {
"teamId": 1234,
"calendarIds": [
"sudipta@timetackle.com"
],
"startDate": "2023-04-01",
"endDate": "2023-09-30",
"mergeAll": false,
"filters": {
"search": [
"text"
],
"tag": [
"text"
],
"allDay": "INCLUDE",
"rsvp": false,
"hasCrmAccount": true,
"hasCrmOpportunity": true,
"hasCrmOpportunityOwner": true,
"hasCrmStage": true,
"crmAccountTags": [
"text"
],
"crmOpportunityTags": [
"text"
],
"crmOpportunityOwnerTags": [
"text"
],
"crmStageTags": [
"text"
],
"taggedEvent": true
},
"formatting": {
"date": "MM_DD_YYYY",
"time": "HOUR_MIN_AMPM",
"duration": "HOURS_IN_DECIMAL",
"color": "NONE",
"excludeOrganizer": false,
"excludeResource": false,
"singleColumnTag": false
}
}
}201
Job successfully created
{
"jobId": "0d842cd5-cbc1-4ab2-9943-f1307f214b14"
}Retrieves a list of jobs with their details.
Authorizations
Responses
200
List of jobs
application/json
idintegerOptionalExample:
28jobIdstring · uuidOptionalExample:
0d842cd5-cbc1-4ab2-9943-f1307f214b14statusstring · enumOptionalExample:
SUCCEEDPossible values: namestringOptionalExample:
Test jobexecutedAtstring · date-timeOptionalExample:
2023-07-03T06:54:28ZlastModifiedAtstring · date-timeOptionalExample:
2023-07-03T06:54:39Zget/job/list
GET /external-api/v1/job/list HTTP/1.1
Host: api.timetackle.com
Accept: */*
200
List of jobs
[
{
"id": 28,
"jobId": "0d842cd5-cbc1-4ab2-9943-f1307f214b14",
"status": "SUCCEED",
"name": "Test job",
"config": {
"teamId": 1234,
"calendarIds": [
"sudipta@timetackle.com"
],
"startDate": "2023-04-01",
"endDate": "2023-09-30",
"mergeAll": false,
"filters": {
"search": [
"text"
],
"tag": [
"text"
],
"allDay": "INCLUDE",
"rsvp": false,
"hasCrmAccount": true,
"hasCrmOpportunity": true,
"hasCrmOpportunityOwner": true,
"hasCrmStage": true,
"crmAccountTags": [
"text"
],
"crmOpportunityTags": [
"text"
],
"crmOpportunityOwnerTags": [
"text"
],
"crmStageTags": [
"text"
],
"taggedEvent": true
},
"formatting": {
"date": "MM_DD_YYYY",
"time": "HOUR_MIN_AMPM",
"duration": "HOURS_IN_DECIMAL",
"color": "NONE",
"excludeOrganizer": false,
"excludeResource": false,
"singleColumnTag": false
}
},
"executedAt": "2023-07-03T06:54:28Z",
"lastModifiedAt": "2023-07-03T06:54:39Z"
}
]Last updated