Acumatica API - Endpoint Default 23 200 001 icon

Acumatica API - Endpoint Default 23 200 001

Interact with Acumatica Endpoint Default/23.200.001

Actions478

Cost Code → Get List

AI-generated

Summary

Retrieves a list of Cost Code records from Acumatica, applying optional filters on Cost Code ID, Description, Last Modified Date Time, or a custom OData $filter expression.

Inputs

  • CostCodeIDFilter — Filter results by Cost Code ID, format: { operator, value } where operator is one of eq, contains, startswith and value is a string.
  • DescriptionFilter — Filter results by Description, format: { operator, value } where operator is one of eq, contains, startswith and value is a string.
  • LastModifiedDateTimeFilter — Filter results by Last Modified Date Time, format: { operator, value } where operator is one of eq, gt, ge, lt, le and value is an ISO 8601 date-time string.
  • customFilter — Advanced OData $filter expression (e.g., CustomerID/value eq 'CUST001'). Applied in addition to any filter fields above.

Output shape

array

Each element represents a Cost Code record as returned by the Acumatica API.

Examples

Example 1: Get all cost codes modified after a specific date

Set LastModifiedDateTimeFilter.operator = gt and provide a date-time value.

Example 2: Find cost codes whose ID starts with 'PROJ'

Set CostCodeIDFilter.operator = startswith and value = 'PROJ'.

Example 3: Use a custom OData filter for complex logic

Enter a custom OData expression in the customFilter field, e.g., Description/value contains 'LAB' and CostCodeID/value ne ''.

Links

Discussion