API Documentation
Organization Memberships ¶
GET /api/v2/organization_memberships
Requests
GET /api/v2/organization_memberships
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": "44",
"type": "organization_memberships",
"attributes": {
"updated_at": "2021-01-24T00:03:14.047+01:00",
"position": null,
"tasks_layout_id": 1,
"time_reminders": true,
"email_notifications": true,
"weekly_emails": true,
"notification_preference": {},
"preferences": null,
"tasks_filter_id": null,
"deals_filter_id": null,
"projects_filter_id": null,
"people_filter_id": null,
"companies_filter_id": null,
"company_time_filter_id": null,
"invoices_filter_id": null,
"budgets_filter_id": null,
"expenses_filter_id": null,
"bookings_filter_id": null,
"payments_filter_id": null,
"time_reports_filter_id": null,
"profitability_reports_filter_id": null,
"sales_reports_filter_id": null,
"salary_reports_filter_id": null,
"event_reports_filter_id": null,
"time_entry_reports_filter_id": null,
"booking_approvals_filter_id": null,
"expense_approvals_filter_id": null,
"time_approvals_filter_id": null
},
"relationships": {
"tasks_favorite_filter": {
"data": null
},
"deals_favorite_filter": {
"data": null
},
"projects_favorite_filter": {
"data": null
},
"people_favorite_filter": {
"data": null
},
"companies_favorite_filter": {
"data": null
},
"company_time_favorite_filter": {
"data": null
},
"invoices_favorite_filter": {
"data": null
},
"budgets_favorite_filter": {
"data": null
},
"expenses_favorite_filter": {
"data": null
},
"bookings_favorite_filter": {
"data": null
},
"payments_favorite_filter": {
"data": null
},
"time_reports_favorite_filter": {
"data": null
},
"profitability_reports_favorite_filter": {
"data": null
},
"sales_reports_favorite_filter": {
"data": null
},
"salary_reports_favorite_filter": {
"data": null
},
"event_reports_favorite_filter": {
"data": null
},
"time_entry_reports_favorite_filter": {
"data": null
},
"booking_approvals_favorite_filter": {
"data": null
},
"expense_approvals_favorite_filter": {
"data": null
},
"time_approvals_favorite_filter": {
"data": null
},
"organization": {
"data": {
"type": "organizations",
"id": "12"
}
},
"person": {
"data": {
"type": "people",
"id": "44"
}
},
"user": {
"data": {
"type": "users",
"id": "44"
}
},
"organization_membership_counts": {
"data": {
"type": "organization_membership_counts",
"id": "44"
}
},
"timer": {
"data": null
}
}
}
],
"included": [
{
"id": "12",
"type": "organizations",
"attributes": {
"name": "Organization12",
"time_reminder_id": 2,
"time_reminder_at": 10,
"time_reminder_condition": 100,
"working_days": [],
"working_hours": [
8,
8,
8,
8,
8,
0,
0
],
"man_day_minutes": 480,
"organization_type_id": 1,
"invitation_token": "87352612adad66055009077842426288",
"due_days": 15,
"email_key": "organization12",
"addons": [
"task_time_tracking",
"time_entries_approval",
"email_inbox",
"project_boards",
"invoicing",
"subsidiaries",
"overhead",
"time_tracking_estimate",
"sidebar",
"beta_api",
"autotracking",
"expenses_approvals",
"timeoff_approvals",
"seat_based_pricing"
],
"time_zone": null,
"avatar_url": null,
"onboarding_progress": null,
"week_start_day_id": 3,
"weight": 1,
"metrics": "eyJzb3VyY2UiOm51bGwsIm1lZGl1bSI6bnVsbCwiY2FtcGFpZ24iOm51bGwsImNvbnRlbnQiOm51bGx9",
"erector_id": null,
"sample_data_imported_at": null,
"sample_data_reverted_at": null,
"verified_at": "2021-01-24T00:03:14.000+01:00",
"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
}
},
"time_format_id": 1,
"number_format_id": 1,
"date_format_id": 1,
"time_display_id": 1,
"rounding_method_id": 1,
"rounding_interval_id": null,
"single_sign_on": false,
"billing_email": null,
"exchange_rate_provider_id": 1,
"overhead_recalculation_day": 5,
"overhead_amortization_period": 3,
"expense_markup": 0,
"deal_probability": 50,
"limited_service_types": false,
"decimal_places_id": 4,
"analytics_uid": null,
"currency_format_id": 1,
"email_type_id": 1,
"remove_branding": false,
"email_domain_name": null,
"email_local_name": null,
"domain_verified": false,
"allow_user_email": false,
"currency": "USD",
"currency_default": "USD",
"currency_normalized": "USD",
"facility_costs": 0,
"facility_costs_default": 0,
"facility_costs_normalized": 0
},
"relationships": {
"owner": {
"data": {
"type": "people",
"id": "44"
}
},
"company": {
"data": {
"type": "companies",
"id": "69"
}
},
"organization_subscription": {
"data": {
"type": "organization_subscriptions",
"id": "12"
}
}
}
},
{
"id": "44",
"type": "people",
"attributes": {
"first_name": "test first name",
"last_name": "test last name",
"email": "user44@email.com",
"title": null,
"joined_at": null,
"last_seen_at": null,
"deactivated_at": null,
"archived_at": null,
"role_id": 1,
"invited_at": null,
"is_user": true,
"tag_list": [],
"avatar_url": null,
"virtual": false,
"custom_fields": null,
"autotracking": false,
"created_at": "2021-01-24T00:03:14.047+01:00",
"placeholder": false,
"color_id": null,
"private_custom_reports_used": 0,
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 12
}
},
"company": {
"data": {
"type": "companies",
"id": "69"
}
},
"subsidiary": {
"data": null
}
}
},
{
"id": "44",
"type": "users",
"attributes": {
"email": "user44@email.com",
"first_name": "test first name",
"last_name": "test last name",
"time_zone": null,
"avatar_url": null,
"default_organization_id": 12,
"default_organization_slug": "12-organization12",
"intercom_hash": "de3be435d754f8d3d013b25feed14d1ffd466b2a0d5bd666a1226b26ce601726",
"beta_features": [],
"newsletter_consent": false,
"newsletter_consent_at": null,
"ical_token": null,
"preferences": null,
"sysadmin": false,
"sysadmin_permissions": [],
"two_factor_auth": false,
"sso_provision": false
}
},
{
"id": "44",
"type": "organization_membership_counts",
"attributes": {
"unseen_notifications_count": 0,
"undismissed_notifications_count": 0,
"time_entries_for_approval_count": 0,
"expenses_for_approval_count": 0,
"time_off_for_approval_count": 0
}
},
{
"id": "69",
"type": "companies",
"attributes": {
"name": "Organization12",
"billing_name": null,
"vat": null,
"default_currency": "USD",
"created_at": "2021-01-24T00:03:14.046+01:00",
"archived_at": null,
"avatar_url": null,
"invoice_email_recipients": {},
"custom_fields": null,
"description": null,
"due_days": null,
"tag_list": [],
"contact": null
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 12
}
},
"bill_to": {
"data": null
}
}
},
{
"id": "12",
"type": "organization_subscriptions",
"attributes": {
"billing_email": null,
"billing_address": null,
"subscription_state_id": 1,
"trial_ends_at": "2021-02-07 23:59:59",
"subscription_ends_at": null,
"next_billing_cycle_at": null,
"grace_period_ends_at": null,
"plan_price": 24,
"monthly_plan_price": 24,
"yearly_plan_price": 240,
"discount": null,
"discount_expires_on": null,
"plan_cycle": "month",
"plan_type": "premium",
"downgrades": [
{
"id": "standard",
"name": "Standard",
"type": "regular",
"monthly_price_cents": 1500,
"yearly_price_cents": 15000,
"currency": "USD",
"upgrades": [
"premium"
],
"downgrades": [],
"features": {
"custom_fields": {
"type": "metered",
"limit": 3
},
"custom_fields_per_project": {
"type": "metered",
"limit": 1
},
"public_custom_reports": {
"type": "metered",
"limit": 10
},
"private_custom_reports": {
"type": "metered",
"limit": 10
},
"scheduling_placeholders": {
"type": "metered",
"limit": 0
},
"multigrouping": {
"type": "switch",
"available": false
},
"client_access_to_budgets": {
"type": "switch",
"available": false
},
"subsidiaries": {
"type": "switch",
"available": false
},
"time_approvals": {
"type": "switch",
"available": false
},
"expenses_approvals": {
"type": "switch",
"available": false
},
"timeoff_approvals": {
"type": "switch",
"available": false
},
"autotracking": {
"type": "switch",
"available": false
},
"forecasting": {
"type": "switch",
"available": false
},
"webhooks": {
"type": "switch",
"available": false
},
"table_pivoting": {
"type": "switch",
"available": false
},
"formula_fields": {
"type": "switch",
"available": false
},
"single_sign_on": {
"type": "switch",
"available": false
},
"duplicate_tasks": {
"type": "switch",
"available": true
},
"billable_time_rounding": {
"type": "switch",
"available": false
},
"payment_sync": {
"type": "switch",
"available": false
},
"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": false
},
"custom_invoicing_email": {
"type": "switch",
"available": false
},
"google_calendar_layout": {
"type": "switch",
"available": true
}
}
}
],
"current_plan": {
"id": "premium",
"name": "Premium",
"type": "regular",
"monthly_price_cents": 2400,
"yearly_price_cents": 24000,
"currency": "USD",
"upgrades": [],
"downgrades": [
"standard"
],
"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
}
}
},
"upgrades": [],
"payment_method_id": 1,
"employee_count": 1,
"seats": 1,
"seats_used": 1,
"trial_plan_ends_at": null,
"trial_plan_type": null,
"card_brand": null,
"card_last4": null,
"card_month": null,
"card_year": null,
"stripe_customer_id": "cus_474RjipEtz2ff7",
"balance": null
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 12
}
}
}
}
],
"links": {
"first": "http://www.example.com/api/v2/organization_memberships/?page%5Bnumber%5D=1&page%5Bsize%5D=30",
"last": "http://www.example.com/api/v2/organization_memberships/?page%5Bnumber%5D=1&page%5Bsize%5D=30"
},
"meta": {
"current_page": 1,
"total_pages": 1,
"total_count": 1,
"page_size": 30,
"max_page_size": 200,
"settings": {}
}
}
Get organization membershipsGET/api/v2/organization_memberships
GET /api/v2/organization_memberships/1
Requests
GET /api/v2/organization_memberships/45
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": "45",
"type": "organization_memberships",
"attributes": {
"updated_at": "2021-01-24T00:03:14.377+01:00",
"position": null,
"tasks_layout_id": 1,
"time_reminders": true,
"email_notifications": true,
"weekly_emails": true,
"notification_preference": {},
"preferences": null,
"tasks_filter_id": null,
"deals_filter_id": null,
"projects_filter_id": null,
"people_filter_id": null,
"companies_filter_id": null,
"company_time_filter_id": null,
"invoices_filter_id": null,
"budgets_filter_id": null,
"expenses_filter_id": null,
"bookings_filter_id": null,
"payments_filter_id": null,
"time_reports_filter_id": null,
"profitability_reports_filter_id": null,
"sales_reports_filter_id": null,
"salary_reports_filter_id": null,
"event_reports_filter_id": null,
"time_entry_reports_filter_id": null,
"booking_approvals_filter_id": null,
"expense_approvals_filter_id": null,
"time_approvals_filter_id": null
},
"relationships": {
"tasks_favorite_filter": {
"data": null
},
"deals_favorite_filter": {
"data": null
},
"projects_favorite_filter": {
"data": null
},
"people_favorite_filter": {
"data": null
},
"companies_favorite_filter": {
"data": null
},
"company_time_favorite_filter": {
"data": null
},
"invoices_favorite_filter": {
"data": null
},
"budgets_favorite_filter": {
"data": null
},
"expenses_favorite_filter": {
"data": null
},
"bookings_favorite_filter": {
"data": null
},
"payments_favorite_filter": {
"data": null
},
"time_reports_favorite_filter": {
"data": null
},
"profitability_reports_favorite_filter": {
"data": null
},
"sales_reports_favorite_filter": {
"data": null
},
"salary_reports_favorite_filter": {
"data": null
},
"event_reports_favorite_filter": {
"data": null
},
"time_entry_reports_favorite_filter": {
"data": null
},
"booking_approvals_favorite_filter": {
"data": null
},
"expense_approvals_favorite_filter": {
"data": null
},
"time_approvals_favorite_filter": {
"data": null
},
"organization": {
"data": {
"type": "organizations",
"id": "13"
}
},
"person": {
"data": {
"type": "people",
"id": "45"
}
},
"user": {
"data": {
"type": "users",
"id": "45"
}
},
"organization_membership_counts": {
"data": {
"type": "organization_membership_counts",
"id": "45"
}
},
"timer": {
"data": null
}
}
},
"included": [
{
"id": "13",
"type": "organizations",
"attributes": {
"name": "Organization13",
"time_reminder_id": 2,
"time_reminder_at": 10,
"time_reminder_condition": 100,
"working_days": [],
"working_hours": [
8,
8,
8,
8,
8,
0,
0
],
"man_day_minutes": 480,
"organization_type_id": 1,
"invitation_token": "5a3f0fe4c0468d7a90f9bbd18209054c",
"due_days": 15,
"email_key": "organization13",
"addons": [
"task_time_tracking",
"time_entries_approval",
"email_inbox",
"project_boards",
"invoicing",
"subsidiaries",
"overhead",
"time_tracking_estimate",
"sidebar",
"beta_api",
"autotracking",
"expenses_approvals",
"timeoff_approvals",
"seat_based_pricing"
],
"time_zone": null,
"avatar_url": null,
"onboarding_progress": null,
"week_start_day_id": 3,
"weight": 1,
"metrics": "eyJzb3VyY2UiOm51bGwsIm1lZGl1bSI6bnVsbCwiY2FtcGFpZ24iOm51bGwsImNvbnRlbnQiOm51bGx9",
"erector_id": null,
"sample_data_imported_at": null,
"sample_data_reverted_at": null,
"verified_at": "2021-01-24T00:03:14.000+01:00",
"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
}
},
"time_format_id": 1,
"number_format_id": 1,
"date_format_id": 1,
"time_display_id": 1,
"rounding_method_id": 1,
"rounding_interval_id": null,
"single_sign_on": false,
"billing_email": null,
"exchange_rate_provider_id": 1,
"overhead_recalculation_day": 5,
"overhead_amortization_period": 3,
"expense_markup": 0,
"deal_probability": 50,
"limited_service_types": false,
"decimal_places_id": 4,
"analytics_uid": null,
"currency_format_id": 1,
"email_type_id": 1,
"remove_branding": false,
"email_domain_name": null,
"email_local_name": null,
"domain_verified": false,
"allow_user_email": false,
"currency": "USD",
"currency_default": "USD",
"currency_normalized": "USD",
"facility_costs": 0,
"facility_costs_default": 0,
"facility_costs_normalized": 0
},
"relationships": {
"owner": {
"data": {
"type": "people",
"id": "45"
}
},
"company": {
"data": {
"type": "companies",
"id": "70"
}
},
"organization_subscription": {
"data": {
"type": "organization_subscriptions",
"id": "13"
}
}
}
},
{
"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": 1,
"invited_at": null,
"is_user": true,
"tag_list": [],
"avatar_url": null,
"virtual": false,
"custom_fields": null,
"autotracking": false,
"created_at": "2021-01-24T00:03:14.377+01:00",
"placeholder": false,
"color_id": null,
"private_custom_reports_used": 0,
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 13
}
},
"company": {
"data": {
"type": "companies",
"id": "70"
}
},
"subsidiary": {
"data": null
}
}
},
{
"id": "45",
"type": "users",
"attributes": {
"email": "user45@email.com",
"first_name": "test first name",
"last_name": "test last name",
"time_zone": null,
"avatar_url": null,
"default_organization_id": 13,
"default_organization_slug": "13-organization13",
"intercom_hash": "26ad1ef66e505a4daad26f570d2c392ac8c4ebd97a44add7b2bf0012ebdc1064",
"beta_features": [],
"newsletter_consent": false,
"newsletter_consent_at": null,
"ical_token": null,
"preferences": null,
"sysadmin": false,
"sysadmin_permissions": [],
"two_factor_auth": false,
"sso_provision": false
}
},
{
"id": "45",
"type": "organization_membership_counts",
"attributes": {
"unseen_notifications_count": 0,
"undismissed_notifications_count": 0,
"time_entries_for_approval_count": 0,
"expenses_for_approval_count": 0,
"time_off_for_approval_count": 0
}
},
{
"id": "70",
"type": "companies",
"attributes": {
"name": "Organization13",
"billing_name": null,
"vat": null,
"default_currency": "USD",
"created_at": "2021-01-24T00:03:14.376+01:00",
"archived_at": null,
"avatar_url": null,
"invoice_email_recipients": {},
"custom_fields": null,
"description": null,
"due_days": null,
"tag_list": [],
"contact": null
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 13
}
},
"bill_to": {
"data": null
}
}
},
{
"id": "13",
"type": "organization_subscriptions",
"attributes": {
"billing_email": null,
"billing_address": null,
"subscription_state_id": 1,
"trial_ends_at": "2021-02-07 23:59:59",
"subscription_ends_at": null,
"next_billing_cycle_at": null,
"grace_period_ends_at": null,
"plan_price": 24,
"monthly_plan_price": 24,
"yearly_plan_price": 240,
"discount": null,
"discount_expires_on": null,
"plan_cycle": "month",
"plan_type": "premium",
"downgrades": [
{
"id": "standard",
"name": "Standard",
"type": "regular",
"monthly_price_cents": 1500,
"yearly_price_cents": 15000,
"currency": "USD",
"upgrades": [
"premium"
],
"downgrades": [],
"features": {
"custom_fields": {
"type": "metered",
"limit": 3
},
"custom_fields_per_project": {
"type": "metered",
"limit": 1
},
"public_custom_reports": {
"type": "metered",
"limit": 10
},
"private_custom_reports": {
"type": "metered",
"limit": 10
},
"scheduling_placeholders": {
"type": "metered",
"limit": 0
},
"multigrouping": {
"type": "switch",
"available": false
},
"client_access_to_budgets": {
"type": "switch",
"available": false
},
"subsidiaries": {
"type": "switch",
"available": false
},
"time_approvals": {
"type": "switch",
"available": false
},
"expenses_approvals": {
"type": "switch",
"available": false
},
"timeoff_approvals": {
"type": "switch",
"available": false
},
"autotracking": {
"type": "switch",
"available": false
},
"forecasting": {
"type": "switch",
"available": false
},
"webhooks": {
"type": "switch",
"available": false
},
"table_pivoting": {
"type": "switch",
"available": false
},
"formula_fields": {
"type": "switch",
"available": false
},
"single_sign_on": {
"type": "switch",
"available": false
},
"duplicate_tasks": {
"type": "switch",
"available": true
},
"billable_time_rounding": {
"type": "switch",
"available": false
},
"payment_sync": {
"type": "switch",
"available": false
},
"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": false
},
"custom_invoicing_email": {
"type": "switch",
"available": false
},
"google_calendar_layout": {
"type": "switch",
"available": true
}
}
}
],
"current_plan": {
"id": "premium",
"name": "Premium",
"type": "regular",
"monthly_price_cents": 2400,
"yearly_price_cents": 24000,
"currency": "USD",
"upgrades": [],
"downgrades": [
"standard"
],
"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
}
}
},
"upgrades": [],
"payment_method_id": 1,
"employee_count": 1,
"seats": 1,
"seats_used": 1,
"trial_plan_ends_at": null,
"trial_plan_type": null,
"card_brand": null,
"card_last4": null,
"card_month": null,
"card_year": null,
"stripe_customer_id": "cus_474RjipEtz2ff7",
"balance": null
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 13
}
}
}
}
],
"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
}
},
"settings": {}
}
}
Gets a organization membershipGET/api/v2/organization_memberships/{id}
URI Parameters
- id
number
(required) Example: 1organization membership id
PATCH /api/v2/organization_memberships/1
Requests
PATCH /api/v2/organization_memberships/46
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": "organization-memberships",
"attributes": {
"projects_filter_id": "4",
"time_entry_reports_filter_id": "2"
}
}
}
Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
"data": {
"id": "46",
"type": "organization_memberships",
"attributes": {
"updated_at": "2021-01-24T00:03:14.560+01:00",
"position": null,
"tasks_layout_id": 1,
"time_reminders": true,
"email_notifications": true,
"weekly_emails": true,
"notification_preference": {},
"preferences": null,
"tasks_filter_id": null,
"deals_filter_id": null,
"projects_filter_id": 4,
"people_filter_id": null,
"companies_filter_id": null,
"company_time_filter_id": null,
"invoices_filter_id": null,
"budgets_filter_id": null,
"expenses_filter_id": null,
"bookings_filter_id": null,
"payments_filter_id": null,
"time_reports_filter_id": null,
"profitability_reports_filter_id": null,
"sales_reports_filter_id": null,
"salary_reports_filter_id": null,
"event_reports_filter_id": null,
"time_entry_reports_filter_id": 2,
"booking_approvals_filter_id": null,
"expense_approvals_filter_id": null,
"time_approvals_filter_id": null
},
"relationships": {
"tasks_favorite_filter": {
"data": null
},
"deals_favorite_filter": {
"data": null
},
"projects_favorite_filter": {
"data": null
},
"people_favorite_filter": {
"data": null
},
"companies_favorite_filter": {
"data": null
},
"company_time_favorite_filter": {
"data": null
},
"invoices_favorite_filter": {
"data": null
},
"budgets_favorite_filter": {
"data": null
},
"expenses_favorite_filter": {
"data": null
},
"bookings_favorite_filter": {
"data": null
},
"payments_favorite_filter": {
"data": null
},
"time_reports_favorite_filter": {
"data": null
},
"profitability_reports_favorite_filter": {
"data": null
},
"sales_reports_favorite_filter": {
"data": null
},
"salary_reports_favorite_filter": {
"data": null
},
"event_reports_favorite_filter": {
"data": null
},
"time_entry_reports_favorite_filter": {
"data": null
},
"booking_approvals_favorite_filter": {
"data": null
},
"expense_approvals_favorite_filter": {
"data": null
},
"time_approvals_favorite_filter": {
"data": null
},
"organization": {
"data": {
"type": "organizations",
"id": "14"
}
},
"person": {
"data": {
"type": "people",
"id": "46"
}
},
"user": {
"data": {
"type": "users",
"id": "46"
}
},
"organization_membership_counts": {
"data": {
"type": "organization_membership_counts",
"id": "46"
}
},
"timer": {
"data": null
}
}
},
"included": [
{
"id": "14",
"type": "organizations",
"attributes": {
"name": "Organization14",
"time_reminder_id": 2,
"time_reminder_at": 10,
"time_reminder_condition": 100,
"working_days": [],
"working_hours": [
8,
8,
8,
8,
8,
0,
0
],
"man_day_minutes": 480,
"organization_type_id": 1,
"invitation_token": "4eb055abb565ef3b3ba8516de90d2d66",
"due_days": 15,
"email_key": "organization14",
"addons": [
"task_time_tracking",
"time_entries_approval",
"email_inbox",
"project_boards",
"invoicing",
"subsidiaries",
"overhead",
"time_tracking_estimate",
"sidebar",
"beta_api",
"autotracking",
"expenses_approvals",
"timeoff_approvals",
"seat_based_pricing"
],
"time_zone": null,
"avatar_url": null,
"onboarding_progress": null,
"week_start_day_id": 3,
"weight": 1,
"metrics": "eyJzb3VyY2UiOm51bGwsIm1lZGl1bSI6bnVsbCwiY2FtcGFpZ24iOm51bGwsImNvbnRlbnQiOm51bGx9",
"erector_id": null,
"sample_data_imported_at": null,
"sample_data_reverted_at": null,
"verified_at": "2021-01-24T00:03:14.000+01:00",
"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
}
},
"time_format_id": 1,
"number_format_id": 1,
"date_format_id": 1,
"time_display_id": 1,
"rounding_method_id": 1,
"rounding_interval_id": null,
"single_sign_on": false,
"billing_email": null,
"exchange_rate_provider_id": 1,
"overhead_recalculation_day": 5,
"overhead_amortization_period": 3,
"expense_markup": 0,
"deal_probability": 50,
"limited_service_types": false,
"decimal_places_id": 4,
"analytics_uid": null,
"currency_format_id": 1,
"email_type_id": 1,
"remove_branding": false,
"email_domain_name": null,
"email_local_name": null,
"domain_verified": false,
"allow_user_email": false,
"currency": "USD",
"currency_default": "USD",
"currency_normalized": "USD",
"facility_costs": 0,
"facility_costs_default": 0,
"facility_costs_normalized": 0
},
"relationships": {
"owner": {
"data": {
"type": "people",
"id": "46"
}
},
"company": {
"data": {
"type": "companies",
"id": "71"
}
},
"organization_subscription": {
"data": {
"type": "organization_subscriptions",
"id": "14"
}
}
}
},
{
"id": "46",
"type": "people",
"attributes": {
"first_name": "test first name",
"last_name": "test last name",
"email": "user46@email.com",
"title": null,
"joined_at": null,
"last_seen_at": null,
"deactivated_at": null,
"archived_at": null,
"role_id": 1,
"invited_at": null,
"is_user": true,
"tag_list": [],
"avatar_url": null,
"virtual": false,
"custom_fields": null,
"autotracking": false,
"created_at": "2021-01-24T00:03:14.507+01:00",
"placeholder": false,
"color_id": null,
"private_custom_reports_used": 0,
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 14
}
},
"company": {
"data": {
"type": "companies",
"id": "71"
}
},
"subsidiary": {
"data": null
}
}
},
{
"id": "46",
"type": "users",
"attributes": {
"email": "user46@email.com",
"first_name": "test first name",
"last_name": "test last name",
"time_zone": null,
"avatar_url": null,
"default_organization_id": 14,
"default_organization_slug": "14-organization14",
"intercom_hash": "f89007b0f7a10e3e9f287930fe9bb4bac7bfacfe409c1c2e814d48ca2ff757bb",
"beta_features": [],
"newsletter_consent": false,
"newsletter_consent_at": null,
"ical_token": null,
"preferences": null,
"sysadmin": false,
"sysadmin_permissions": [],
"two_factor_auth": false,
"sso_provision": false
}
},
{
"id": "46",
"type": "organization_membership_counts",
"attributes": {
"unseen_notifications_count": 0,
"undismissed_notifications_count": 0,
"time_entries_for_approval_count": 0,
"expenses_for_approval_count": 0,
"time_off_for_approval_count": 0
}
},
{
"id": "71",
"type": "companies",
"attributes": {
"name": "Organization14",
"billing_name": null,
"vat": null,
"default_currency": "USD",
"created_at": "2021-01-24T00:03:14.505+01:00",
"archived_at": null,
"avatar_url": null,
"invoice_email_recipients": {},
"custom_fields": null,
"description": null,
"due_days": null,
"tag_list": [],
"contact": null
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 14
}
},
"bill_to": {
"data": null
}
}
},
{
"id": "14",
"type": "organization_subscriptions",
"attributes": {
"billing_email": null,
"billing_address": null,
"subscription_state_id": 1,
"trial_ends_at": "2021-02-07 23:59:59",
"subscription_ends_at": null,
"next_billing_cycle_at": null,
"grace_period_ends_at": null,
"plan_price": 24,
"monthly_plan_price": 24,
"yearly_plan_price": 240,
"discount": null,
"discount_expires_on": null,
"plan_cycle": "month",
"plan_type": "premium",
"downgrades": [
{
"id": "standard",
"name": "Standard",
"type": "regular",
"monthly_price_cents": 1500,
"yearly_price_cents": 15000,
"currency": "USD",
"upgrades": [
"premium"
],
"downgrades": [],
"features": {
"custom_fields": {
"type": "metered",
"limit": 3
},
"custom_fields_per_project": {
"type": "metered",
"limit": 1
},
"public_custom_reports": {
"type": "metered",
"limit": 10
},
"private_custom_reports": {
"type": "metered",
"limit": 10
},
"scheduling_placeholders": {
"type": "metered",
"limit": 0
},
"multigrouping": {
"type": "switch",
"available": false
},
"client_access_to_budgets": {
"type": "switch",
"available": false
},
"subsidiaries": {
"type": "switch",
"available": false
},
"time_approvals": {
"type": "switch",
"available": false
},
"expenses_approvals": {
"type": "switch",
"available": false
},
"timeoff_approvals": {
"type": "switch",
"available": false
},
"autotracking": {
"type": "switch",
"available": false
},
"forecasting": {
"type": "switch",
"available": false
},
"webhooks": {
"type": "switch",
"available": false
},
"table_pivoting": {
"type": "switch",
"available": false
},
"formula_fields": {
"type": "switch",
"available": false
},
"single_sign_on": {
"type": "switch",
"available": false
},
"duplicate_tasks": {
"type": "switch",
"available": true
},
"billable_time_rounding": {
"type": "switch",
"available": false
},
"payment_sync": {
"type": "switch",
"available": false
},
"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": false
},
"custom_invoicing_email": {
"type": "switch",
"available": false
},
"google_calendar_layout": {
"type": "switch",
"available": true
}
}
}
],
"current_plan": {
"id": "premium",
"name": "Premium",
"type": "regular",
"monthly_price_cents": 2400,
"yearly_price_cents": 24000,
"currency": "USD",
"upgrades": [],
"downgrades": [
"standard"
],
"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
}
}
},
"upgrades": [],
"payment_method_id": 1,
"employee_count": 1,
"seats": 1,
"seats_used": 1,
"trial_plan_ends_at": null,
"trial_plan_type": null,
"card_brand": null,
"card_last4": null,
"card_month": null,
"card_year": null,
"stripe_customer_id": "cus_474RjipEtz2ff7",
"balance": null
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 14
}
}
}
}
],
"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
}
},
"settings": {}
}
}
Update a organization membershipPATCH/api/v2/organization_memberships/{id}
URI Parameters
- id
number
(required) Example: 1organization membership id
PATCH /api/v2/organization_memberships/1/dismiss_notifications
Requests
PATCH /api/v2/organization_memberships/48/dismiss_notifications
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": "48",
"type": "organization_memberships",
"attributes": {
"updated_at": "2021-01-24T00:03:15.133+01:00",
"position": null,
"tasks_layout_id": 1,
"time_reminders": true,
"email_notifications": true,
"weekly_emails": true,
"notification_preference": {},
"preferences": null,
"tasks_filter_id": null,
"deals_filter_id": null,
"projects_filter_id": null,
"people_filter_id": null,
"companies_filter_id": null,
"company_time_filter_id": null,
"invoices_filter_id": null,
"budgets_filter_id": null,
"expenses_filter_id": null,
"bookings_filter_id": null,
"payments_filter_id": null,
"time_reports_filter_id": null,
"profitability_reports_filter_id": null,
"sales_reports_filter_id": null,
"salary_reports_filter_id": null,
"event_reports_filter_id": null,
"time_entry_reports_filter_id": null,
"booking_approvals_filter_id": null,
"expense_approvals_filter_id": null,
"time_approvals_filter_id": null
},
"relationships": {
"tasks_favorite_filter": {
"data": null
},
"deals_favorite_filter": {
"data": null
},
"projects_favorite_filter": {
"data": null
},
"people_favorite_filter": {
"data": null
},
"companies_favorite_filter": {
"data": null
},
"company_time_favorite_filter": {
"data": null
},
"invoices_favorite_filter": {
"data": null
},
"budgets_favorite_filter": {
"data": null
},
"expenses_favorite_filter": {
"data": null
},
"bookings_favorite_filter": {
"data": null
},
"payments_favorite_filter": {
"data": null
},
"time_reports_favorite_filter": {
"data": null
},
"profitability_reports_favorite_filter": {
"data": null
},
"sales_reports_favorite_filter": {
"data": null
},
"salary_reports_favorite_filter": {
"data": null
},
"event_reports_favorite_filter": {
"data": null
},
"time_entry_reports_favorite_filter": {
"data": null
},
"booking_approvals_favorite_filter": {
"data": null
},
"expense_approvals_favorite_filter": {
"data": null
},
"time_approvals_favorite_filter": {
"data": null
},
"organization": {
"data": {
"type": "organizations",
"id": "16"
}
},
"person": {
"data": {
"type": "people",
"id": "48"
}
},
"user": {
"data": {
"type": "users",
"id": "48"
}
},
"organization_membership_counts": {
"data": {
"type": "organization_membership_counts",
"id": "48"
}
},
"timer": {
"data": null
}
}
},
"included": [
{
"id": "16",
"type": "organizations",
"attributes": {
"name": "Organization16",
"time_reminder_id": 2,
"time_reminder_at": 10,
"time_reminder_condition": 100,
"working_days": [],
"working_hours": [
8,
8,
8,
8,
8,
0,
0
],
"man_day_minutes": 480,
"organization_type_id": 1,
"invitation_token": "6e12605411106683df8295358471bc98",
"due_days": 15,
"email_key": "organization16",
"addons": [
"task_time_tracking",
"time_entries_approval",
"email_inbox",
"project_boards",
"invoicing",
"subsidiaries",
"overhead",
"time_tracking_estimate",
"sidebar",
"beta_api",
"autotracking",
"expenses_approvals",
"timeoff_approvals",
"seat_based_pricing"
],
"time_zone": null,
"avatar_url": null,
"onboarding_progress": null,
"week_start_day_id": 3,
"weight": 0.16666666666666666,
"metrics": "eyJzb3VyY2UiOm51bGwsIm1lZGl1bSI6bnVsbCwiY2FtcGFpZ24iOm51bGwsImNvbnRlbnQiOm51bGx9",
"erector_id": null,
"sample_data_imported_at": null,
"sample_data_reverted_at": null,
"verified_at": "2021-01-24T00:03:14.000+01:00",
"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
}
},
"time_format_id": 1,
"number_format_id": 1,
"date_format_id": 1,
"time_display_id": 1,
"rounding_method_id": 1,
"rounding_interval_id": null,
"single_sign_on": false,
"billing_email": null,
"exchange_rate_provider_id": 1,
"overhead_recalculation_day": 5,
"overhead_amortization_period": 3,
"expense_markup": 0,
"deal_probability": 50,
"limited_service_types": false,
"decimal_places_id": 4,
"analytics_uid": null,
"currency_format_id": 1,
"email_type_id": 1,
"remove_branding": false,
"email_domain_name": null,
"email_local_name": null,
"domain_verified": false,
"allow_user_email": false,
"currency": "USD",
"currency_default": "USD",
"currency_normalized": "USD",
"facility_costs": 0,
"facility_costs_default": 0,
"facility_costs_normalized": 0
},
"relationships": {
"owner": {
"data": {
"type": "people",
"id": "48"
}
},
"company": {
"data": {
"type": "companies",
"id": "73"
}
},
"organization_subscription": {
"data": {
"type": "organization_subscriptions",
"id": "16"
}
}
}
},
{
"id": "48",
"type": "people",
"attributes": {
"first_name": "test first name",
"last_name": "test last name",
"email": "user48@email.com",
"title": null,
"joined_at": null,
"last_seen_at": null,
"deactivated_at": null,
"archived_at": null,
"role_id": 1,
"invited_at": null,
"is_user": true,
"tag_list": [],
"avatar_url": null,
"virtual": false,
"custom_fields": null,
"autotracking": false,
"created_at": "2021-01-24T00:03:14.841+01:00",
"placeholder": false,
"color_id": null,
"private_custom_reports_used": 0,
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 16
}
},
"company": {
"data": {
"type": "companies",
"id": "73"
}
},
"subsidiary": {
"data": null
}
}
},
{
"id": "48",
"type": "users",
"attributes": {
"email": "user48@email.com",
"first_name": "test first name",
"last_name": "test last name",
"time_zone": null,
"avatar_url": null,
"default_organization_id": 16,
"default_organization_slug": "16-organization16",
"intercom_hash": "f2040bc5fb6517585bcd7082f6280aa2af14449c1ae64c40ce7d8c62da6070d0",
"beta_features": [],
"newsletter_consent": false,
"newsletter_consent_at": null,
"ical_token": null,
"preferences": null,
"sysadmin": false,
"sysadmin_permissions": [],
"two_factor_auth": false,
"sso_provision": false
}
},
{
"id": "48",
"type": "organization_membership_counts",
"attributes": {
"unseen_notifications_count": 0,
"undismissed_notifications_count": 0,
"time_entries_for_approval_count": 0,
"expenses_for_approval_count": 0,
"time_off_for_approval_count": 0
}
},
{
"id": "73",
"type": "companies",
"attributes": {
"name": "Organization16",
"billing_name": null,
"vat": null,
"default_currency": "USD",
"created_at": "2021-01-24T00:03:14.839+01:00",
"archived_at": null,
"avatar_url": null,
"invoice_email_recipients": {},
"custom_fields": null,
"description": null,
"due_days": null,
"tag_list": [],
"contact": null
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 16
}
},
"bill_to": {
"data": null
}
}
},
{
"id": "16",
"type": "organization_subscriptions",
"attributes": {
"billing_email": null,
"billing_address": null,
"subscription_state_id": 1,
"trial_ends_at": "2021-02-07 23:59:59",
"subscription_ends_at": null,
"next_billing_cycle_at": null,
"grace_period_ends_at": null,
"plan_price": 24,
"monthly_plan_price": 24,
"yearly_plan_price": 240,
"discount": null,
"discount_expires_on": null,
"plan_cycle": "month",
"plan_type": "premium",
"downgrades": [
{
"id": "standard",
"name": "Standard",
"type": "regular",
"monthly_price_cents": 1500,
"yearly_price_cents": 15000,
"currency": "USD",
"upgrades": [
"premium"
],
"downgrades": [],
"features": {
"custom_fields": {
"type": "metered",
"limit": 3
},
"custom_fields_per_project": {
"type": "metered",
"limit": 1
},
"public_custom_reports": {
"type": "metered",
"limit": 10
},
"private_custom_reports": {
"type": "metered",
"limit": 10
},
"scheduling_placeholders": {
"type": "metered",
"limit": 0
},
"multigrouping": {
"type": "switch",
"available": false
},
"client_access_to_budgets": {
"type": "switch",
"available": false
},
"subsidiaries": {
"type": "switch",
"available": false
},
"time_approvals": {
"type": "switch",
"available": false
},
"expenses_approvals": {
"type": "switch",
"available": false
},
"timeoff_approvals": {
"type": "switch",
"available": false
},
"autotracking": {
"type": "switch",
"available": false
},
"forecasting": {
"type": "switch",
"available": false
},
"webhooks": {
"type": "switch",
"available": false
},
"table_pivoting": {
"type": "switch",
"available": false
},
"formula_fields": {
"type": "switch",
"available": false
},
"single_sign_on": {
"type": "switch",
"available": false
},
"duplicate_tasks": {
"type": "switch",
"available": true
},
"billable_time_rounding": {
"type": "switch",
"available": false
},
"payment_sync": {
"type": "switch",
"available": false
},
"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": false
},
"custom_invoicing_email": {
"type": "switch",
"available": false
},
"google_calendar_layout": {
"type": "switch",
"available": true
}
}
}
],
"current_plan": {
"id": "premium",
"name": "Premium",
"type": "regular",
"monthly_price_cents": 2400,
"yearly_price_cents": 24000,
"currency": "USD",
"upgrades": [],
"downgrades": [
"standard"
],
"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
}
}
},
"upgrades": [],
"payment_method_id": 1,
"employee_count": 6,
"seats": 6,
"seats_used": 6,
"trial_plan_ends_at": null,
"trial_plan_type": null,
"card_brand": null,
"card_last4": null,
"card_month": null,
"card_year": null,
"stripe_customer_id": "cus_474RjipEtz2ff7",
"balance": null
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 16
}
}
}
}
],
"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
}
},
"settings": {}
}
}
Dismiss notifications for organization membershipPATCH/api/v2/organization_memberships/{id}/dismiss_notifications
URI Parameters
- id
number
(required) Example: 1organization membership id
PATCH /api/v2/organization_memberships/1/clear_notifications
Requests
PATCH /api/v2/organization_memberships/60/clear_notifications
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": "60",
"type": "organization_memberships",
"attributes": {
"updated_at": "2021-01-24T00:03:15.923+01:00",
"position": null,
"tasks_layout_id": 1,
"time_reminders": true,
"email_notifications": true,
"weekly_emails": true,
"notification_preference": {},
"preferences": null,
"tasks_filter_id": null,
"deals_filter_id": null,
"projects_filter_id": null,
"people_filter_id": null,
"companies_filter_id": null,
"company_time_filter_id": null,
"invoices_filter_id": null,
"budgets_filter_id": null,
"expenses_filter_id": null,
"bookings_filter_id": null,
"payments_filter_id": null,
"time_reports_filter_id": null,
"profitability_reports_filter_id": null,
"sales_reports_filter_id": null,
"salary_reports_filter_id": null,
"event_reports_filter_id": null,
"time_entry_reports_filter_id": null,
"booking_approvals_filter_id": null,
"expense_approvals_filter_id": null,
"time_approvals_filter_id": null
},
"relationships": {
"tasks_favorite_filter": {
"data": null
},
"deals_favorite_filter": {
"data": null
},
"projects_favorite_filter": {
"data": null
},
"people_favorite_filter": {
"data": null
},
"companies_favorite_filter": {
"data": null
},
"company_time_favorite_filter": {
"data": null
},
"invoices_favorite_filter": {
"data": null
},
"budgets_favorite_filter": {
"data": null
},
"expenses_favorite_filter": {
"data": null
},
"bookings_favorite_filter": {
"data": null
},
"payments_favorite_filter": {
"data": null
},
"time_reports_favorite_filter": {
"data": null
},
"profitability_reports_favorite_filter": {
"data": null
},
"sales_reports_favorite_filter": {
"data": null
},
"salary_reports_favorite_filter": {
"data": null
},
"event_reports_favorite_filter": {
"data": null
},
"time_entry_reports_favorite_filter": {
"data": null
},
"booking_approvals_favorite_filter": {
"data": null
},
"expense_approvals_favorite_filter": {
"data": null
},
"time_approvals_favorite_filter": {
"data": null
},
"organization": {
"data": {
"type": "organizations",
"id": "18"
}
},
"person": {
"data": {
"type": "people",
"id": "60"
}
},
"user": {
"data": {
"type": "users",
"id": "60"
}
},
"organization_membership_counts": {
"data": {
"type": "organization_membership_counts",
"id": "60"
}
},
"timer": {
"data": null
}
}
},
"included": [
{
"id": "18",
"type": "organizations",
"attributes": {
"name": "Organization18",
"time_reminder_id": 2,
"time_reminder_at": 10,
"time_reminder_condition": 100,
"working_days": [],
"working_hours": [
8,
8,
8,
8,
8,
0,
0
],
"man_day_minutes": 480,
"organization_type_id": 1,
"invitation_token": "26adc1805c078657bdc33ea9bc9ea35b",
"due_days": 15,
"email_key": "organization18",
"addons": [
"task_time_tracking",
"time_entries_approval",
"email_inbox",
"project_boards",
"invoicing",
"subsidiaries",
"overhead",
"time_tracking_estimate",
"sidebar",
"beta_api",
"autotracking",
"expenses_approvals",
"timeoff_approvals",
"seat_based_pricing"
],
"time_zone": null,
"avatar_url": null,
"onboarding_progress": null,
"week_start_day_id": 3,
"weight": 0.16666666666666666,
"metrics": "eyJzb3VyY2UiOm51bGwsIm1lZGl1bSI6bnVsbCwiY2FtcGFpZ24iOm51bGwsImNvbnRlbnQiOm51bGx9",
"erector_id": null,
"sample_data_imported_at": null,
"sample_data_reverted_at": null,
"verified_at": "2021-01-24T00:03:15.000+01:00",
"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
}
},
"time_format_id": 1,
"number_format_id": 1,
"date_format_id": 1,
"time_display_id": 1,
"rounding_method_id": 1,
"rounding_interval_id": null,
"single_sign_on": false,
"billing_email": null,
"exchange_rate_provider_id": 1,
"overhead_recalculation_day": 5,
"overhead_amortization_period": 3,
"expense_markup": 0,
"deal_probability": 50,
"limited_service_types": false,
"decimal_places_id": 4,
"analytics_uid": null,
"currency_format_id": 1,
"email_type_id": 1,
"remove_branding": false,
"email_domain_name": null,
"email_local_name": null,
"domain_verified": false,
"allow_user_email": false,
"currency": "USD",
"currency_default": "USD",
"currency_normalized": "USD",
"facility_costs": 0,
"facility_costs_default": 0,
"facility_costs_normalized": 0
},
"relationships": {
"owner": {
"data": {
"type": "people",
"id": "60"
}
},
"company": {
"data": {
"type": "companies",
"id": "91"
}
},
"organization_subscription": {
"data": {
"type": "organization_subscriptions",
"id": "18"
}
}
}
},
{
"id": "60",
"type": "people",
"attributes": {
"first_name": "test first name",
"last_name": "test last name",
"email": "user60@email.com",
"title": null,
"joined_at": null,
"last_seen_at": null,
"deactivated_at": null,
"archived_at": null,
"role_id": 1,
"invited_at": null,
"is_user": true,
"tag_list": [],
"avatar_url": null,
"virtual": false,
"custom_fields": null,
"autotracking": false,
"created_at": "2021-01-24T00:03:15.635+01:00",
"placeholder": false,
"color_id": null,
"private_custom_reports_used": 0,
"contact": {}
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 18
}
},
"company": {
"data": {
"type": "companies",
"id": "91"
}
},
"subsidiary": {
"data": null
}
}
},
{
"id": "60",
"type": "users",
"attributes": {
"email": "user60@email.com",
"first_name": "test first name",
"last_name": "test last name",
"time_zone": null,
"avatar_url": null,
"default_organization_id": 18,
"default_organization_slug": "18-organization18",
"intercom_hash": "52615afeda17fc30710d9b82c70ed963de3c36b991bb12b0b71b72326cf0f6e2",
"beta_features": [],
"newsletter_consent": false,
"newsletter_consent_at": null,
"ical_token": null,
"preferences": null,
"sysadmin": false,
"sysadmin_permissions": [],
"two_factor_auth": false,
"sso_provision": false
}
},
{
"id": "60",
"type": "organization_membership_counts",
"attributes": {
"unseen_notifications_count": 0,
"undismissed_notifications_count": 0,
"time_entries_for_approval_count": 0,
"expenses_for_approval_count": 0,
"time_off_for_approval_count": 0
}
},
{
"id": "91",
"type": "companies",
"attributes": {
"name": "Organization18",
"billing_name": null,
"vat": null,
"default_currency": "USD",
"created_at": "2021-01-24T00:03:15.634+01:00",
"archived_at": null,
"avatar_url": null,
"invoice_email_recipients": {},
"custom_fields": null,
"description": null,
"due_days": null,
"tag_list": [],
"contact": null
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 18
}
},
"bill_to": {
"data": null
}
}
},
{
"id": "18",
"type": "organization_subscriptions",
"attributes": {
"billing_email": null,
"billing_address": null,
"subscription_state_id": 1,
"trial_ends_at": "2021-02-07 23:59:59",
"subscription_ends_at": null,
"next_billing_cycle_at": null,
"grace_period_ends_at": null,
"plan_price": 24,
"monthly_plan_price": 24,
"yearly_plan_price": 240,
"discount": null,
"discount_expires_on": null,
"plan_cycle": "month",
"plan_type": "premium",
"downgrades": [
{
"id": "standard",
"name": "Standard",
"type": "regular",
"monthly_price_cents": 1500,
"yearly_price_cents": 15000,
"currency": "USD",
"upgrades": [
"premium"
],
"downgrades": [],
"features": {
"custom_fields": {
"type": "metered",
"limit": 3
},
"custom_fields_per_project": {
"type": "metered",
"limit": 1
},
"public_custom_reports": {
"type": "metered",
"limit": 10
},
"private_custom_reports": {
"type": "metered",
"limit": 10
},
"scheduling_placeholders": {
"type": "metered",
"limit": 0
},
"multigrouping": {
"type": "switch",
"available": false
},
"client_access_to_budgets": {
"type": "switch",
"available": false
},
"subsidiaries": {
"type": "switch",
"available": false
},
"time_approvals": {
"type": "switch",
"available": false
},
"expenses_approvals": {
"type": "switch",
"available": false
},
"timeoff_approvals": {
"type": "switch",
"available": false
},
"autotracking": {
"type": "switch",
"available": false
},
"forecasting": {
"type": "switch",
"available": false
},
"webhooks": {
"type": "switch",
"available": false
},
"table_pivoting": {
"type": "switch",
"available": false
},
"formula_fields": {
"type": "switch",
"available": false
},
"single_sign_on": {
"type": "switch",
"available": false
},
"duplicate_tasks": {
"type": "switch",
"available": true
},
"billable_time_rounding": {
"type": "switch",
"available": false
},
"payment_sync": {
"type": "switch",
"available": false
},
"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": false
},
"custom_invoicing_email": {
"type": "switch",
"available": false
},
"google_calendar_layout": {
"type": "switch",
"available": true
}
}
}
],
"current_plan": {
"id": "premium",
"name": "Premium",
"type": "regular",
"monthly_price_cents": 2400,
"yearly_price_cents": 24000,
"currency": "USD",
"upgrades": [],
"downgrades": [
"standard"
],
"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
}
}
},
"upgrades": [],
"payment_method_id": 1,
"employee_count": 6,
"seats": 6,
"seats_used": 6,
"trial_plan_ends_at": null,
"trial_plan_type": null,
"card_brand": null,
"card_last4": null,
"card_month": null,
"card_year": null,
"stripe_customer_id": "cus_474RjipEtz2ff7",
"balance": null
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": 18
}
}
}
}
],
"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
}
},
"settings": {}
}
}
Clear notifications for organization membershipPATCH/api/v2/organization_memberships/{id}/clear_notifications
URI Parameters
- id
number
(required) Example: 1organization membership id
DELETE /api/v2/organization_memberships/1
Requests
DELETE /api/v2/organization_memberships/73
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.
Destroy organization membershipDELETE/api/v2/organization_memberships/{id}
URI Parameters
- id
number
(required) Example: 1organization membership id
Generated by aglio on 23 Jan 2021