Skip to content

Fetching a list of Client Invoice Defaults

Request

This endpoint returns structured Client Invoice Defaults 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 client_invoice_defaults top-level JSON key. Please see our Response Format section for more information.

Query
client_user_idinteger, (int32)

The user ID of the client.

onlystring

Allows you to request one or more resources directly by ID. Multiple IDs can be supplied in a comma separated list, like GET /api/v1/workspaces.json?only=5,6,7.

pageinteger, (int32)
Default:1
per_pageinteger, (int32), <= 200
Default:20
workspace_idinteger, (int32)

The ID of the project for which you are creating the invoice.

GET
/client_invoice_defaults
curl -i -X GET \
  'https://api.mavenlink.com/api/v1/client_invoice_defaults?client_user_id=0&only=string&page=1&per_page=20&workspace_id=0'

Responses

A list of Client Invoice Defaults have been retrieved.

Bodyapplication/json
countinteger, (int32)
metaobject
resultsArray of objects
client_invoice_defaultsobject
Response
{ "count": 0, "meta": { "count": 0, "page_count": 0, "page_number": 0, "page_size": 0 }, "results": [ { "key": "string", "id": "string" } ], "client_invoice_defaults": { "property1": { "created_at": "2019-08-24T14:15:22Z", "expense_rollup_type": 0, "rich_text": "string", "show_creators": true, "show_dates": true, "show_hours": true, "show_notes": true, "show_project_names": true, "show_rates": true, "show_roles": true, "show_subtotals": true, "show_task_names": true, "show_tax": true, "time_rollup_type": 0, "updated_at": "2019-08-24T14:15:22Z" }, "property2": { "created_at": "2019-08-24T14:15:22Z", "expense_rollup_type": 0, "rich_text": "string", "show_creators": true, "show_dates": true, "show_hours": true, "show_notes": true, "show_project_names": true, "show_rates": true, "show_roles": true, "show_subtotals": true, "show_task_names": true, "show_tax": true, "time_rollup_type": 0, "updated_at": "2019-08-24T14:15:22Z" } } }