Documentation for the QuotaPath API
data_id_field required | string (Data id field) non-empty data key to use for each element, such as 'id' |
data_source required | string (Data source) non-empty source of data, such as 'salesforce' |
data_type required | string (Data type) non-empty type of data for this source, such as 'opportunity' |
data required | string (Data) list of json blobs or single item to represent data for import. Must include field specified by 'data_id_field' |
{- "data_id_field": "string",
- "data_source": "string",
- "data_type": "string",
- "data": "string"
}
{- "data_id_field": "string",
- "data_source": "string",
- "data_type": "string",
- "data": "string"
}
List filtered deals or create deal with payload. No query params will list all deals. Supported query params are 'id', 'integration_id', 'path_id', and 'user_email'.
limit | integer Number of results to return per page. |
offset | integer The initial index from which to return the results. |
{- "count": 0,
- "results": [
- {
- "admin_locked": true,
- "created_date": "2019-08-24T14:15:22Z",
- "date": "2019-08-24",
- "deal_values": [
- {
- "value": 0,
- "path_id": "9f9518a6-1a7b-412d-bbe9-2ae6de678b3e"
}
], - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "integration_id": "string",
- "integration_source": "api",
- "name": "string",
- "state": "closed",
- "updated_date": "2019-08-24T14:15:22Z",
- "user_email": "user@example.com",
- "metadata": {
- "date_field_1": "2019-08-24",
- "date_field_2": "2019-08-24",
- "number_field_1": "string"
}
}
]
}
List filtered deals or create deal with payload. No query params will list all deals. Supported query params are 'id', 'integration_id', 'path_id', and 'user_email'.
admin_locked | boolean (Admin locked) |
date | string <date> (Date) |
required | Array of objects (ExternalDealValue) non-empty |
integration_id | string or null (Integration id) non-empty Unique foreign key from data-integration, paired with source |
name required | string (Name) [ 1 .. 255 ] characters |
state | string (State) Enum: "closed" "open" "lost" |
user_email required | string <email> (User email) non-empty deal owner email |
object or null (ExternalDealMetadata) |
{- "admin_locked": true,
- "date": "2019-08-24",
- "deal_values": [
- {
- "value": 0,
- "path_id": "9f9518a6-1a7b-412d-bbe9-2ae6de678b3e"
}
], - "integration_id": "string",
- "name": "string",
- "state": "closed",
- "user_email": "user@example.com",
- "metadata": {
- "date_field_1": "2019-08-24",
- "date_field_2": "2019-08-24",
- "number_field_1": "string"
}
}
{- "admin_locked": true,
- "created_date": "2019-08-24T14:15:22Z",
- "date": "2019-08-24",
- "deal_values": [
- {
- "value": 0,
- "path_id": "9f9518a6-1a7b-412d-bbe9-2ae6de678b3e"
}
], - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "integration_id": "string",
- "integration_source": "api",
- "name": "string",
- "state": "closed",
- "updated_date": "2019-08-24T14:15:22Z",
- "user_email": "user@example.com",
- "metadata": {
- "date_field_1": "2019-08-24",
- "date_field_2": "2019-08-24",
- "number_field_1": "string"
}
}
Bulk update or create deals.
required | Array of objects (ExternalBulkDeal) |
{- "deals": [
- {
- "admin_locked": true,
- "date": "2019-08-24",
- "deal_values": [
- {
- "value": 0,
- "path_id": "9f9518a6-1a7b-412d-bbe9-2ae6de678b3e"
}
], - "integration_id": "string",
- "name": "string",
- "state": "closed",
- "user_email": "user@example.com",
- "metadata": {
- "date_field_1": "2019-08-24",
- "date_field_2": "2019-08-24",
- "number_field_1": "string"
}
}
]
}
[- { }
]
View for retrieve, update, delete based on deal uuid
uuid required | string |
{- "admin_locked": true,
- "created_date": "2019-08-24T14:15:22Z",
- "date": "2019-08-24",
- "deal_values": [
- {
- "value": 0,
- "path_id": "9f9518a6-1a7b-412d-bbe9-2ae6de678b3e"
}
], - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "integration_id": "string",
- "integration_source": "api",
- "name": "string",
- "state": "closed",
- "updated_date": "2019-08-24T14:15:22Z",
- "user_email": "user@example.com",
- "metadata": {
- "date_field_1": "2019-08-24",
- "date_field_2": "2019-08-24",
- "number_field_1": "string"
}
}
View for retrieve, update, delete based on deal uuid
uuid required | string |
admin_locked | boolean (Admin locked) |
date | string <date> (Date) |
required | Array of objects (ExternalDealValue) non-empty |
integration_id | string or null (Integration id) non-empty Unique foreign key from data-integration, paired with source |
name required | string (Name) [ 1 .. 255 ] characters |
state | string (State) Enum: "closed" "open" "lost" |
user_email required | string <email> (User email) non-empty deal owner email |
object or null (ExternalDealMetadata) |
{- "admin_locked": true,
- "date": "2019-08-24",
- "deal_values": [
- {
- "value": 0,
- "path_id": "9f9518a6-1a7b-412d-bbe9-2ae6de678b3e"
}
], - "integration_id": "string",
- "name": "string",
- "state": "closed",
- "user_email": "user@example.com",
- "metadata": {
- "date_field_1": "2019-08-24",
- "date_field_2": "2019-08-24",
- "number_field_1": "string"
}
}
{- "admin_locked": true,
- "created_date": "2019-08-24T14:15:22Z",
- "date": "2019-08-24",
- "deal_values": [
- {
- "value": 0,
- "path_id": "9f9518a6-1a7b-412d-bbe9-2ae6de678b3e"
}
], - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "integration_id": "string",
- "integration_source": "api",
- "name": "string",
- "state": "closed",
- "updated_date": "2019-08-24T14:15:22Z",
- "user_email": "user@example.com",
- "metadata": {
- "date_field_1": "2019-08-24",
- "date_field_2": "2019-08-24",
- "number_field_1": "string"
}
}
View for retrieve, update, delete based on deal uuid
uuid required | string |
admin_locked | boolean (Admin locked) |
date | string <date> (Date) |
required | Array of objects (ExternalDealValue) non-empty |
integration_id | string or null (Integration id) non-empty Unique foreign key from data-integration, paired with source |
name required | string (Name) [ 1 .. 255 ] characters |
state | string (State) Enum: "closed" "open" "lost" |
user_email required | string <email> (User email) non-empty deal owner email |
object or null (ExternalDealMetadata) |
{- "admin_locked": true,
- "date": "2019-08-24",
- "deal_values": [
- {
- "value": 0,
- "path_id": "9f9518a6-1a7b-412d-bbe9-2ae6de678b3e"
}
], - "integration_id": "string",
- "name": "string",
- "state": "closed",
- "user_email": "user@example.com",
- "metadata": {
- "date_field_1": "2019-08-24",
- "date_field_2": "2019-08-24",
- "number_field_1": "string"
}
}
{- "admin_locked": true,
- "created_date": "2019-08-24T14:15:22Z",
- "date": "2019-08-24",
- "deal_values": [
- {
- "value": 0,
- "path_id": "9f9518a6-1a7b-412d-bbe9-2ae6de678b3e"
}
], - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "integration_id": "string",
- "integration_source": "api",
- "name": "string",
- "state": "closed",
- "updated_date": "2019-08-24T14:15:22Z",
- "user_email": "user@example.com",
- "metadata": {
- "date_field_1": "2019-08-24",
- "date_field_2": "2019-08-24",
- "number_field_1": "string"
}
}
limit | integer Number of results to return per page. |
offset | integer The initial index from which to return the results. |
updated_since | integer Unix timestamp in seconds. Specify to only return records updated after this timestamp. |
{- "count": 0,
- "results": [
- {
- "date": "2019-08-24",
- "deal_date": "2019-08-24",
- "deal_id": -2147483648,
- "deal_integration_id": "string",
- "deal_integration_source": "api",
- "deal_name": "string",
- "deal_term_start_date": "2019-08-24",
- "deal_term_end_date": "2019-08-24",
- "deal_term_duration": 0,
- "deal_uuid": "c7f2d514-7250-41ef-a6b6-18b4567bc4bf",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "path_name": "string",
- "plan_name": "string",
- "target_user_email": "string",
- "target_user_name": "string",
- "updated_ts": "string",
- "value": 0
}
]
}
limit | integer Number of results to return per page. |
offset | integer The initial index from which to return the results. |
updated_since | integer Unix timestamp in seconds. Specify to only return records updated after this timestamp. |
{- "count": 0,
- "results": [
- {
- "date": "2019-08-24",
- "deal_date": "2019-08-24",
- "deal_id": -2147483648,
- "deal_integration_id": "string",
- "deal_integration_source": "api",
- "deal_name": "string",
- "deal_term_start_date": "2019-08-24",
- "deal_term_end_date": "2019-08-24",
- "deal_term_duration": 0,
- "deal_uuid": "c7f2d514-7250-41ef-a6b6-18b4567bc4bf",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "path_name": "string",
- "plan_name": "string",
- "target_user_email": "string",
- "target_user_name": "string",
- "updated_ts": "string",
- "value": 0
}
]
}
limit | integer Number of results to return per page. |
offset | integer The initial index from which to return the results. |
{- "count": 0,
- "results": [
- {
- "updated_ts": "string",
- "deal_date": "2019-08-24",
- "deal_id": 0,
- "deal_integration_id": "string",
- "deal_integration_source": "string",
- "deal_name": "string",
- "deal_term_start_date": "2019-08-24",
- "deal_term_end_date": "2019-08-24",
- "deal_term_duration": 0,
- "deal_uuid": "c7f2d514-7250-41ef-a6b6-18b4567bc4bf",
- "deal_value": 0,
- "kind": "string",
- "owed": 0,
- "path_name": "string",
- "plan_name": "string",
- "target_user_email": "string",
- "target_user_name": "string",
- "value": 0
}
]
}
limit | integer Number of results to return per page. |
offset | integer The initial index from which to return the results. |
{- "count": 0,
- "results": [
- {
- "assignments": [
- {
- "email": "user@example.com",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24"
}
], - "name": "string",
- "paths": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
]
}
]
}
This view gets the workspace's team IDs + names along with lists of the current member & manager emails
limit | integer Number of results to return per page. |
offset | integer The initial index from which to return the results. |
{- "count": 0,
- "results": [
- {
- "id": 0,
- "name": "string",
- "current_members": "string",
- "current_managers": "string"
}
]
}
limit | integer Number of results to return per page. |
offset | integer The initial index from which to return the results. |
{- "count": 0,
- "results": [
- {
- "email": "user@example.com",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
]
}