API Documentation
Approval Workflows ¶
GET /api/v2/approval_workflows
Requests
GET /api/v2/approval_workflows
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
"data": [
{
"id": "1",
"type": "approval_workflows",
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 5
}
},
"event": {
"data": {
"type": "events",
"id": "1"
}
},
"person": {
"data": {
"type": "people",
"id": "38"
}
}
}
},
{
"id": "2",
"type": "approval_workflows",
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 5
}
},
"event": {
"data": {
"type": "events",
"id": "2"
}
},
"person": {
"data": {
"type": "people",
"id": "41"
}
}
}
},
{
"id": "3",
"type": "approval_workflows",
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 5
}
},
"event": {
"data": {
"type": "events",
"id": "3"
}
},
"person": {
"data": {
"type": "people",
"id": "42"
}
}
}
},
{
"id": "4",
"type": "approval_workflows",
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 5
}
},
"event": {
"data": {
"type": "events",
"id": "4"
}
},
"person": {
"data": {
"type": "people",
"id": "43"
}
}
}
}
],
"included": [
{
"id": "1",
"type": "events",
"attributes": {
"name": "test name",
"event_type_id": 2,
"icon_id": null,
"color_id": null,
"archived_at": null,
"limitation_type_id": 2
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 5
}
}
}
},
{
"id": "38",
"type": "people",
"attributes": {
"first_name": "test first name",
"last_name": "test last name",
"email": "user38@email.com",
"title": null,
"joined_at": null,
"last_seen_at": null,
"deactivated_at": null,
"archived_at": null,
"role_id": 3,
"invited_at": "2021-04-15T01:02:44.000+02:00",
"is_user": true,
"user_id": 38,
"tag_list": [],
"avatar_url": null,
"virtual": false,
"custom_fields": null,
"autotracking": false,
"created_at": "2021-04-15T01:02:44.864+02:00",
"placeholder": false,
"color_id": null,
"private_custom_reports_used": 0,
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 5
}
},
"company": {
"data": {
"type": "companies",
"id": "56"
}
},
"subsidiary": {
"data": null
}
}
},
{
"id": "2",
"type": "events",
"attributes": {
"name": "test name",
"event_type_id": 2,
"icon_id": null,
"color_id": null,
"archived_at": null,
"limitation_type_id": 2
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 5
}
}
}
},
{
"id": "41",
"type": "people",
"attributes": {
"first_name": "test first name",
"last_name": "test last name",
"email": "user41@email.com",
"title": null,
"joined_at": null,
"last_seen_at": null,
"deactivated_at": null,
"archived_at": null,
"role_id": 3,
"invited_at": "2021-04-15T01:02:44.000+02:00",
"is_user": true,
"user_id": 41,
"tag_list": [],
"avatar_url": null,
"virtual": false,
"custom_fields": null,
"autotracking": false,
"created_at": "2021-04-15T01:02:44.959+02:00",
"placeholder": false,
"color_id": null,
"private_custom_reports_used": 0,
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 5
}
},
"company": {
"data": {
"type": "companies",
"id": "59"
}
},
"subsidiary": {
"data": null
}
}
},
{
"id": "3",
"type": "events",
"attributes": {
"name": "test name",
"event_type_id": 2,
"icon_id": null,
"color_id": null,
"archived_at": null,
"limitation_type_id": 2
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 5
}
}
}
},
{
"id": "42",
"type": "people",
"attributes": {
"first_name": "test first name",
"last_name": "test last name",
"email": "user42@email.com",
"title": null,
"joined_at": null,
"last_seen_at": null,
"deactivated_at": null,
"archived_at": null,
"role_id": 3,
"invited_at": "2021-04-15T01:02:44.000+02:00",
"is_user": true,
"user_id": 42,
"tag_list": [],
"avatar_url": null,
"virtual": false,
"custom_fields": null,
"autotracking": false,
"created_at": "2021-04-15T01:02:44.994+02:00",
"placeholder": false,
"color_id": null,
"private_custom_reports_used": 0,
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 5
}
},
"company": {
"data": {
"type": "companies",
"id": "60"
}
},
"subsidiary": {
"data": null
}
}
},
{
"id": "4",
"type": "events",
"attributes": {
"name": "test name",
"event_type_id": 2,
"icon_id": null,
"color_id": null,
"archived_at": null,
"limitation_type_id": 2
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 5
}
}
}
},
{
"id": "43",
"type": "people",
"attributes": {
"first_name": "test first name",
"last_name": "test last name",
"email": "user43@email.com",
"title": null,
"joined_at": null,
"last_seen_at": null,
"deactivated_at": null,
"archived_at": null,
"role_id": 3,
"invited_at": "2021-04-15T01:02:45.000+02:00",
"is_user": true,
"user_id": 43,
"tag_list": [],
"avatar_url": null,
"virtual": false,
"custom_fields": null,
"autotracking": false,
"created_at": "2021-04-15T01:02:45.034+02:00",
"placeholder": false,
"color_id": null,
"private_custom_reports_used": 0,
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 5
}
},
"company": {
"data": {
"type": "companies",
"id": "61"
}
},
"subsidiary": {
"data": null
}
}
},
{
"id": "56",
"type": "companies",
"attributes": {
"name": "Client51",
"billing_name": null,
"vat": null,
"default_currency": null,
"created_at": "2021-04-15T01:02:44.861+02:00",
"archived_at": null,
"avatar_url": null,
"invoice_email_recipients": {},
"custom_fields": null,
"description": null,
"due_days": null,
"tag_list": [],
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 5
}
},
"bill_to": {
"data": null
}
}
},
{
"id": "59",
"type": "companies",
"attributes": {
"name": "Client54",
"billing_name": null,
"vat": null,
"default_currency": null,
"created_at": "2021-04-15T01:02:44.956+02:00",
"archived_at": null,
"avatar_url": null,
"invoice_email_recipients": {},
"custom_fields": null,
"description": null,
"due_days": null,
"tag_list": [],
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 5
}
},
"bill_to": {
"data": null
}
}
},
{
"id": "60",
"type": "companies",
"attributes": {
"name": "Client55",
"billing_name": null,
"vat": null,
"default_currency": null,
"created_at": "2021-04-15T01:02:44.990+02:00",
"archived_at": null,
"avatar_url": null,
"invoice_email_recipients": {},
"custom_fields": null,
"description": null,
"due_days": null,
"tag_list": [],
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 5
}
},
"bill_to": {
"data": null
}
}
},
{
"id": "61",
"type": "companies",
"attributes": {
"name": "Client56",
"billing_name": null,
"vat": null,
"default_currency": null,
"created_at": "2021-04-15T01:02:45.031+02:00",
"archived_at": null,
"avatar_url": null,
"invoice_email_recipients": {},
"custom_fields": null,
"description": null,
"due_days": null,
"tag_list": [],
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 5
}
},
"bill_to": {
"data": null
}
}
}
],
"links": {
"first": "http://www.example.com/api/v2/approval_workflows?page%5Bnumber%5D=1&page%5Bsize%5D=30",
"last": "http://www.example.com/api/v2/approval_workflows?page%5Bnumber%5D=1&page%5Bsize%5D=30"
},
"meta": {
"current_page": 1,
"total_pages": 1,
"total_count": 4,
"page_size": 30,
"max_page_size": 200,
"organization_features": {
"custom_fields": {
"type": "metered",
"limit": 15,
"used": 0
},
"custom_fields_per_project": {
"type": "metered",
"limit": 10,
"used": 0
},
"public_custom_reports": {
"type": "metered",
"limit": 100,
"used": 0
},
"private_custom_reports": {
"type": "metered",
"limit": 30,
"used": 0
},
"scheduling_placeholders": {
"type": "metered",
"limit": 5,
"used": 0
},
"multigrouping": {
"type": "switch",
"available": true
},
"client_access_to_budgets": {
"type": "switch",
"available": true
},
"subsidiaries": {
"type": "switch",
"available": true
},
"time_approvals": {
"type": "switch",
"available": true
},
"expenses_approvals": {
"type": "switch",
"available": true
},
"timeoff_approvals": {
"type": "switch",
"available": true
},
"autotracking": {
"type": "switch",
"available": true
},
"forecasting": {
"type": "switch",
"available": true
},
"webhooks": {
"type": "switch",
"available": true
},
"table_pivoting": {
"type": "switch",
"available": true
},
"formula_fields": {
"type": "switch",
"available": true
},
"single_sign_on": {
"type": "switch",
"available": true
},
"duplicate_tasks": {
"type": "switch",
"available": true
},
"billable_time_rounding": {
"type": "switch",
"available": true
},
"payment_sync": {
"type": "switch",
"available": true
},
"booking_methods": {
"type": "switch",
"available": true
},
"import_tasks_csv": {
"type": "switch",
"available": true
},
"reactions": {
"type": "switch",
"available": true
},
"time_week_view": {
"type": "switch",
"available": true
},
"subtasks": {
"type": "switch",
"available": true
},
"time_calendar_layout": {
"type": "switch",
"available": true
},
"theming": {
"type": "switch",
"available": true
},
"remove_branding": {
"type": "switch",
"available": true
},
"custom_invoicing_email": {
"type": "switch",
"available": true
},
"google_calendar_layout": {
"type": "switch",
"available": true
},
"pulse": {
"type": "switch",
"available": true
}
},
"settings": {}
}
}
Get approval workflowsGET/api/v2/approval_workflows
GET /api/v2/approval_workflows/1
Requests
GET /api/v2/approval_workflows/5
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
"data": {
"id": "5",
"type": "approval_workflows",
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 6
}
},
"event": {
"data": {
"type": "events",
"id": "5"
}
},
"person": {
"data": {
"type": "people",
"id": "45"
}
}
}
},
"included": [
{
"id": "5",
"type": "events",
"attributes": {
"name": "test name",
"event_type_id": 2,
"icon_id": null,
"color_id": null,
"archived_at": null,
"limitation_type_id": 2
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 6
}
}
}
},
{
"id": "45",
"type": "people",
"attributes": {
"first_name": "test first name",
"last_name": "test last name",
"email": "user45@email.com",
"title": null,
"joined_at": null,
"last_seen_at": null,
"deactivated_at": null,
"archived_at": null,
"role_id": 3,
"invited_at": "2021-04-15T01:02:45.000+02:00",
"is_user": true,
"user_id": 45,
"tag_list": [],
"avatar_url": null,
"virtual": false,
"custom_fields": null,
"autotracking": false,
"created_at": "2021-04-15T01:02:45.187+02:00",
"placeholder": false,
"color_id": null,
"private_custom_reports_used": 0,
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 6
}
},
"company": {
"data": {
"type": "companies",
"id": "63"
}
},
"subsidiary": {
"data": null
}
}
},
{
"id": "63",
"type": "companies",
"attributes": {
"name": "Client57",
"billing_name": null,
"vat": null,
"default_currency": null,
"created_at": "2021-04-15T01:02:45.184+02:00",
"archived_at": null,
"avatar_url": null,
"invoice_email_recipients": {},
"custom_fields": null,
"description": null,
"due_days": null,
"tag_list": [],
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 6
}
},
"bill_to": {
"data": null
}
}
}
],
"meta": {
"organization_features": {
"custom_fields": {
"type": "metered",
"limit": 15,
"used": 0
},
"custom_fields_per_project": {
"type": "metered",
"limit": 10,
"used": 0
},
"public_custom_reports": {
"type": "metered",
"limit": 100,
"used": 0
},
"private_custom_reports": {
"type": "metered",
"limit": 30,
"used": 0
},
"scheduling_placeholders": {
"type": "metered",
"limit": 5,
"used": 0
},
"multigrouping": {
"type": "switch",
"available": true
},
"client_access_to_budgets": {
"type": "switch",
"available": true
},
"subsidiaries": {
"type": "switch",
"available": true
},
"time_approvals": {
"type": "switch",
"available": true
},
"expenses_approvals": {
"type": "switch",
"available": true
},
"timeoff_approvals": {
"type": "switch",
"available": true
},
"autotracking": {
"type": "switch",
"available": true
},
"forecasting": {
"type": "switch",
"available": true
},
"webhooks": {
"type": "switch",
"available": true
},
"table_pivoting": {
"type": "switch",
"available": true
},
"formula_fields": {
"type": "switch",
"available": true
},
"single_sign_on": {
"type": "switch",
"available": true
},
"duplicate_tasks": {
"type": "switch",
"available": true
},
"billable_time_rounding": {
"type": "switch",
"available": true
},
"payment_sync": {
"type": "switch",
"available": true
},
"booking_methods": {
"type": "switch",
"available": true
},
"import_tasks_csv": {
"type": "switch",
"available": true
},
"reactions": {
"type": "switch",
"available": true
},
"time_week_view": {
"type": "switch",
"available": true
},
"subtasks": {
"type": "switch",
"available": true
},
"time_calendar_layout": {
"type": "switch",
"available": true
},
"theming": {
"type": "switch",
"available": true
},
"remove_branding": {
"type": "switch",
"available": true
},
"custom_invoicing_email": {
"type": "switch",
"available": true
},
"google_calendar_layout": {
"type": "switch",
"available": true
},
"pulse": {
"type": "switch",
"available": true
}
},
"settings": {}
}
}
Gets the approval workflowGET/api/v2/approval_workflows/{id}
URI Parameters
- id
number
(required) Example: 1approval workflow id
POST /api/v2/approval_workflows
Requests
POST /api/v2/approval_workflows
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
"data": {
"type": "approval_workflows",
"attributes": {
"event_id": 6,
"person_id": 51
}
}
}
Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
"data": {
"id": "7",
"type": "approval_workflows",
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 7
}
},
"event": {
"data": {
"type": "events",
"id": "6"
}
},
"person": {
"data": {
"type": "people",
"id": "51"
}
}
}
},
"included": [
{
"id": "6",
"type": "events",
"attributes": {
"name": "test name",
"event_type_id": 2,
"icon_id": null,
"color_id": null,
"archived_at": null,
"limitation_type_id": 2
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 7
}
}
}
},
{
"id": "51",
"type": "people",
"attributes": {
"first_name": "test first name",
"last_name": "test last name",
"email": "user51@email.com",
"title": null,
"joined_at": null,
"last_seen_at": null,
"deactivated_at": null,
"archived_at": null,
"role_id": 3,
"invited_at": "2021-04-15T01:02:45.000+02:00",
"is_user": true,
"user_id": 51,
"tag_list": [],
"avatar_url": null,
"virtual": false,
"custom_fields": null,
"autotracking": false,
"created_at": "2021-04-15T01:02:45.422+02:00",
"placeholder": false,
"color_id": null,
"private_custom_reports_used": 0,
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 7
}
},
"company": {
"data": {
"type": "companies",
"id": "69"
}
},
"subsidiary": {
"data": null
}
}
},
{
"id": "69",
"type": "companies",
"attributes": {
"name": "Client62",
"billing_name": null,
"vat": null,
"default_currency": null,
"created_at": "2021-04-15T01:02:45.419+02:00",
"archived_at": null,
"avatar_url": null,
"invoice_email_recipients": {},
"custom_fields": null,
"description": null,
"due_days": null,
"tag_list": [],
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 7
}
},
"bill_to": {
"data": null
}
}
}
],
"meta": {
"organization_features": {
"custom_fields": {
"type": "metered",
"limit": 15,
"used": 0
},
"custom_fields_per_project": {
"type": "metered",
"limit": 10,
"used": 0
},
"public_custom_reports": {
"type": "metered",
"limit": 100,
"used": 0
},
"private_custom_reports": {
"type": "metered",
"limit": 30,
"used": 0
},
"scheduling_placeholders": {
"type": "metered",
"limit": 5,
"used": 0
},
"multigrouping": {
"type": "switch",
"available": true
},
"client_access_to_budgets": {
"type": "switch",
"available": true
},
"subsidiaries": {
"type": "switch",
"available": true
},
"time_approvals": {
"type": "switch",
"available": true
},
"expenses_approvals": {
"type": "switch",
"available": true
},
"timeoff_approvals": {
"type": "switch",
"available": true
},
"autotracking": {
"type": "switch",
"available": true
},
"forecasting": {
"type": "switch",
"available": true
},
"webhooks": {
"type": "switch",
"available": true
},
"table_pivoting": {
"type": "switch",
"available": true
},
"formula_fields": {
"type": "switch",
"available": true
},
"single_sign_on": {
"type": "switch",
"available": true
},
"duplicate_tasks": {
"type": "switch",
"available": true
},
"billable_time_rounding": {
"type": "switch",
"available": true
},
"payment_sync": {
"type": "switch",
"available": true
},
"booking_methods": {
"type": "switch",
"available": true
},
"import_tasks_csv": {
"type": "switch",
"available": true
},
"reactions": {
"type": "switch",
"available": true
},
"time_week_view": {
"type": "switch",
"available": true
},
"subtasks": {
"type": "switch",
"available": true
},
"time_calendar_layout": {
"type": "switch",
"available": true
},
"theming": {
"type": "switch",
"available": true
},
"remove_branding": {
"type": "switch",
"available": true
},
"custom_invoicing_email": {
"type": "switch",
"available": true
},
"google_calendar_layout": {
"type": "switch",
"available": true
},
"pulse": {
"type": "switch",
"available": true
}
},
"settings": {}
}
}
POST /api/v2/approval_workflows
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
"data": {
"type": "approval_workflows",
"attributes": {
"event_id": 9,
"person_id": 59
}
}
}
Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
"errors": [
{
"status": "422",
"code": "invalid_attribute",
"title": "Invalid Attribute",
"detail": "only one workflow per event, per person is allowed",
"source": {
"pointer": "data/attributes/event"
}
}
]
}
Creates the approval workflowPOST/api/v2/approval_workflows
URI Parameters
- event_id
number
(required) Example: 1event id
- person_id
number
(required) Example: 1person id
- approver_ids
array
(required) Example: %5B1%5Dids of people who need to approve the request
- subscriber_ids
array
(required) Example: %5B1%5Dids of people who will be notified about the request
PATCH /api/v2/approval_workflows/1
Requests
PATCH /api/v2/approval_workflows/11
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
"data": {
"type": "approval_workflows",
"attributes": {
"approver_ids": [
62
]
}
}
}
Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
"data": {
"id": "11",
"type": "approval_workflows",
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 10
}
},
"event": {
"data": {
"type": "events",
"id": "10"
}
},
"person": {
"data": {
"type": "people",
"id": "61"
}
}
}
},
"included": [
{
"id": "10",
"type": "events",
"attributes": {
"name": "test name",
"event_type_id": 2,
"icon_id": null,
"color_id": null,
"archived_at": null,
"limitation_type_id": 2
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 10
}
}
}
},
{
"id": "61",
"type": "people",
"attributes": {
"first_name": "test first name",
"last_name": "test last name",
"email": "user61@email.com",
"title": null,
"joined_at": null,
"last_seen_at": null,
"deactivated_at": null,
"archived_at": null,
"role_id": 3,
"invited_at": "2021-04-15T01:02:45.000+02:00",
"is_user": true,
"user_id": 61,
"tag_list": [],
"avatar_url": null,
"virtual": false,
"custom_fields": null,
"autotracking": false,
"created_at": "2021-04-15T01:02:45.912+02:00",
"placeholder": false,
"color_id": null,
"private_custom_reports_used": 0,
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 10
}
},
"company": {
"data": {
"type": "companies",
"id": "79"
}
},
"subsidiary": {
"data": null
}
}
},
{
"id": "79",
"type": "companies",
"attributes": {
"name": "Client69",
"billing_name": null,
"vat": null,
"default_currency": null,
"created_at": "2021-04-15T01:02:45.909+02:00",
"archived_at": null,
"avatar_url": null,
"invoice_email_recipients": {},
"custom_fields": null,
"description": null,
"due_days": null,
"tag_list": [],
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 10
}
},
"bill_to": {
"data": null
}
}
}
],
"meta": {
"organization_features": {
"custom_fields": {
"type": "metered",
"limit": 15,
"used": 0
},
"custom_fields_per_project": {
"type": "metered",
"limit": 10,
"used": 0
},
"public_custom_reports": {
"type": "metered",
"limit": 100,
"used": 0
},
"private_custom_reports": {
"type": "metered",
"limit": 30,
"used": 0
},
"scheduling_placeholders": {
"type": "metered",
"limit": 5,
"used": 0
},
"multigrouping": {
"type": "switch",
"available": true
},
"client_access_to_budgets": {
"type": "switch",
"available": true
},
"subsidiaries": {
"type": "switch",
"available": true
},
"time_approvals": {
"type": "switch",
"available": true
},
"expenses_approvals": {
"type": "switch",
"available": true
},
"timeoff_approvals": {
"type": "switch",
"available": true
},
"autotracking": {
"type": "switch",
"available": true
},
"forecasting": {
"type": "switch",
"available": true
},
"webhooks": {
"type": "switch",
"available": true
},
"table_pivoting": {
"type": "switch",
"available": true
},
"formula_fields": {
"type": "switch",
"available": true
},
"single_sign_on": {
"type": "switch",
"available": true
},
"duplicate_tasks": {
"type": "switch",
"available": true
},
"billable_time_rounding": {
"type": "switch",
"available": true
},
"payment_sync": {
"type": "switch",
"available": true
},
"booking_methods": {
"type": "switch",
"available": true
},
"import_tasks_csv": {
"type": "switch",
"available": true
},
"reactions": {
"type": "switch",
"available": true
},
"time_week_view": {
"type": "switch",
"available": true
},
"subtasks": {
"type": "switch",
"available": true
},
"time_calendar_layout": {
"type": "switch",
"available": true
},
"theming": {
"type": "switch",
"available": true
},
"remove_branding": {
"type": "switch",
"available": true
},
"custom_invoicing_email": {
"type": "switch",
"available": true
},
"google_calendar_layout": {
"type": "switch",
"available": true
},
"pulse": {
"type": "switch",
"available": true
}
},
"settings": {}
}
}
PATCH /api/v2/approval_workflows/12
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
"data": {
"type": "approval_workflows",
"attributes": {
"person_id": null
}
}
}
Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
"errors": [
{
"status": "422",
"code": "invalid_attribute",
"title": "Invalid Attribute",
"detail": "can't be blank",
"source": {
"pointer": "data/attributes/person"
}
}
]
}
Updates the approval workflowPATCH/api/v2/approval_workflows/{id}
URI Parameters
- id
number
(required) Example: 1approval workflow id
DELETE /api/v2/approval_workflows/1
Requests
DELETE /api/v2/approval_workflows/13
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses
This response has no content.
Deletes the approval workflowDELETE/api/v2/approval_workflows/{id}
URI Parameters
- id
number
(required) Example: 1approval workflow id
Generated by aglio on 14 Apr 2021