list_parts
Retrieve all enhancements from DevRev, filtered by criteria like ownership, creation, modification, or date ranges, and sorted by specified fields. Supports pagination for efficient data retrieval.
Instructions
List all parts (enhancements) in DevRev
Input Schema
Name | Required | Description | Default |
---|---|---|---|
accounts | No | The account IDs of the accounts filter on parts to list | |
actual_close_date | No | ||
actual_start_date | No | ||
created_by | No | The DevRev IDs of the users who created the parts to list | |
cursor | No | The cursor to use for pagination. If not provided, iteration begins from the first page. In the output you get next_cursor, use it and the correct mode to get the next or previous page. You can use these to loop through all the pages. | |
modified_by | No | The DevRev IDs of the users who modified the parts to list | |
owned_by | No | The DevRev IDs of the users assigned to the parts to list | |
parent_part | No | The DevRev IDs of the parent parts to of the parts to list | |
sort_by | No | The field (and the order) to sort the parts by, in the sequence of the array elements | |
target_close_date | No | ||
target_start_date | No | ||
type | Yes | The type of parts to list |
Input Schema (JSON Schema)
{
"properties": {
"accounts": {
"description": "The account IDs of the accounts filter on parts to list",
"items": {
"type": "string"
},
"type": "array"
},
"actual_close_date": {
"properties": {
"after": {
"description": "The start date of the actual close date range, for example: 2025-06-03T00:00:00Z",
"type": "string"
},
"before": {
"description": "The end date of the actual close date range, for example: 2025-06-03T00:00:00Z",
"type": "string"
}
},
"required": [
"after",
"before"
],
"type": "object"
},
"actual_start_date": {
"properties": {
"after": {
"description": "The start date of the actual start date range, for example: 2025-06-03T00:00:00Z",
"type": "string"
},
"before": {
"description": "The end date of the actual start date range, for example: 2025-06-03T00:00:00Z",
"type": "string"
}
},
"required": [
"after",
"before"
],
"type": "object"
},
"created_by": {
"description": "The DevRev IDs of the users who created the parts to list",
"items": {
"type": "string"
},
"type": "array"
},
"cursor": {
"description": "The cursor to use for pagination. If not provided, iteration begins from the first page. In the output you get next_cursor, use it and the correct mode to get the next or previous page. You can use these to loop through all the pages.",
"properties": {
"mode": {
"description": "The mode to iterate after the cursor or before the cursor .",
"enum": [
"after",
"before"
],
"type": "string"
},
"next_cursor": {
"description": "The cursor to use for pagination. If not provided, iteration begins from the first page.",
"type": "string"
}
},
"required": [
"next_cursor",
"mode"
],
"type": "object"
},
"modified_by": {
"description": "The DevRev IDs of the users who modified the parts to list",
"items": {
"type": "string"
},
"type": "array"
},
"owned_by": {
"description": "The DevRev IDs of the users assigned to the parts to list",
"items": {
"type": "string"
},
"type": "array"
},
"parent_part": {
"description": "The DevRev IDs of the parent parts to of the parts to list",
"items": {
"type": "string"
},
"type": "array"
},
"sort_by": {
"description": "The field (and the order) to sort the parts by, in the sequence of the array elements",
"items": {
"enum": [
"target_close_date:asc",
"target_close_date:desc",
"target_start_date:asc",
"target_start_date:desc",
"actual_close_date:asc",
"actual_close_date:desc",
"actual_start_date:asc",
"actual_start_date:desc",
"created_date:asc",
"created_date:desc",
"modified_date:asc",
"modified_date:desc"
],
"type": "string"
},
"type": "array"
},
"target_close_date": {
"properties": {
"after": {
"description": "The start date of the target close date range, for example: 2025-06-03T00:00:00Z",
"type": "string"
},
"before": {
"description": "The end date of the target close date range, for example: 2025-06-03T00:00:00Z",
"type": "string"
}
},
"required": [
"after",
"before"
],
"type": "object"
},
"target_start_date": {
"properties": {
"after": {
"description": "The start date of the target start date range, for example: 2025-06-03T00:00:00Z",
"type": "string"
},
"before": {
"description": "The end date of the target start date range, for example: 2025-06-03T00:00:00Z",
"type": "string"
}
},
"required": [
"after",
"before"
],
"type": "object"
},
"type": {
"description": "The type of parts to list",
"enum": [
"enhancement"
],
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}