Expenses are defined as costs incurred as part of a project, but not related to time. Once created, expenses can be included in generated invoices.
The expenses endpoint provides a list of every expense that the user making the request is allowed to see— across all projects to which the user belongs.
The response will contain an array of expense objects, sorted by the date
attribute in descending order,
available under the expenses
key.
This endpoint returns structured Expense objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results
array
and will be indexed by ID in the expenses
top-level JSON key.
Please see our Response Format section for more information.
approved | boolean Filter for expenses that are on approved expense reports, or on a workspace that does not require approvals. |
created_after | string <date-time> Filter for records created after a specified datetime. The datetime must be in ISO 8601 format. |
created_before | string <date-time> Filter for records created before a specified datetime. The datetime must be in ISO 8601 format. |
created_by | integer <int32> |
date_expensed_between | string Filter for expenses between the start and end dates in a colon-separated YYYY-MM-DD format. For example, |
external_reference_external_message | string Filter the objects based on the external message of their associated external references. This is an exact match. |
external_reference_external_status | string Filter by the status of the external object in the external system. |
external_reference_service_model | string Filter by the type of the external object this external reference belongs to. |
external_reference_service_model_ref | integer <int32> Filter by the id of the external object this external reference belongs to. |
external_reference_service_model_refs | string Filter for objects that correlate to the specified external object IDs. Provide a comma-separated list of up to 200 external IDs. |
external_reference_service_name | string Filter by the name of the provider for integration. |
external_reference_status | string Filter by the status of the integration, this can be successful or fail. |
from_archived_workspaces | boolean Default: false Filter for expenses from archived projects. |
has_external_references | boolean Filter by whether or not the object has external references. |
in_active_invoice_id | boolean Limit results to time entries current in the specified active invoice. |
include | string Any of the below associations can be included in your request by providing the
|
invoiced | boolean Include expenses that have been invoiced. |
mine | boolean Filter for expenses created by the user. |
on_my_account | boolean Default: true Only include expenses that are on internal projects. On my account false will include internal and external expenses. |
only | string Allows you to request one or more resources directly by ID. Multiple IDs can be supplied
in a comma separated list, like |
optional_fields | Array of strings Allows you to request one or more optional fields as an array. |
order | string Default: "date:desc" Supply Valid values: |
page | integer <int32> Default: 1 |
per_page | integer <int32> <= 200 Default: 20 |
reimbursable | boolean Filter for expenses that are reimbursable based on the provided value. |
submitted | boolean Filter for expenses that have been submitted. |
uninvoiced | boolean Filter for expenses that have not been invoiced. |
unsubmitted | boolean Filter for expenses that have not been submitted. |
updated_after | string <date-time> Filter for records updated after a specified datetime. The datetime must be in ISO 8601 format. |
updated_before | string <date-time> Filter for records updated before a specified datetime. The datetime must be in ISO 8601 format. |
with_expense_approvals | boolean |
with_expense_report_id | integer <int32> Filter for expenses associated with the specified expense report ID. If the report was canceled or rejected, no result is returned. |
with_recent_expense_report_ids | string Filter for expenses associated with the specified expense report IDs, including from canceled and rejected reports. Give multiple report IDs in a comma separated list.
|
without_external_reference_service_name | string Exclude by the existence of an external reference with the specified service name. |
workspace_id | integer <int32> Filter for expenses associated with the specified project ID. |
A list of Expenses have been retrieved.
Bad Request
Unauthorized request
Forbidden request
Page Not Found
Unprocessable Entity
Service is unavailable
{- "count": 0,
- "meta": {
- "count": 0,
- "page_count": 0,
- "page_number": 0,
- "page_size": 0
}, - "results": [
- {
- "key": "string",
- "id": "string"
}
], - "expenses": {
- "property1": {
- "active_submission_id": "string",
- "amount_in_cents": 0,
- "category": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "date": "2019-08-24",
- "expense_category_id": "string",
- "external_reference_ids": [
- "string"
], - "foreign_exchange_amount": {
- "date": "2019-08-24T14:15:22Z",
- "rate": 0,
- "source_currency": "string",
- "source_value": 0
}, - "is_billable": true,
- "is_invoiced": true,
- "notes": "string",
- "receipt_id": "string",
- "recent_submission_id": "string",
- "reimbursable": true,
- "role_id": "string",
- "story_id": "string",
- "taxable": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "user_can_edit": true,
- "user_id": "string",
- "vendor_id": "string",
- "workspace_id": "string"
}, - "property2": {
- "active_submission_id": "string",
- "amount_in_cents": 0,
- "category": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "date": "2019-08-24",
- "expense_category_id": "string",
- "external_reference_ids": [
- "string"
], - "foreign_exchange_amount": {
- "date": "2019-08-24T14:15:22Z",
- "rate": 0,
- "source_currency": "string",
- "source_value": 0
}, - "is_billable": true,
- "is_invoiced": true,
- "notes": "string",
- "receipt_id": "string",
- "recent_submission_id": "string",
- "reimbursable": true,
- "role_id": "string",
- "story_id": "string",
- "taxable": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "user_can_edit": true,
- "user_id": "string",
- "vendor_id": "string",
- "workspace_id": "string"
}
}, - "external_references": {
- "property1": {
- "created_at": "2019-08-24T14:15:22Z",
- "external_link": "string",
- "external_message": "string",
- "external_status": "string",
- "last_synced_at": "2019-08-24T14:15:22Z",
- "locked": true,
- "service_model": "string",
- "service_model_ref": "string",
- "service_name": "string",
- "status": "string",
- "subject_id": 0,
- "subject_ref": {
- "key": "string",
- "id": "string"
}, - "subject_type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "property2": {
- "created_at": "2019-08-24T14:15:22Z",
- "external_link": "string",
- "external_message": "string",
- "external_status": "string",
- "last_synced_at": "2019-08-24T14:15:22Z",
- "locked": true,
- "service_model": "string",
- "service_model_ref": "string",
- "service_name": "string",
- "status": "string",
- "subject_id": 0,
- "subject_ref": {
- "key": "string",
- "id": "string"
}, - "subject_type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}, - "stories": {
- "property1": {
- "ancestor_ids": [
- "string"
], - "ancestry_depth": 0,
- "archived": true,
- "archived_editable": true,
- "assigned_role_id": "string",
- "assignee_ids": [
- "string"
], - "assignment_timestamped_at": "2019-08-24T14:15:22Z",
- "attachment_ids": [
- "string"
], - "billable": true,
- "budget_estimate_in_cents": 0,
- "budget_used_in_cents": 0,
- "can_align_time": true,
- "can_edit": true,
- "can_post": true,
- "created_at": "2019-08-24T14:15:22Z",
- "creator_id": "string",
- "current_assignment_ids": [
- "string"
], - "custom_field_value_ids": [
- "string"
], - "deleted_at": "2019-08-24T14:15:22Z",
- "descendant_ids": [
- "string"
], - "description": "string",
- "due_date": "2019-08-24",
- "external_reference_ids": [
- "string"
], - "fixed_fee": true,
- "follower_ids": [
- "string"
], - "formatted_description": "string",
- "google_document_ids": [
- "string"
], - "has_out_of_bounds_sads": true,
- "has_proofing_access": true,
- "invoiced_balance_in_cents": 0,
- "is_time_trackable_type": true,
- "logged_billable_time_in_minutes": 0,
- "logged_nonbillable_time_in_minutes": 0,
- "parent_id": "string",
- "parsed_description": "string",
- "percentage_complete": 0,
- "position": 0,
- "potential_workspace_resource_ids": [
- "string"
], - "potential_workspace_resources_with_unnamed_ids": [
- "string"
], - "priority": 0,
- "project_plan": true,
- "proof_ids": [
- "string"
], - "read_only": true,
- "render_description_markdown": true,
- "reply_ids": [
- "string"
], - "root_id": "string",
- "source_dependency_ids": [
- "string"
], - "start_date": "2019-08-24",
- "state": "string",
- "story_state_change_ids": [
- "string"
], - "story_task_ids": [
- "string"
], - "story_type": "string",
- "sub_stories_billable_time_in_minutes": 0,
- "sub_stories_budget_estimate_in_cents": 0,
- "sub_stories_budget_used_in_cents": 0,
- "sub_stories_time_estimate_in_minutes": 0,
- "sub_story_count": 0,
- "sub_story_ids": [
- "string"
], - "subtree_depth": 0,
- "tag_ids": [
- "string"
], - "target_dependency_ids": [
- "string"
], - "time_estimate_in_minutes": 0,
- "time_trackable": true,
- "title": "string",
- "uninvoiced_balance_in_cents": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "weight": 0,
- "workspace_id": "string",
- "workspace_resource_ids": [
- "string"
], - "workspace_resources_with_unnamed_ids": [
- "string"
]
}, - "property2": {
- "ancestor_ids": [
- "string"
], - "ancestry_depth": 0,
- "archived": true,
- "archived_editable": true,
- "assigned_role_id": "string",
- "assignee_ids": [
- "string"
], - "assignment_timestamped_at": "2019-08-24T14:15:22Z",
- "attachment_ids": [
- "string"
], - "billable": true,
- "budget_estimate_in_cents": 0,
- "budget_used_in_cents": 0,
- "can_align_time": true,
- "can_edit": true,
- "can_post": true,
- "created_at": "2019-08-24T14:15:22Z",
- "creator_id": "string",
- "current_assignment_ids": [
- "string"
], - "custom_field_value_ids": [
- "string"
], - "deleted_at": "2019-08-24T14:15:22Z",
- "descendant_ids": [
- "string"
], - "description": "string",
- "due_date": "2019-08-24",
- "external_reference_ids": [
- "string"
], - "fixed_fee": true,
- "follower_ids": [
- "string"
], - "formatted_description": "string",
- "google_document_ids": [
- "string"
], - "has_out_of_bounds_sads": true,
- "has_proofing_access": true,
- "invoiced_balance_in_cents": 0,
- "is_time_trackable_type": true,
- "logged_billable_time_in_minutes": 0,
- "logged_nonbillable_time_in_minutes": 0,
- "parent_id": "string",
- "parsed_description": "string",
- "percentage_complete": 0,
- "position": 0,
- "potential_workspace_resource_ids": [
- "string"
], - "potential_workspace_resources_with_unnamed_ids": [
- "string"
], - "priority": 0,
- "project_plan": true,
- "proof_ids": [
- "string"
], - "read_only": true,
- "render_description_markdown": true,
- "reply_ids": [
- "string"
], - "root_id": "string",
- "source_dependency_ids": [
- "string"
], - "start_date": "2019-08-24",
- "state": "string",
- "story_state_change_ids": [
- "string"
], - "story_task_ids": [
- "string"
], - "story_type": "string",
- "sub_stories_billable_time_in_minutes": 0,
- "sub_stories_budget_estimate_in_cents": 0,
- "sub_stories_budget_used_in_cents": 0,
- "sub_stories_time_estimate_in_minutes": 0,
- "sub_story_count": 0,
- "sub_story_ids": [
- "string"
], - "subtree_depth": 0,
- "tag_ids": [
- "string"
], - "target_dependency_ids": [
- "string"
], - "time_estimate_in_minutes": 0,
- "time_trackable": true,
- "title": "string",
- "uninvoiced_balance_in_cents": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "weight": 0,
- "workspace_id": "string",
- "workspace_resource_ids": [
- "string"
], - "workspace_resources_with_unnamed_ids": [
- "string"
]
}
}, - "workspaces": {
- "property1": {
- "access_level": "string",
- "account_color_id": "string",
- "account_id": 0,
- "account_insights_mapping_ids": [
- "string"
], - "actual_fees_includes_additional_line_items": true,
- "actual_fees_includes_expenses": true,
- "approver_id": "string",
- "approver_ids": [
- "string"
], - "archived": true,
- "billable_minutes": 0,
- "budget_remaining": "string",
- "budget_used": "string",
- "budget_used_in_cents": 0,
- "budgeted": true,
- "can_create_line_items": true,
- "can_invite": true,
- "change_orders_enabled": true,
- "client_lead_name": "string",
- "client_role_name": "string",
- "consultant_role_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "creator_id": "string",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "current_status_report_id": "string",
- "current_user_participation_id": "string",
- "custom_field_value_ids": [
- "string"
], - "default_rate": "string",
- "description": "string",
- "due_date": "2019-08-24",
- "effective_due_date": "2019-08-24",
- "estimated_minutes": 0,
- "exclude_archived_stories_percent_complete": true,
- "expenses_in_burn_rate": true,
- "external_link": {
- "url": "string",
- "text": "string"
}, - "external_reference_ids": [
- "string"
], - "financial_viewer_ids": [
- "string"
], - "has_active_expense_report_submissions": true,
- "has_active_timesheet_submissions": true,
- "has_budget_access": true,
- "incoming_email_address": "string",
- "lock_date": "2019-08-24",
- "minutes_logged": 0,
- "next_uncompleted_milestone_id": "string",
- "non_billable_minutes": 0,
- "over_budget": true,
- "participant_ids": [
- "string"
], - "participation_ids": [
- "string"
], - "percent_of_budget_used": 0,
- "percentage_complete": 0,
- "permissions": {
- "can_upload_files": true,
- "can_private_message": true,
- "can_join": true,
- "is_participant": true,
- "access_level": "string",
- "team_lead": true,
- "user_is_client": true,
- "can_change_price": true,
- "can_change_story_billable": true,
- "can_post": true,
- "can_edit": true,
- "restricted": true,
- "can_see_financials": true,
- "is_guest_on_project": true
}, - "possible_approver_ids": [
- "string"
], - "posts_require_privacy_decision": true,
- "price": "string",
- "price_in_cents": 0,
- "primary_counterpart_id": "string",
- "primary_maven_id": "string",
- "primary_workspace_group_id": "string",
- "provider_lead_name": "string",
- "rate_card_id": 0,
- "require_expense_approvals": true,
- "require_notes_on_time_entries": true,
- "require_time_approvals": true,
- "stage": "string",
- "start_date": "2019-08-24",
- "status": {
- "color": "string",
- "key": "string",
- "message": "string"
}, - "status_report_ids": [
- "string"
], - "stories_are_fixed_fee_by_default": true,
- "target_margin": 0,
- "tasks_default_non_billable": true,
- "time_trackable": true,
- "timesheet_submission_ids": [
- "string"
], - "title": "string",
- "total_expenses_in_cents": 0,
- "total_invoiced": "string",
- "total_minutes_approved": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "workspace_group_ids": [
- "string"
], - "workspace_invoice_preference_id": 0,
- "workspace_resource_ids": [
- "string"
], - "workspace_resources_with_unnamed_ids": [
- "string"
]
}, - "property2": {
- "access_level": "string",
- "account_color_id": "string",
- "account_id": 0,
- "account_insights_mapping_ids": [
- "string"
], - "actual_fees_includes_additional_line_items": true,
- "actual_fees_includes_expenses": true,
- "approver_id": "string",
- "approver_ids": [
- "string"
], - "archived": true,
- "billable_minutes": 0,
- "budget_remaining": "string",
- "budget_used": "string",
- "budget_used_in_cents": 0,
- "budgeted": true,
- "can_create_line_items": true,
- "can_invite": true,
- "change_orders_enabled": true,
- "client_lead_name": "string",
- "client_role_name": "string",
- "consultant_role_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "creator_id": "string",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "current_status_report_id": "string",
- "current_user_participation_id": "string",
- "custom_field_value_ids": [
- "string"
], - "default_rate": "string",
- "description": "string",
- "due_date": "2019-08-24",
- "effective_due_date": "2019-08-24",
- "estimated_minutes": 0,
- "exclude_archived_stories_percent_complete": true,
- "expenses_in_burn_rate": true,
- "external_link": {
- "url": "string",
- "text": "string"
}, - "external_reference_ids": [
- "string"
], - "financial_viewer_ids": [
- "string"
], - "has_active_expense_report_submissions": true,
- "has_active_timesheet_submissions": true,
- "has_budget_access": true,
- "incoming_email_address": "string",
- "lock_date": "2019-08-24",
- "minutes_logged": 0,
- "next_uncompleted_milestone_id": "string",
- "non_billable_minutes": 0,
- "over_budget": true,
- "participant_ids": [
- "string"
], - "participation_ids": [
- "string"
], - "percent_of_budget_used": 0,
- "percentage_complete": 0,
- "permissions": {
- "can_upload_files": true,
- "can_private_message": true,
- "can_join": true,
- "is_participant": true,
- "access_level": "string",
- "team_lead": true,
- "user_is_client": true,
- "can_change_price": true,
- "can_change_story_billable": true,
- "can_post": true,
- "can_edit": true,
- "restricted": true,
- "can_see_financials": true,
- "is_guest_on_project": true
}, - "possible_approver_ids": [
- "string"
], - "posts_require_privacy_decision": true,
- "price": "string",
- "price_in_cents": 0,
- "primary_counterpart_id": "string",
- "primary_maven_id": "string",
- "primary_workspace_group_id": "string",
- "provider_lead_name": "string",
- "rate_card_id": 0,
- "require_expense_approvals": true,
- "require_notes_on_time_entries": true,
- "require_time_approvals": true,
- "stage": "string",
- "start_date": "2019-08-24",
- "status": {
- "color": "string",
- "key": "string",
- "message": "string"
}, - "status_report_ids": [
- "string"
], - "stories_are_fixed_fee_by_default": true,
- "target_margin": 0,
- "tasks_default_non_billable": true,
- "time_trackable": true,
- "timesheet_submission_ids": [
- "string"
], - "title": "string",
- "total_expenses_in_cents": 0,
- "total_invoiced": "string",
- "total_minutes_approved": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "workspace_group_ids": [
- "string"
], - "workspace_invoice_preference_id": 0,
- "workspace_resource_ids": [
- "string"
], - "workspace_resources_with_unnamed_ids": [
- "string"
]
}
}, - "users": {
- "property1": {
- "abbreviated_timezone": "string",
- "account_membership_id": "string",
- "bio": "string",
- "city": "string",
- "classification": "string",
- "country": "string",
- "custom_field_value_ids": [
- "string"
], - "email_address": "string",
- "external_reference_ids": [
- "string"
], - "full_name": "string",
- "headline": "string",
- "last_site_activity": "2019-08-24T14:15:22Z",
- "manager_id": "string",
- "photo_path": "string",
- "role_id": "string",
- "skill_ids": [
- "string"
], - "skill_membership_ids": [
- "string"
], - "state": "string",
- "website": "string",
- "work_sample_ids": [
- "string"
]
}, - "property2": {
- "abbreviated_timezone": "string",
- "account_membership_id": "string",
- "bio": "string",
- "city": "string",
- "classification": "string",
- "country": "string",
- "custom_field_value_ids": [
- "string"
], - "email_address": "string",
- "external_reference_ids": [
- "string"
], - "full_name": "string",
- "headline": "string",
- "last_site_activity": "2019-08-24T14:15:22Z",
- "manager_id": "string",
- "photo_path": "string",
- "role_id": "string",
- "skill_ids": [
- "string"
], - "skill_membership_ids": [
- "string"
], - "state": "string",
- "website": "string",
- "work_sample_ids": [
- "string"
]
}
}, - "attachments": {
- "property1": {
- "created_at": "2019-08-24T14:15:22Z",
- "creator_name": "string",
- "deletable": true,
- "deleted_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "filesize": 0,
- "previewable": true,
- "proof_url": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "view_in_new_tab": true,
- "viewable": true
}, - "property2": {
- "created_at": "2019-08-24T14:15:22Z",
- "creator_name": "string",
- "deletable": true,
- "deleted_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "filesize": 0,
- "previewable": true,
- "proof_url": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "view_in_new_tab": true,
- "viewable": true
}
}, - "expense_report_submissions": {
- "property1": {
- "comment": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "current_resolution_created_at_date": "2019-08-24T14:15:22Z",
- "current_resolution_creator_id": 0,
- "current_resolution_description": "string",
- "expense_ids": [
- "string"
], - "external_reference_ids": [
- "string"
], - "line_item_total_formatted": "string",
- "line_item_total_in_cents": 0,
- "locked": true,
- "permissions": {
- "can_cancel_submission": true,
- "can_approve_submission": true,
- "can_reject_submission": true,
- "can_resubmit_submission": true
}, - "resolution_description": "string",
- "resolution_ids": [
- "string"
], - "status": "string",
- "title": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "user_id": "string",
- "workspace_id": "string"
}, - "property2": {
- "comment": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "current_resolution_created_at_date": "2019-08-24T14:15:22Z",
- "current_resolution_creator_id": 0,
- "current_resolution_description": "string",
- "expense_ids": [
- "string"
], - "external_reference_ids": [
- "string"
], - "line_item_total_formatted": "string",
- "line_item_total_in_cents": 0,
- "locked": true,
- "permissions": {
- "can_cancel_submission": true,
- "can_approve_submission": true,
- "can_reject_submission": true,
- "can_resubmit_submission": true
}, - "resolution_description": "string",
- "resolution_ids": [
- "string"
], - "status": "string",
- "title": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "user_id": "string",
- "workspace_id": "string"
}
}, - "expense_categories": {
- "property1": {
- "deleted_at": "2019-08-24T14:15:22Z",
- "name": "string"
}, - "property2": {
- "deleted_at": "2019-08-24T14:15:22Z",
- "name": "string"
}
}, - "roles": {
- "property1": {
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "external_reference_ids": [
- "string"
], - "name": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "property2": {
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "external_reference_ids": [
- "string"
], - "name": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}, - "vendors": {
- "property1": {
- "archived": true,
- "external_reference_ids": [
- "string"
], - "externally_managed": true,
- "in_use": true,
- "name": "string"
}, - "property2": {
- "archived": true,
- "external_reference_ids": [
- "string"
], - "externally_managed": true,
- "in_use": true,
- "name": "string"
}
}
}
You can create multiple expenses in a single request if you send an expenses
array. An example would be
to send a request with the following parameters encoded as application/json
:
{"expenses": [ {"workspace_id": 1, "date": "2013-02-19T17:13:23-08:00", "category": "Food", "amount_in_cents": 5000}, {"workspace_id": 1, "date": "2015-02-19T17:13:23-08:00", "category": "Travel", "amount_in_cents": 10000} ]}
This endpoint returns structured Expense objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results
array
and will be indexed by ID in the expenses
top-level JSON key.
Please see our Response Format section for more information.
object | |||||||||||||||||||||||||||||||
|
Expense has been created.
Bad Request
Unauthorized request
Forbidden request
Page Not Found
Unprocessable Entity
Service is unavailable
{- "expense": {
- "workspace_id": 0,
- "date": "2019-08-24",
- "expense_category_id": 0,
- "category": "string",
- "amount_in_cents": 0,
- "foreign_exchange_amount": {
- "source_value": "string",
- "source_currency": "string"
}, - "user_id": 0,
- "notes": "string",
- "billable": true,
- "receipt_id": 0,
- "story_id": 0,
- "expense_budget_id": 0,
- "reimbursable": true,
- "vendor_id": 0,
- "external_reference": {
- "service_name": "string",
- "service_model": "string",
- "service_model_ref": "string",
- "status": "string",
- "external_message": "string",
- "external_link": "string",
- "external_status": "string",
- "locked": true
}
}
}
{- "count": 0,
- "meta": {
- "count": 0,
- "page_count": 0,
- "page_number": 0,
- "page_size": 0
}, - "results": [
- {
- "key": "string",
- "id": "string"
}
], - "expenses": {
- "property1": {
- "active_submission_id": "string",
- "amount_in_cents": 0,
- "category": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "date": "2019-08-24",
- "expense_category_id": "string",
- "external_reference_ids": [
- "string"
], - "foreign_exchange_amount": {
- "date": "2019-08-24T14:15:22Z",
- "rate": 0,
- "source_currency": "string",
- "source_value": 0
}, - "is_billable": true,
- "is_invoiced": true,
- "notes": "string",
- "receipt_id": "string",
- "recent_submission_id": "string",
- "reimbursable": true,
- "role_id": "string",
- "story_id": "string",
- "taxable": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "user_can_edit": true,
- "user_id": "string",
- "vendor_id": "string",
- "workspace_id": "string"
}, - "property2": {
- "active_submission_id": "string",
- "amount_in_cents": 0,
- "category": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "date": "2019-08-24",
- "expense_category_id": "string",
- "external_reference_ids": [
- "string"
], - "foreign_exchange_amount": {
- "date": "2019-08-24T14:15:22Z",
- "rate": 0,
- "source_currency": "string",
- "source_value": 0
}, - "is_billable": true,
- "is_invoiced": true,
- "notes": "string",
- "receipt_id": "string",
- "recent_submission_id": "string",
- "reimbursable": true,
- "role_id": "string",
- "story_id": "string",
- "taxable": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "user_can_edit": true,
- "user_id": "string",
- "vendor_id": "string",
- "workspace_id": "string"
}
}, - "external_references": {
- "property1": {
- "created_at": "2019-08-24T14:15:22Z",
- "external_link": "string",
- "external_message": "string",
- "external_status": "string",
- "last_synced_at": "2019-08-24T14:15:22Z",
- "locked": true,
- "service_model": "string",
- "service_model_ref": "string",
- "service_name": "string",
- "status": "string",
- "subject_id": 0,
- "subject_ref": {
- "key": "string",
- "id": "string"
}, - "subject_type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "property2": {
- "created_at": "2019-08-24T14:15:22Z",
- "external_link": "string",
- "external_message": "string",
- "external_status": "string",
- "last_synced_at": "2019-08-24T14:15:22Z",
- "locked": true,
- "service_model": "string",
- "service_model_ref": "string",
- "service_name": "string",
- "status": "string",
- "subject_id": 0,
- "subject_ref": {
- "key": "string",
- "id": "string"
}, - "subject_type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}, - "stories": {
- "property1": {
- "ancestor_ids": [
- "string"
], - "ancestry_depth": 0,
- "archived": true,
- "archived_editable": true,
- "assigned_role_id": "string",
- "assignee_ids": [
- "string"
], - "assignment_timestamped_at": "2019-08-24T14:15:22Z",
- "attachment_ids": [
- "string"
], - "billable": true,
- "budget_estimate_in_cents": 0,
- "budget_used_in_cents": 0,
- "can_align_time": true,
- "can_edit": true,
- "can_post": true,
- "created_at": "2019-08-24T14:15:22Z",
- "creator_id": "string",
- "current_assignment_ids": [
- "string"
], - "custom_field_value_ids": [
- "string"
], - "deleted_at": "2019-08-24T14:15:22Z",
- "descendant_ids": [
- "string"
], - "description": "string",
- "due_date": "2019-08-24",
- "external_reference_ids": [
- "string"
], - "fixed_fee": true,
- "follower_ids": [
- "string"
], - "formatted_description": "string",
- "google_document_ids": [
- "string"
], - "has_out_of_bounds_sads": true,
- "has_proofing_access": true,
- "invoiced_balance_in_cents": 0,
- "is_time_trackable_type": true,
- "logged_billable_time_in_minutes": 0,
- "logged_nonbillable_time_in_minutes": 0,
- "parent_id": "string",
- "parsed_description": "string",
- "percentage_complete": 0,
- "position": 0,
- "potential_workspace_resource_ids": [
- "string"
], - "potential_workspace_resources_with_unnamed_ids": [
- "string"
], - "priority": 0,
- "project_plan": true,
- "proof_ids": [
- "string"
], - "read_only": true,
- "render_description_markdown": true,
- "reply_ids": [
- "string"
], - "root_id": "string",
- "source_dependency_ids": [
- "string"
], - "start_date": "2019-08-24",
- "state": "string",
- "story_state_change_ids": [
- "string"
], - "story_task_ids": [
- "string"
], - "story_type": "string",
- "sub_stories_billable_time_in_minutes": 0,
- "sub_stories_budget_estimate_in_cents": 0,
- "sub_stories_budget_used_in_cents": 0,
- "sub_stories_time_estimate_in_minutes": 0,
- "sub_story_count": 0,
- "sub_story_ids": [
- "string"
], - "subtree_depth": 0,
- "tag_ids": [
- "string"
], - "target_dependency_ids": [
- "string"
], - "time_estimate_in_minutes": 0,
- "time_trackable": true,
- "title": "string",
- "uninvoiced_balance_in_cents": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "weight": 0,
- "workspace_id": "string",
- "workspace_resource_ids": [
- "string"
], - "workspace_resources_with_unnamed_ids": [
- "string"
]
}, - "property2": {
- "ancestor_ids": [
- "string"
], - "ancestry_depth": 0,
- "archived": true,
- "archived_editable": true,
- "assigned_role_id": "string",
- "assignee_ids": [
- "string"
], - "assignment_timestamped_at": "2019-08-24T14:15:22Z",
- "attachment_ids": [
- "string"
], - "billable": true,
- "budget_estimate_in_cents": 0,
- "budget_used_in_cents": 0,
- "can_align_time": true,
- "can_edit": true,
- "can_post": true,
- "created_at": "2019-08-24T14:15:22Z",
- "creator_id": "string",
- "current_assignment_ids": [
- "string"
], - "custom_field_value_ids": [
- "string"
], - "deleted_at": "2019-08-24T14:15:22Z",
- "descendant_ids": [
- "string"
], - "description": "string",
- "due_date": "2019-08-24",
- "external_reference_ids": [
- "string"
], - "fixed_fee": true,
- "follower_ids": [
- "string"
], - "formatted_description": "string",
- "google_document_ids": [
- "string"
], - "has_out_of_bounds_sads": true,
- "has_proofing_access": true,
- "invoiced_balance_in_cents": 0,
- "is_time_trackable_type": true,
- "logged_billable_time_in_minutes": 0,
- "logged_nonbillable_time_in_minutes": 0,
- "parent_id": "string",
- "parsed_description": "string",
- "percentage_complete": 0,
- "position": 0,
- "potential_workspace_resource_ids": [
- "string"
], - "potential_workspace_resources_with_unnamed_ids": [
- "string"
], - "priority": 0,
- "project_plan": true,
- "proof_ids": [
- "string"
], - "read_only": true,
- "render_description_markdown": true,
- "reply_ids": [
- "string"
], - "root_id": "string",
- "source_dependency_ids": [
- "string"
], - "start_date": "2019-08-24",
- "state": "string",
- "story_state_change_ids": [
- "string"
], - "story_task_ids": [
- "string"
], - "story_type": "string",
- "sub_stories_billable_time_in_minutes": 0,
- "sub_stories_budget_estimate_in_cents": 0,
- "sub_stories_budget_used_in_cents": 0,
- "sub_stories_time_estimate_in_minutes": 0,
- "sub_story_count": 0,
- "sub_story_ids": [
- "string"
], - "subtree_depth": 0,
- "tag_ids": [
- "string"
], - "target_dependency_ids": [
- "string"
], - "time_estimate_in_minutes": 0,
- "time_trackable": true,
- "title": "string",
- "uninvoiced_balance_in_cents": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "weight": 0,
- "workspace_id": "string",
- "workspace_resource_ids": [
- "string"
], - "workspace_resources_with_unnamed_ids": [
- "string"
]
}
}, - "workspaces": {
- "property1": {
- "access_level": "string",
- "account_color_id": "string",
- "account_id": 0,
- "account_insights_mapping_ids": [
- "string"
], - "actual_fees_includes_additional_line_items": true,
- "actual_fees_includes_expenses": true,
- "approver_id": "string",
- "approver_ids": [
- "string"
], - "archived": true,
- "billable_minutes": 0,
- "budget_remaining": "string",
- "budget_used": "string",
- "budget_used_in_cents": 0,
- "budgeted": true,
- "can_create_line_items": true,
- "can_invite": true,
- "change_orders_enabled": true,
- "client_lead_name": "string",
- "client_role_name": "string",
- "consultant_role_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "creator_id": "string",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "current_status_report_id": "string",
- "current_user_participation_id": "string",
- "custom_field_value_ids": [
- "string"
], - "default_rate": "string",
- "description": "string",
- "due_date": "2019-08-24",
- "effective_due_date": "2019-08-24",
- "estimated_minutes": 0,
- "exclude_archived_stories_percent_complete": true,
- "expenses_in_burn_rate": true,
- "external_link": {
- "url": "string",
- "text": "string"
}, - "external_reference_ids": [
- "string"
], - "financial_viewer_ids": [
- "string"
], - "has_active_expense_report_submissions": true,
- "has_active_timesheet_submissions": true,
- "has_budget_access": true,
- "incoming_email_address": "string",
- "lock_date": "2019-08-24",
- "minutes_logged": 0,
- "next_uncompleted_milestone_id": "string",
- "non_billable_minutes": 0,
- "over_budget": true,
- "participant_ids": [
- "string"
], - "participation_ids": [
- "string"
], - "percent_of_budget_used": 0,
- "percentage_complete": 0,
- "permissions": {
- "can_upload_files": true,
- "can_private_message": true,
- "can_join": true,
- "is_participant": true,
- "access_level": "string",
- "team_lead": true,
- "user_is_client": true,
- "can_change_price": true,
- "can_change_story_billable": true,
- "can_post": true,
- "can_edit": true,
- "restricted": true,
- "can_see_financials": true,
- "is_guest_on_project": true
}, - "possible_approver_ids": [
- "string"
], - "posts_require_privacy_decision": true,
- "price": "string",
- "price_in_cents": 0,
- "primary_counterpart_id": "string",
- "primary_maven_id": "string",
- "primary_workspace_group_id": "string",
- "provider_lead_name": "string",
- "rate_card_id": 0,
- "require_expense_approvals": true,
- "require_notes_on_time_entries": true,
- "require_time_approvals": true,
- "stage": "string",
- "start_date": "2019-08-24",
- "status": {
- "color": "string",
- "key": "string",
- "message": "string"
}, - "status_report_ids": [
- "string"
], - "stories_are_fixed_fee_by_default": true,
- "target_margin": 0,
- "tasks_default_non_billable": true,
- "time_trackable": true,
- "timesheet_submission_ids": [
- "string"
], - "title": "string",
- "total_expenses_in_cents": 0,
- "total_invoiced": "string",
- "total_minutes_approved": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "workspace_group_ids": [
- "string"
], - "workspace_invoice_preference_id": 0,
- "workspace_resource_ids": [
- "string"
], - "workspace_resources_with_unnamed_ids": [
- "string"
]
}, - "property2": {
- "access_level": "string",
- "account_color_id": "string",
- "account_id": 0,
- "account_insights_mapping_ids": [
- "string"
], - "actual_fees_includes_additional_line_items": true,
- "actual_fees_includes_expenses": true,
- "approver_id": "string",
- "approver_ids": [
- "string"
], - "archived": true,
- "billable_minutes": 0,
- "budget_remaining": "string",
- "budget_used": "string",
- "budget_used_in_cents": 0,
- "budgeted": true,
- "can_create_line_items": true,
- "can_invite": true,
- "change_orders_enabled": true,
- "client_lead_name": "string",
- "client_role_name": "string",
- "consultant_role_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "creator_id": "string",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "current_status_report_id": "string",
- "current_user_participation_id": "string",
- "custom_field_value_ids": [
- "string"
], - "default_rate": "string",
- "description": "string",
- "due_date": "2019-08-24",
- "effective_due_date": "2019-08-24",
- "estimated_minutes": 0,
- "exclude_archived_stories_percent_complete": true,
- "expenses_in_burn_rate": true,
- "external_link": {
- "url": "string",
- "text": "string"
}, - "external_reference_ids": [
- "string"
], - "financial_viewer_ids": [
- "string"
], - "has_active_expense_report_submissions": true,
- "has_active_timesheet_submissions": true,
- "has_budget_access": true,
- "incoming_email_address": "string",
- "lock_date": "2019-08-24",
- "minutes_logged": 0,
- "next_uncompleted_milestone_id": "string",
- "non_billable_minutes": 0,
- "over_budget": true,
- "participant_ids": [
- "string"
], - "participation_ids": [
- "string"
], - "percent_of_budget_used": 0,
- "percentage_complete": 0,
- "permissions": {
- "can_upload_files": true,
- "can_private_message": true,
- "can_join": true,
- "is_participant": true,
- "access_level": "string",
- "team_lead": true,
- "user_is_client": true,
- "can_change_price": true,
- "can_change_story_billable": true,
- "can_post": true,
- "can_edit": true,
- "restricted": true,
- "can_see_financials": true,
- "is_guest_on_project": true
}, - "possible_approver_ids": [
- "string"
], - "posts_require_privacy_decision": true,
- "price": "string",
- "price_in_cents": 0,
- "primary_counterpart_id": "string",
- "primary_maven_id": "string",
- "primary_workspace_group_id": "string",
- "provider_lead_name": "string",
- "rate_card_id": 0,
- "require_expense_approvals": true,
- "require_notes_on_time_entries": true,
- "require_time_approvals": true,
- "stage": "string",
- "start_date": "2019-08-24",
- "status": {
- "color": "string",
- "key": "string",
- "message": "string"
}, - "status_report_ids": [
- "string"
], - "stories_are_fixed_fee_by_default": true,
- "target_margin": 0,
- "tasks_default_non_billable": true,
- "time_trackable": true,
- "timesheet_submission_ids": [
- "string"
], - "title": "string",
- "total_expenses_in_cents": 0,
- "total_invoiced": "string",
- "total_minutes_approved": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "workspace_group_ids": [
- "string"
], - "workspace_invoice_preference_id": 0,
- "workspace_resource_ids": [
- "string"
], - "workspace_resources_with_unnamed_ids": [
- "string"
]
}
}, - "users": {
- "property1": {
- "abbreviated_timezone": "string",
- "account_membership_id": "string",
- "bio": "string",
- "city": "string",
- "classification": "string",
- "country": "string",
- "custom_field_value_ids": [
- "string"
], - "email_address": "string",
- "external_reference_ids": [
- "string"
], - "full_name": "string",
- "headline": "string",
- "last_site_activity": "2019-08-24T14:15:22Z",
- "manager_id": "string",
- "photo_path": "string",
- "role_id": "string",
- "skill_ids": [
- "string"
], - "skill_membership_ids": [
- "string"
], - "state": "string",
- "website": "string",
- "work_sample_ids": [
- "string"
]
}, - "property2": {
- "abbreviated_timezone": "string",
- "account_membership_id": "string",
- "bio": "string",
- "city": "string",
- "classification": "string",
- "country": "string",
- "custom_field_value_ids": [
- "string"
], - "email_address": "string",
- "external_reference_ids": [
- "string"
], - "full_name": "string",
- "headline": "string",
- "last_site_activity": "2019-08-24T14:15:22Z",
- "manager_id": "string",
- "photo_path": "string",
- "role_id": "string",
- "skill_ids": [
- "string"
], - "skill_membership_ids": [
- "string"
], - "state": "string",
- "website": "string",
- "work_sample_ids": [
- "string"
]
}
}, - "attachments": {
- "property1": {
- "created_at": "2019-08-24T14:15:22Z",
- "creator_name": "string",
- "deletable": true,
- "deleted_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "filesize": 0,
- "previewable": true,
- "proof_url": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "view_in_new_tab": true,
- "viewable": true
}, - "property2": {
- "created_at": "2019-08-24T14:15:22Z",
- "creator_name": "string",
- "deletable": true,
- "deleted_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "filesize": 0,
- "previewable": true,
- "proof_url": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "view_in_new_tab": true,
- "viewable": true
}
}, - "expense_report_submissions": {
- "property1": {
- "comment": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "current_resolution_created_at_date": "2019-08-24T14:15:22Z",
- "current_resolution_creator_id": 0,
- "current_resolution_description": "string",
- "expense_ids": [
- "string"
], - "external_reference_ids": [
- "string"
], - "line_item_total_formatted": "string",
- "line_item_total_in_cents": 0,
- "locked": true,
- "permissions": {
- "can_cancel_submission": true,
- "can_approve_submission": true,
- "can_reject_submission": true,
- "can_resubmit_submission": true
}, - "resolution_description": "string",
- "resolution_ids": [
- "string"
], - "status": "string",
- "title": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "user_id": "string",
- "workspace_id": "string"
}, - "property2": {
- "comment": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "current_resolution_created_at_date": "2019-08-24T14:15:22Z",
- "current_resolution_creator_id": 0,
- "current_resolution_description": "string",
- "expense_ids": [
- "string"
], - "external_reference_ids": [
- "string"
], - "line_item_total_formatted": "string",
- "line_item_total_in_cents": 0,
- "locked": true,
- "permissions": {
- "can_cancel_submission": true,
- "can_approve_submission": true,
- "can_reject_submission": true,
- "can_resubmit_submission": true
}, - "resolution_description": "string",
- "resolution_ids": [
- "string"
], - "status": "string",
- "title": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "user_id": "string",
- "workspace_id": "string"
}
}, - "expense_categories": {
- "property1": {
- "deleted_at": "2019-08-24T14:15:22Z",
- "name": "string"
}, - "property2": {
- "deleted_at": "2019-08-24T14:15:22Z",
- "name": "string"
}
}, - "roles": {
- "property1": {
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "external_reference_ids": [
- "string"
], - "name": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "property2": {
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "external_reference_ids": [
- "string"
], - "name": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}, - "vendors": {
- "property1": {
- "archived": true,
- "external_reference_ids": [
- "string"
], - "externally_managed": true,
- "in_use": true,
- "name": "string"
}, - "property2": {
- "archived": true,
- "external_reference_ids": [
- "string"
], - "externally_managed": true,
- "in_use": true,
- "name": "string"
}
}
}
The IDs of the expenses to delete can be provided in the ids
query parameter or via the request body.
Request body example:
{ "ids": "1,2,3" }
If any specified expenses cannot be deleted, the entire request will fail and an error message will be returned that specifies which ones could not be deleted and why.
This endpoint returns structured Expense objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results
array
and will be indexed by ID in the expenses
top-level JSON key.
Please see our Response Format section for more information.
Expense has been deleted.
Bad Request
Unauthorized request
Forbidden request
Page Not Found
Unprocessable Entity
Service is unavailable
{- "errors": [
- {
- "type": "string",
- "message": "string"
}
]
}
You can request either GET /api/v1/expenses.json?only=5
or
GET /api/v1/expenses/5.json
. In both cases, default filters will be applied. Unless you
provide the from_archived_workspaces:true
filter you won't receive expenses from archived projects,
and will get a 404 status on the "show" route.
This endpoint returns structured Expense objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results
array
and will be indexed by ID in the expenses
top-level JSON key.
Please see our Response Format section for more information.
The Expense has been retrieved.
Bad Request
Unauthorized request
Forbidden request
Page Not Found
Unprocessable Entity
Service is unavailable
{- "count": 0,
- "meta": {
- "count": 0,
- "page_count": 0,
- "page_number": 0,
- "page_size": 0
}, - "results": [
- {
- "key": "string",
- "id": "string"
}
], - "expenses": {
- "property1": {
- "active_submission_id": "string",
- "amount_in_cents": 0,
- "category": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "date": "2019-08-24",
- "expense_category_id": "string",
- "external_reference_ids": [
- "string"
], - "foreign_exchange_amount": {
- "date": "2019-08-24T14:15:22Z",
- "rate": 0,
- "source_currency": "string",
- "source_value": 0
}, - "is_billable": true,
- "is_invoiced": true,
- "notes": "string",
- "receipt_id": "string",
- "recent_submission_id": "string",
- "reimbursable": true,
- "role_id": "string",
- "story_id": "string",
- "taxable": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "user_can_edit": true,
- "user_id": "string",
- "vendor_id": "string",
- "workspace_id": "string"
}, - "property2": {
- "active_submission_id": "string",
- "amount_in_cents": 0,
- "category": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "date": "2019-08-24",
- "expense_category_id": "string",
- "external_reference_ids": [
- "string"
], - "foreign_exchange_amount": {
- "date": "2019-08-24T14:15:22Z",
- "rate": 0,
- "source_currency": "string",
- "source_value": 0
}, - "is_billable": true,
- "is_invoiced": true,
- "notes": "string",
- "receipt_id": "string",
- "recent_submission_id": "string",
- "reimbursable": true,
- "role_id": "string",
- "story_id": "string",
- "taxable": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "user_can_edit": true,
- "user_id": "string",
- "vendor_id": "string",
- "workspace_id": "string"
}
}, - "external_references": {
- "property1": {
- "created_at": "2019-08-24T14:15:22Z",
- "external_link": "string",
- "external_message": "string",
- "external_status": "string",
- "last_synced_at": "2019-08-24T14:15:22Z",
- "locked": true,
- "service_model": "string",
- "service_model_ref": "string",
- "service_name": "string",
- "status": "string",
- "subject_id": 0,
- "subject_ref": {
- "key": "string",
- "id": "string"
}, - "subject_type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "property2": {
- "created_at": "2019-08-24T14:15:22Z",
- "external_link": "string",
- "external_message": "string",
- "external_status": "string",
- "last_synced_at": "2019-08-24T14:15:22Z",
- "locked": true,
- "service_model": "string",
- "service_model_ref": "string",
- "service_name": "string",
- "status": "string",
- "subject_id": 0,
- "subject_ref": {
- "key": "string",
- "id": "string"
}, - "subject_type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}, - "stories": {
- "property1": {
- "ancestor_ids": [
- "string"
], - "ancestry_depth": 0,
- "archived": true,
- "archived_editable": true,
- "assigned_role_id": "string",
- "assignee_ids": [
- "string"
], - "assignment_timestamped_at": "2019-08-24T14:15:22Z",
- "attachment_ids": [
- "string"
], - "billable": true,
- "budget_estimate_in_cents": 0,
- "budget_used_in_cents": 0,
- "can_align_time": true,
- "can_edit": true,
- "can_post": true,
- "created_at": "2019-08-24T14:15:22Z",
- "creator_id": "string",
- "current_assignment_ids": [
- "string"
], - "custom_field_value_ids": [
- "string"
], - "deleted_at": "2019-08-24T14:15:22Z",
- "descendant_ids": [
- "string"
], - "description": "string",
- "due_date": "2019-08-24",
- "external_reference_ids": [
- "string"
], - "fixed_fee": true,
- "follower_ids": [
- "string"
], - "formatted_description": "string",
- "google_document_ids": [
- "string"
], - "has_out_of_bounds_sads": true,
- "has_proofing_access": true,
- "invoiced_balance_in_cents": 0,
- "is_time_trackable_type": true,
- "logged_billable_time_in_minutes": 0,
- "logged_nonbillable_time_in_minutes": 0,
- "parent_id": "string",
- "parsed_description": "string",
- "percentage_complete": 0,
- "position": 0,
- "potential_workspace_resource_ids": [
- "string"
], - "potential_workspace_resources_with_unnamed_ids": [
- "string"
], - "priority": 0,
- "project_plan": true,
- "proof_ids": [
- "string"
], - "read_only": true,
- "render_description_markdown": true,
- "reply_ids": [
- "string"
], - "root_id": "string",
- "source_dependency_ids": [
- "string"
], - "start_date": "2019-08-24",
- "state": "string",
- "story_state_change_ids": [
- "string"
], - "story_task_ids": [
- "string"
], - "story_type": "string",
- "sub_stories_billable_time_in_minutes": 0,
- "sub_stories_budget_estimate_in_cents": 0,
- "sub_stories_budget_used_in_cents": 0,
- "sub_stories_time_estimate_in_minutes": 0,
- "sub_story_count": 0,
- "sub_story_ids": [
- "string"
], - "subtree_depth": 0,
- "tag_ids": [
- "string"
], - "target_dependency_ids": [
- "string"
], - "time_estimate_in_minutes": 0,
- "time_trackable": true,
- "title": "string",
- "uninvoiced_balance_in_cents": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "weight": 0,
- "workspace_id": "string",
- "workspace_resource_ids": [
- "string"
], - "workspace_resources_with_unnamed_ids": [
- "string"
]
}, - "property2": {
- "ancestor_ids": [
- "string"
], - "ancestry_depth": 0,
- "archived": true,
- "archived_editable": true,
- "assigned_role_id": "string",
- "assignee_ids": [
- "string"
], - "assignment_timestamped_at": "2019-08-24T14:15:22Z",
- "attachment_ids": [
- "string"
], - "billable": true,
- "budget_estimate_in_cents": 0,
- "budget_used_in_cents": 0,
- "can_align_time": true,
- "can_edit": true,
- "can_post": true,
- "created_at": "2019-08-24T14:15:22Z",
- "creator_id": "string",
- "current_assignment_ids": [
- "string"
], - "custom_field_value_ids": [
- "string"
], - "deleted_at": "2019-08-24T14:15:22Z",
- "descendant_ids": [
- "string"
], - "description": "string",
- "due_date": "2019-08-24",
- "external_reference_ids": [
- "string"
], - "fixed_fee": true,
- "follower_ids": [
- "string"
], - "formatted_description": "string",
- "google_document_ids": [
- "string"
], - "has_out_of_bounds_sads": true,
- "has_proofing_access": true,
- "invoiced_balance_in_cents": 0,
- "is_time_trackable_type": true,
- "logged_billable_time_in_minutes": 0,
- "logged_nonbillable_time_in_minutes": 0,
- "parent_id": "string",
- "parsed_description": "string",
- "percentage_complete": 0,
- "position": 0,
- "potential_workspace_resource_ids": [
- "string"
], - "potential_workspace_resources_with_unnamed_ids": [
- "string"
], - "priority": 0,
- "project_plan": true,
- "proof_ids": [
- "string"
], - "read_only": true,
- "render_description_markdown": true,
- "reply_ids": [
- "string"
], - "root_id": "string",
- "source_dependency_ids": [
- "string"
], - "start_date": "2019-08-24",
- "state": "string",
- "story_state_change_ids": [
- "string"
], - "story_task_ids": [
- "string"
], - "story_type": "string",
- "sub_stories_billable_time_in_minutes": 0,
- "sub_stories_budget_estimate_in_cents": 0,
- "sub_stories_budget_used_in_cents": 0,
- "sub_stories_time_estimate_in_minutes": 0,
- "sub_story_count": 0,
- "sub_story_ids": [
- "string"
], - "subtree_depth": 0,
- "tag_ids": [
- "string"
], - "target_dependency_ids": [
- "string"
], - "time_estimate_in_minutes": 0,
- "time_trackable": true,
- "title": "string",
- "uninvoiced_balance_in_cents": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "weight": 0,
- "workspace_id": "string",
- "workspace_resource_ids": [
- "string"
], - "workspace_resources_with_unnamed_ids": [
- "string"
]
}
}, - "workspaces": {
- "property1": {
- "access_level": "string",
- "account_color_id": "string",
- "account_id": 0,
- "account_insights_mapping_ids": [
- "string"
], - "actual_fees_includes_additional_line_items": true,
- "actual_fees_includes_expenses": true,
- "approver_id": "string",
- "approver_ids": [
- "string"
], - "archived": true,
- "billable_minutes": 0,
- "budget_remaining": "string",
- "budget_used": "string",
- "budget_used_in_cents": 0,
- "budgeted": true,
- "can_create_line_items": true,
- "can_invite": true,
- "change_orders_enabled": true,
- "client_lead_name": "string",
- "client_role_name": "string",
- "consultant_role_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "creator_id": "string",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "current_status_report_id": "string",
- "current_user_participation_id": "string",
- "custom_field_value_ids": [
- "string"
], - "default_rate": "string",
- "description": "string",
- "due_date": "2019-08-24",
- "effective_due_date": "2019-08-24",
- "estimated_minutes": 0,
- "exclude_archived_stories_percent_complete": true,
- "expenses_in_burn_rate": true,
- "external_link": {
- "url": "string",
- "text": "string"
}, - "external_reference_ids": [
- "string"
], - "financial_viewer_ids": [
- "string"
], - "has_active_expense_report_submissions": true,
- "has_active_timesheet_submissions": true,
- "has_budget_access": true,
- "incoming_email_address": "string",
- "lock_date": "2019-08-24",
- "minutes_logged": 0,
- "next_uncompleted_milestone_id": "string",
- "non_billable_minutes": 0,
- "over_budget": true,
- "participant_ids": [
- "string"
], - "participation_ids": [
- "string"
], - "percent_of_budget_used": 0,
- "percentage_complete": 0,
- "permissions": {
- "can_upload_files": true,
- "can_private_message": true,
- "can_join": true,
- "is_participant": true,
- "access_level": "string",
- "team_lead": true,
- "user_is_client": true,
- "can_change_price": true,
- "can_change_story_billable": true,
- "can_post": true,
- "can_edit": true,
- "restricted": true,
- "can_see_financials": true,
- "is_guest_on_project": true
}, - "possible_approver_ids": [
- "string"
], - "posts_require_privacy_decision": true,
- "price": "string",
- "price_in_cents": 0,
- "primary_counterpart_id": "string",
- "primary_maven_id": "string",
- "primary_workspace_group_id": "string",
- "provider_lead_name": "string",
- "rate_card_id": 0,
- "require_expense_approvals": true,
- "require_notes_on_time_entries": true,
- "require_time_approvals": true,
- "stage": "string",
- "start_date": "2019-08-24",
- "status": {
- "color": "string",
- "key": "string",
- "message": "string"
}, - "status_report_ids": [
- "string"
], - "stories_are_fixed_fee_by_default": true,
- "target_margin": 0,
- "tasks_default_non_billable": true,
- "time_trackable": true,
- "timesheet_submission_ids": [
- "string"
], - "title": "string",
- "total_expenses_in_cents": 0,
- "total_invoiced": "string",
- "total_minutes_approved": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "workspace_group_ids": [
- "string"
], - "workspace_invoice_preference_id": 0,
- "workspace_resource_ids": [
- "string"
], - "workspace_resources_with_unnamed_ids": [
- "string"
]
}, - "property2": {
- "access_level": "string",
- "account_color_id": "string",
- "account_id": 0,
- "account_insights_mapping_ids": [
- "string"
], - "actual_fees_includes_additional_line_items": true,
- "actual_fees_includes_expenses": true,
- "approver_id": "string",
- "approver_ids": [
- "string"
], - "archived": true,
- "billable_minutes": 0,
- "budget_remaining": "string",
- "budget_used": "string",
- "budget_used_in_cents": 0,
- "budgeted": true,
- "can_create_line_items": true,
- "can_invite": true,
- "change_orders_enabled": true,
- "client_lead_name": "string",
- "client_role_name": "string",
- "consultant_role_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "creator_id": "string",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "current_status_report_id": "string",
- "current_user_participation_id": "string",
- "custom_field_value_ids": [
- "string"
], - "default_rate": "string",
- "description": "string",
- "due_date": "2019-08-24",
- "effective_due_date": "2019-08-24",
- "estimated_minutes": 0,
- "exclude_archived_stories_percent_complete": true,
- "expenses_in_burn_rate": true,
- "external_link": {
- "url": "string",
- "text": "string"
}, - "external_reference_ids": [
- "string"
], - "financial_viewer_ids": [
- "string"
], - "has_active_expense_report_submissions": true,
- "has_active_timesheet_submissions": true,
- "has_budget_access": true,
- "incoming_email_address": "string",
- "lock_date": "2019-08-24",
- "minutes_logged": 0,
- "next_uncompleted_milestone_id": "string",
- "non_billable_minutes": 0,
- "over_budget": true,
- "participant_ids": [
- "string"
], - "participation_ids": [
- "string"
], - "percent_of_budget_used": 0,
- "percentage_complete": 0,
- "permissions": {
- "can_upload_files": true,
- "can_private_message": true,
- "can_join": true,
- "is_participant": true,
- "access_level": "string",
- "team_lead": true,
- "user_is_client": true,
- "can_change_price": true,
- "can_change_story_billable": true,
- "can_post": true,
- "can_edit": true,
- "restricted": true,
- "can_see_financials": true,
- "is_guest_on_project": true
}, - "possible_approver_ids": [
- "string"
], - "posts_require_privacy_decision": true,
- "price": "string",
- "price_in_cents": 0,
- "primary_counterpart_id": "string",
- "primary_maven_id": "string",
- "primary_workspace_group_id": "string",
- "provider_lead_name": "string",
- "rate_card_id": 0,
- "require_expense_approvals": true,
- "require_notes_on_time_entries": true,
- "require_time_approvals": true,
- "stage": "string",
- "start_date": "2019-08-24",
- "status": {
- "color": "string",
- "key": "string",
- "message": "string"
}, - "status_report_ids": [
- "string"
], - "stories_are_fixed_fee_by_default": true,
- "target_margin": 0,
- "tasks_default_non_billable": true,
- "time_trackable": true,
- "timesheet_submission_ids": [
- "string"
], - "title": "string",
- "total_expenses_in_cents": 0,
- "total_invoiced": "string",
- "total_minutes_approved": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "workspace_group_ids": [
- "string"
], - "workspace_invoice_preference_id": 0,
- "workspace_resource_ids": [
- "string"
], - "workspace_resources_with_unnamed_ids": [
- "string"
]
}
}, - "users": {
- "property1": {
- "abbreviated_timezone": "string",
- "account_membership_id": "string",
- "bio": "string",
- "city": "string",
- "classification": "string",
- "country": "string",
- "custom_field_value_ids": [
- "string"
], - "email_address": "string",
- "external_reference_ids": [
- "string"
], - "full_name": "string",
- "headline": "string",
- "last_site_activity": "2019-08-24T14:15:22Z",
- "manager_id": "string",
- "photo_path": "string",
- "role_id": "string",
- "skill_ids": [
- "string"
], - "skill_membership_ids": [
- "string"
], - "state": "string",
- "website": "string",
- "work_sample_ids": [
- "string"
]
}, - "property2": {
- "abbreviated_timezone": "string",
- "account_membership_id": "string",
- "bio": "string",
- "city": "string",
- "classification": "string",
- "country": "string",
- "custom_field_value_ids": [
- "string"
], - "email_address": "string",
- "external_reference_ids": [
- "string"
], - "full_name": "string",
- "headline": "string",
- "last_site_activity": "2019-08-24T14:15:22Z",
- "manager_id": "string",
- "photo_path": "string",
- "role_id": "string",
- "skill_ids": [
- "string"
], - "skill_membership_ids": [
- "string"
], - "state": "string",
- "website": "string",
- "work_sample_ids": [
- "string"
]
}
}, - "attachments": {
- "property1": {
- "created_at": "2019-08-24T14:15:22Z",
- "creator_name": "string",
- "deletable": true,
- "deleted_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "filesize": 0,
- "previewable": true,
- "proof_url": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "view_in_new_tab": true,
- "viewable": true
}, - "property2": {
- "created_at": "2019-08-24T14:15:22Z",
- "creator_name": "string",
- "deletable": true,
- "deleted_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "filesize": 0,
- "previewable": true,
- "proof_url": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "view_in_new_tab": true,
- "viewable": true
}
}, - "expense_report_submissions": {
- "property1": {
- "comment": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "current_resolution_created_at_date": "2019-08-24T14:15:22Z",
- "current_resolution_creator_id": 0,
- "current_resolution_description": "string",
- "expense_ids": [
- "string"
], - "external_reference_ids": [
- "string"
], - "line_item_total_formatted": "string",
- "line_item_total_in_cents": 0,
- "locked": true,
- "permissions": {
- "can_cancel_submission": true,
- "can_approve_submission": true,
- "can_reject_submission": true,
- "can_resubmit_submission": true
}, - "resolution_description": "string",
- "resolution_ids": [
- "string"
], - "status": "string",
- "title": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "user_id": "string",
- "workspace_id": "string"
}, - "property2": {
- "comment": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "current_resolution_created_at_date": "2019-08-24T14:15:22Z",
- "current_resolution_creator_id": 0,
- "current_resolution_description": "string",
- "expense_ids": [
- "string"
], - "external_reference_ids": [
- "string"
], - "line_item_total_formatted": "string",
- "line_item_total_in_cents": 0,
- "locked": true,
- "permissions": {
- "can_cancel_submission": true,
- "can_approve_submission": true,
- "can_reject_submission": true,
- "can_resubmit_submission": true
}, - "resolution_description": "string",
- "resolution_ids": [
- "string"
], - "status": "string",
- "title": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "user_id": "string",
- "workspace_id": "string"
}
}, - "expense_categories": {
- "property1": {
- "deleted_at": "2019-08-24T14:15:22Z",
- "name": "string"
}, - "property2": {
- "deleted_at": "2019-08-24T14:15:22Z",
- "name": "string"
}
}, - "roles": {
- "property1": {
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "external_reference_ids": [
- "string"
], - "name": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "property2": {
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "external_reference_ids": [
- "string"
], - "name": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}, - "vendors": {
- "property1": {
- "archived": true,
- "external_reference_ids": [
- "string"
], - "externally_managed": true,
- "in_use": true,
- "name": "string"
}, - "property2": {
- "archived": true,
- "external_reference_ids": [
- "string"
], - "externally_managed": true,
- "in_use": true,
- "name": "string"
}
}
}
An expense that has already been created can be updated with an HTTP PUT request. Any required or optional
attribute, with the exception of workspace_id
, can be changed in an update.
This endpoint returns structured Expense objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results
array
and will be indexed by ID in the expenses
top-level JSON key.
Please see our Response Format section for more information.
object | |||||||||||||||||||||||||
|
Expense has been updated.
Bad Request
Unauthorized request
Forbidden request
Page Not Found
Unprocessable Entity
Service is unavailable
{- "expense": {
- "date": "2019-08-24",
- "expense_category_id": 0,
- "category": "string",
- "amount_in_cents": 0,
- "foreign_exchange_amount": {
- "source_value": "string",
- "source_currency": "string"
}, - "user_id": 0,
- "notes": "string",
- "billable": true,
- "receipt_id": 0,
- "story_id": 0,
- "expense_budget_id": 0,
- "external_reference": {
- "service_name": "string",
- "service_model": "string",
- "service_model_ref": "string",
- "status": "string",
- "external_message": "string",
- "external_link": "string",
- "external_status": "string",
- "locked": true
}
}
}
{- "count": 0,
- "meta": {
- "count": 0,
- "page_count": 0,
- "page_number": 0,
- "page_size": 0
}, - "results": [
- {
- "key": "string",
- "id": "string"
}
], - "expenses": {
- "property1": {
- "active_submission_id": "string",
- "amount_in_cents": 0,
- "category": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "date": "2019-08-24",
- "expense_category_id": "string",
- "external_reference_ids": [
- "string"
], - "foreign_exchange_amount": {
- "date": "2019-08-24T14:15:22Z",
- "rate": 0,
- "source_currency": "string",
- "source_value": 0
}, - "is_billable": true,
- "is_invoiced": true,
- "notes": "string",
- "receipt_id": "string",
- "recent_submission_id": "string",
- "reimbursable": true,
- "role_id": "string",
- "story_id": "string",
- "taxable": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "user_can_edit": true,
- "user_id": "string",
- "vendor_id": "string",
- "workspace_id": "string"
}, - "property2": {
- "active_submission_id": "string",
- "amount_in_cents": 0,
- "category": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "date": "2019-08-24",
- "expense_category_id": "string",
- "external_reference_ids": [
- "string"
], - "foreign_exchange_amount": {
- "date": "2019-08-24T14:15:22Z",
- "rate": 0,
- "source_currency": "string",
- "source_value": 0
}, - "is_billable": true,
- "is_invoiced": true,
- "notes": "string",
- "receipt_id": "string",
- "recent_submission_id": "string",
- "reimbursable": true,
- "role_id": "string",
- "story_id": "string",
- "taxable": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "user_can_edit": true,
- "user_id": "string",
- "vendor_id": "string",
- "workspace_id": "string"
}
}, - "external_references": {
- "property1": {
- "created_at": "2019-08-24T14:15:22Z",
- "external_link": "string",
- "external_message": "string",
- "external_status": "string",
- "last_synced_at": "2019-08-24T14:15:22Z",
- "locked": true,
- "service_model": "string",
- "service_model_ref": "string",
- "service_name": "string",
- "status": "string",
- "subject_id": 0,
- "subject_ref": {
- "key": "string",
- "id": "string"
}, - "subject_type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "property2": {
- "created_at": "2019-08-24T14:15:22Z",
- "external_link": "string",
- "external_message": "string",
- "external_status": "string",
- "last_synced_at": "2019-08-24T14:15:22Z",
- "locked": true,
- "service_model": "string",
- "service_model_ref": "string",
- "service_name": "string",
- "status": "string",
- "subject_id": 0,
- "subject_ref": {
- "key": "string",
- "id": "string"
}, - "subject_type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}, - "stories": {
- "property1": {
- "ancestor_ids": [
- "string"
], - "ancestry_depth": 0,
- "archived": true,
- "archived_editable": true,
- "assigned_role_id": "string",
- "assignee_ids": [
- "string"
], - "assignment_timestamped_at": "2019-08-24T14:15:22Z",
- "attachment_ids": [
- "string"
], - "billable": true,
- "budget_estimate_in_cents": 0,
- "budget_used_in_cents": 0,
- "can_align_time": true,
- "can_edit": true,
- "can_post": true,
- "created_at": "2019-08-24T14:15:22Z",
- "creator_id": "string",
- "current_assignment_ids": [
- "string"
], - "custom_field_value_ids": [
- "string"
], - "deleted_at": "2019-08-24T14:15:22Z",
- "descendant_ids": [
- "string"
], - "description": "string",
- "due_date": "2019-08-24",
- "external_reference_ids": [
- "string"
], - "fixed_fee": true,
- "follower_ids": [
- "string"
], - "formatted_description": "string",
- "google_document_ids": [
- "string"
], - "has_out_of_bounds_sads": true,
- "has_proofing_access": true,
- "invoiced_balance_in_cents": 0,
- "is_time_trackable_type": true,
- "logged_billable_time_in_minutes": 0,
- "logged_nonbillable_time_in_minutes": 0,
- "parent_id": "string",
- "parsed_description": "string",
- "percentage_complete": 0,
- "position": 0,
- "potential_workspace_resource_ids": [
- "string"
], - "potential_workspace_resources_with_unnamed_ids": [
- "string"
], - "priority": 0,
- "project_plan": true,
- "proof_ids": [
- "string"
], - "read_only": true,
- "render_description_markdown": true,
- "reply_ids": [
- "string"
], - "root_id": "string",
- "source_dependency_ids": [
- "string"
], - "start_date": "2019-08-24",
- "state": "string",
- "story_state_change_ids": [
- "string"
], - "story_task_ids": [
- "string"
], - "story_type": "string",
- "sub_stories_billable_time_in_minutes": 0,
- "sub_stories_budget_estimate_in_cents": 0,
- "sub_stories_budget_used_in_cents": 0,
- "sub_stories_time_estimate_in_minutes": 0,
- "sub_story_count": 0,
- "sub_story_ids": [
- "string"
], - "subtree_depth": 0,
- "tag_ids": [
- "string"
], - "target_dependency_ids": [
- "string"
], - "time_estimate_in_minutes": 0,
- "time_trackable": true,
- "title": "string",
- "uninvoiced_balance_in_cents": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "weight": 0,
- "workspace_id": "string",
- "workspace_resource_ids": [
- "string"
], - "workspace_resources_with_unnamed_ids": [
- "string"
]
}, - "property2": {
- "ancestor_ids": [
- "string"
], - "ancestry_depth": 0,
- "archived": true,
- "archived_editable": true,
- "assigned_role_id": "string",
- "assignee_ids": [
- "string"
], - "assignment_timestamped_at": "2019-08-24T14:15:22Z",
- "attachment_ids": [
- "string"
], - "billable": true,
- "budget_estimate_in_cents": 0,
- "budget_used_in_cents": 0,
- "can_align_time": true,
- "can_edit": true,
- "can_post": true,
- "created_at": "2019-08-24T14:15:22Z",
- "creator_id": "string",
- "current_assignment_ids": [
- "string"
], - "custom_field_value_ids": [
- "string"
], - "deleted_at": "2019-08-24T14:15:22Z",
- "descendant_ids": [
- "string"
], - "description": "string",
- "due_date": "2019-08-24",
- "external_reference_ids": [
- "string"
], - "fixed_fee": true,
- "follower_ids": [
- "string"
], - "formatted_description": "string",
- "google_document_ids": [
- "string"
], - "has_out_of_bounds_sads": true,
- "has_proofing_access": true,
- "invoiced_balance_in_cents": 0,
- "is_time_trackable_type": true,
- "logged_billable_time_in_minutes": 0,
- "logged_nonbillable_time_in_minutes": 0,
- "parent_id": "string",
- "parsed_description": "string",
- "percentage_complete": 0,
- "position": 0,
- "potential_workspace_resource_ids": [
- "string"
], - "potential_workspace_resources_with_unnamed_ids": [
- "string"
], - "priority": 0,
- "project_plan": true,
- "proof_ids": [
- "string"
], - "read_only": true,
- "render_description_markdown": true,
- "reply_ids": [
- "string"
], - "root_id": "string",
- "source_dependency_ids": [
- "string"
], - "start_date": "2019-08-24",
- "state": "string",
- "story_state_change_ids": [
- "string"
], - "story_task_ids": [
- "string"
], - "story_type": "string",
- "sub_stories_billable_time_in_minutes": 0,
- "sub_stories_budget_estimate_in_cents": 0,
- "sub_stories_budget_used_in_cents": 0,
- "sub_stories_time_estimate_in_minutes": 0,
- "sub_story_count": 0,
- "sub_story_ids": [
- "string"
], - "subtree_depth": 0,
- "tag_ids": [
- "string"
], - "target_dependency_ids": [
- "string"
], - "time_estimate_in_minutes": 0,
- "time_trackable": true,
- "title": "string",
- "uninvoiced_balance_in_cents": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "weight": 0,
- "workspace_id": "string",
- "workspace_resource_ids": [
- "string"
], - "workspace_resources_with_unnamed_ids": [
- "string"
]
}
}, - "workspaces": {
- "property1": {
- "access_level": "string",
- "account_color_id": "string",
- "account_id": 0,
- "account_insights_mapping_ids": [
- "string"
], - "actual_fees_includes_additional_line_items": true,
- "actual_fees_includes_expenses": true,
- "approver_id": "string",
- "approver_ids": [
- "string"
], - "archived": true,
- "billable_minutes": 0,
- "budget_remaining": "string",
- "budget_used": "string",
- "budget_used_in_cents": 0,
- "budgeted": true,
- "can_create_line_items": true,
- "can_invite": true,
- "change_orders_enabled": true,
- "client_lead_name": "string",
- "client_role_name": "string",
- "consultant_role_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "creator_id": "string",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "current_status_report_id": "string",
- "current_user_participation_id": "string",
- "custom_field_value_ids": [
- "string"
], - "default_rate": "string",
- "description": "string",
- "due_date": "2019-08-24",
- "effective_due_date": "2019-08-24",
- "estimated_minutes": 0,
- "exclude_archived_stories_percent_complete": true,
- "expenses_in_burn_rate": true,
- "external_link": {
- "url": "string",
- "text": "string"
}, - "external_reference_ids": [
- "string"
], - "financial_viewer_ids": [
- "string"
], - "has_active_expense_report_submissions": true,
- "has_active_timesheet_submissions": true,
- "has_budget_access": true,
- "incoming_email_address": "string",
- "lock_date": "2019-08-24",
- "minutes_logged": 0,
- "next_uncompleted_milestone_id": "string",
- "non_billable_minutes": 0,
- "over_budget": true,
- "participant_ids": [
- "string"
], - "participation_ids": [
- "string"
], - "percent_of_budget_used": 0,
- "percentage_complete": 0,
- "permissions": {
- "can_upload_files": true,
- "can_private_message": true,
- "can_join": true,
- "is_participant": true,
- "access_level": "string",
- "team_lead": true,
- "user_is_client": true,
- "can_change_price": true,
- "can_change_story_billable": true,
- "can_post": true,
- "can_edit": true,
- "restricted": true,
- "can_see_financials": true,
- "is_guest_on_project": true
}, - "possible_approver_ids": [
- "string"
], - "posts_require_privacy_decision": true,
- "price": "string",
- "price_in_cents": 0,
- "primary_counterpart_id": "string",
- "primary_maven_id": "string",
- "primary_workspace_group_id": "string",
- "provider_lead_name": "string",
- "rate_card_id": 0,
- "require_expense_approvals": true,
- "require_notes_on_time_entries": true,
- "require_time_approvals": true,
- "stage": "string",
- "start_date": "2019-08-24",
- "status": {
- "color": "string",
- "key": "string",
- "message": "string"
}, - "status_report_ids": [
- "string"
], - "stories_are_fixed_fee_by_default": true,
- "target_margin": 0,
- "tasks_default_non_billable": true,
- "time_trackable": true,
- "timesheet_submission_ids": [
- "string"
], - "title": "string",
- "total_expenses_in_cents": 0,
- "total_invoiced": "string",
- "total_minutes_approved": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "workspace_group_ids": [
- "string"
], - "workspace_invoice_preference_id": 0,
- "workspace_resource_ids": [
- "string"
], - "workspace_resources_with_unnamed_ids": [
- "string"
]
}, - "property2": {
- "access_level": "string",
- "account_color_id": "string",
- "account_id": 0,
- "account_insights_mapping_ids": [
- "string"
], - "actual_fees_includes_additional_line_items": true,
- "actual_fees_includes_expenses": true,
- "approver_id": "string",
- "approver_ids": [
- "string"
], - "archived": true,
- "billable_minutes": 0,
- "budget_remaining": "string",
- "budget_used": "string",
- "budget_used_in_cents": 0,
- "budgeted": true,
- "can_create_line_items": true,
- "can_invite": true,
- "change_orders_enabled": true,
- "client_lead_name": "string",
- "client_role_name": "string",
- "consultant_role_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "creator_id": "string",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "current_status_report_id": "string",
- "current_user_participation_id": "string",
- "custom_field_value_ids": [
- "string"
], - "default_rate": "string",
- "description": "string",
- "due_date": "2019-08-24",
- "effective_due_date": "2019-08-24",
- "estimated_minutes": 0,
- "exclude_archived_stories_percent_complete": true,
- "expenses_in_burn_rate": true,
- "external_link": {
- "url": "string",
- "text": "string"
}, - "external_reference_ids": [
- "string"
], - "financial_viewer_ids": [
- "string"
], - "has_active_expense_report_submissions": true,
- "has_active_timesheet_submissions": true,
- "has_budget_access": true,
- "incoming_email_address": "string",
- "lock_date": "2019-08-24",
- "minutes_logged": 0,
- "next_uncompleted_milestone_id": "string",
- "non_billable_minutes": 0,
- "over_budget": true,
- "participant_ids": [
- "string"
], - "participation_ids": [
- "string"
], - "percent_of_budget_used": 0,
- "percentage_complete": 0,
- "permissions": {
- "can_upload_files": true,
- "can_private_message": true,
- "can_join": true,
- "is_participant": true,
- "access_level": "string",
- "team_lead": true,
- "user_is_client": true,
- "can_change_price": true,
- "can_change_story_billable": true,
- "can_post": true,
- "can_edit": true,
- "restricted": true,
- "can_see_financials": true,
- "is_guest_on_project": true
}, - "possible_approver_ids": [
- "string"
], - "posts_require_privacy_decision": true,
- "price": "string",
- "price_in_cents": 0,
- "primary_counterpart_id": "string",
- "primary_maven_id": "string",
- "primary_workspace_group_id": "string",
- "provider_lead_name": "string",
- "rate_card_id": 0,
- "require_expense_approvals": true,
- "require_notes_on_time_entries": true,
- "require_time_approvals": true,
- "stage": "string",
- "start_date": "2019-08-24",
- "status": {
- "color": "string",
- "key": "string",
- "message": "string"
}, - "status_report_ids": [
- "string"
], - "stories_are_fixed_fee_by_default": true,
- "target_margin": 0,
- "tasks_default_non_billable": true,
- "time_trackable": true,
- "timesheet_submission_ids": [
- "string"
], - "title": "string",
- "total_expenses_in_cents": 0,
- "total_invoiced": "string",
- "total_minutes_approved": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "workspace_group_ids": [
- "string"
], - "workspace_invoice_preference_id": 0,
- "workspace_resource_ids": [
- "string"
], - "workspace_resources_with_unnamed_ids": [
- "string"
]
}
}, - "users": {
- "property1": {
- "abbreviated_timezone": "string",
- "account_membership_id": "string",
- "bio": "string",
- "city": "string",
- "classification": "string",
- "country": "string",
- "custom_field_value_ids": [
- "string"
], - "email_address": "string",
- "external_reference_ids": [
- "string"
], - "full_name": "string",
- "headline": "string",
- "last_site_activity": "2019-08-24T14:15:22Z",
- "manager_id": "string",
- "photo_path": "string",
- "role_id": "string",
- "skill_ids": [
- "string"
], - "skill_membership_ids": [
- "string"
], - "state": "string",
- "website": "string",
- "work_sample_ids": [
- "string"
]
}, - "property2": {
- "abbreviated_timezone": "string",
- "account_membership_id": "string",
- "bio": "string",
- "city": "string",
- "classification": "string",
- "country": "string",
- "custom_field_value_ids": [
- "string"
], - "email_address": "string",
- "external_reference_ids": [
- "string"
], - "full_name": "string",
- "headline": "string",
- "last_site_activity": "2019-08-24T14:15:22Z",
- "manager_id": "string",
- "photo_path": "string",
- "role_id": "string",
- "skill_ids": [
- "string"
], - "skill_membership_ids": [
- "string"
], - "state": "string",
- "website": "string",
- "work_sample_ids": [
- "string"
]
}
}, - "attachments": {
- "property1": {
- "created_at": "2019-08-24T14:15:22Z",
- "creator_name": "string",
- "deletable": true,
- "deleted_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "filesize": 0,
- "previewable": true,
- "proof_url": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "view_in_new_tab": true,
- "viewable": true
}, - "property2": {
- "created_at": "2019-08-24T14:15:22Z",
- "creator_name": "string",
- "deletable": true,
- "deleted_at": "2019-08-24T14:15:22Z",
- "filename": "string",
- "filesize": 0,
- "previewable": true,
- "proof_url": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "view_in_new_tab": true,
- "viewable": true
}
}, - "expense_report_submissions": {
- "property1": {
- "comment": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "current_resolution_created_at_date": "2019-08-24T14:15:22Z",
- "current_resolution_creator_id": 0,
- "current_resolution_description": "string",
- "expense_ids": [
- "string"
], - "external_reference_ids": [
- "string"
], - "line_item_total_formatted": "string",
- "line_item_total_in_cents": 0,
- "locked": true,
- "permissions": {
- "can_cancel_submission": true,
- "can_approve_submission": true,
- "can_reject_submission": true,
- "can_resubmit_submission": true
}, - "resolution_description": "string",
- "resolution_ids": [
- "string"
], - "status": "string",
- "title": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "user_id": "string",
- "workspace_id": "string"
}, - "property2": {
- "comment": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "currency_base_unit": 0,
- "currency_symbol": "string",
- "current_resolution_created_at_date": "2019-08-24T14:15:22Z",
- "current_resolution_creator_id": 0,
- "current_resolution_description": "string",
- "expense_ids": [
- "string"
], - "external_reference_ids": [
- "string"
], - "line_item_total_formatted": "string",
- "line_item_total_in_cents": 0,
- "locked": true,
- "permissions": {
- "can_cancel_submission": true,
- "can_approve_submission": true,
- "can_reject_submission": true,
- "can_resubmit_submission": true
}, - "resolution_description": "string",
- "resolution_ids": [
- "string"
], - "status": "string",
- "title": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "user_id": "string",
- "workspace_id": "string"
}
}, - "expense_categories": {
- "property1": {
- "deleted_at": "2019-08-24T14:15:22Z",
- "name": "string"
}, - "property2": {
- "deleted_at": "2019-08-24T14:15:22Z",
- "name": "string"
}
}, - "roles": {
- "property1": {
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "external_reference_ids": [
- "string"
], - "name": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "property2": {
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "external_reference_ids": [
- "string"
], - "name": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}, - "vendors": {
- "property1": {
- "archived": true,
- "external_reference_ids": [
- "string"
], - "externally_managed": true,
- "in_use": true,
- "name": "string"
}, - "property2": {
- "archived": true,
- "external_reference_ids": [
- "string"
], - "externally_managed": true,
- "in_use": true,
- "name": "string"
}
}
}
The response will contain no content and an HTTP 204 status code if the request was successful, or a standard Kantata OX error message explaining why the object could not be deleted.
Expense has been deleted.
Bad Request
Unauthorized request
Forbidden request
Page Not Found
Unprocessable Entity
Service is unavailable
{- "errors": [
- {
- "type": "string",
- "message": "string"
}
]
}