The Accounting Dimension Filter object
Attributes
Unique identifier for the object.
ISO 8601 timestamp of when the object was created.
ISO 8601 timestamp of when the object was last updated.
Default: false
Default: true
{
"id": "accounting-dimension-filter_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"accounting_dimension": "accounting_dimension_example",
"allow_or_restrict": "allow_or_restrict_example",
"disabled": false,
"company": "Example Corp",
"apply_restriction_on_values": true,
"fieldname": "fieldname_example"
} /api/accounts/accounting-dimension-filter/{id} Retrieve a accounting dimension filter
Retrieves the details of an existing accounting dimension filter. Supply the unique accounting dimension filter ID that was returned from a previous request.
Path parameters
The identifier of the accounting dimension filter to retrieve.
Returns
Returns the accounting dimension filter object if a valid identifier was provided.
curl https://api.overplane.dev/api/accounts/accounting-dimension-filter/accounting-dimension-filter_abc123 \
-H "Authorization: Bearer sk_test_..." {
"id": "accounting-dimension-filter_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"accounting_dimension": "accounting_dimension_example",
"allow_or_restrict": "allow_or_restrict_example",
"disabled": false,
"company": "Example Corp",
"apply_restriction_on_values": true,
"fieldname": "fieldname_example"
} /api/accounts/accounting-dimension-filter List all accounting dimension filters
Returns a list of accounting dimension filters. The results are sorted by creation date, with the most recently created appearing first.
Query parameters
Maximum number of objects to return. Default: 20.
Number of objects to skip for pagination. Default: 0.
Returns
A paginated list of accounting dimension filter objects.
curl https://api.overplane.dev/api/accounts/accounting-dimension-filter \
-H "Authorization: Bearer sk_test_..." {
"data": [
{
"id": "accounting-dimension-filter_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"accounting_dimension": "accounting_dimension_example",
"allow_or_restrict": "allow_or_restrict_example",
"disabled": false,
"company": "Example Corp",
"apply_restriction_on_values": true,
"fieldname": "fieldname_example"
}
],
"has_more": false,
"total": 1
} /api/accounts/accounting-dimension-filter Create a accounting dimension filter
Creates a new accounting dimension filter object.
Body parameters
Default: false
Default: true
Returns
Returns the newly created accounting dimension filter object if the call succeeded.
curl https://api.overplane.dev/api/accounts/accounting-dimension-filter \
-H "Authorization: Bearer sk_test_..." \
-X POST \
-H "Content-Type: application/json" \
-d '{"accounting_dimension":"accounting_dimension_example","allow_or_restrict":"allow_or_restrict_example","company":"Example Corp"}' {
"id": "accounting-dimension-filter_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"accounting_dimension": "accounting_dimension_example",
"allow_or_restrict": "allow_or_restrict_example",
"disabled": false,
"company": "Example Corp",
"apply_restriction_on_values": true,
"fieldname": "fieldname_example"
} /api/accounts/accounting-dimension-filter/{id} Update a accounting dimension filter
Updates the specified accounting dimension filter by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
The identifier of the accounting dimension filter to update.
Body parameters
Default: false
Default: true
Returns
Returns the updated accounting dimension filter object.
curl https://api.overplane.dev/api/accounts/accounting-dimension-filter/accounting-dimension-filter_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" \
-d '{"accounting_dimension":"accounting_dimension_example","allow_or_restrict":"allow_or_restrict_example"}' {
"id": "accounting-dimension-filter_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"accounting_dimension": "accounting_dimension_example",
"allow_or_restrict": "allow_or_restrict_example",
"disabled": false,
"company": "Example Corp",
"apply_restriction_on_values": true,
"fieldname": "fieldname_example"
} /api/accounts/accounting-dimension-filter/{id} Delete a accounting dimension filter
Permanently deletes a accounting dimension filter. This cannot be undone.
Path parameters
The identifier of the accounting dimension filter to delete.
Returns
Returns a confirmation that the accounting dimension filter has been deleted.
curl https://api.overplane.dev/api/accounts/accounting-dimension-filter/accounting-dimension-filter_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X DELETE {
"id": "accounting-dimension-filter_abc123",
"deleted": true
} Line items
Child objects that belong to this accounting dimension filter. These are accessed via the parent's ID.
Allowed Dimension
Attributes
Endpoints
/api/accounts/allowed-dimension?parent_id={id} /api/accounts/allowed-dimension /api/accounts/allowed-dimension/{id} /api/accounts/allowed-dimension/{id} /api/accounts/allowed-dimension/reorder {
"id": "allowed-dimension_abc123",
"idx": 1,
"accounting_dimension_filter_id": "accounting_dimension_filter_id_example",
"accounting_dimension": "accounting_dimension_example",
"dimension_value": "dimension_value_example"
} Applicable On Account
Attributes
Endpoints
/api/accounts/applicable-on-account?parent_id={id} /api/accounts/applicable-on-account /api/accounts/applicable-on-account/{id} /api/accounts/applicable-on-account/{id} /api/accounts/applicable-on-account/reorder {
"id": "applicable-on-account_abc123",
"idx": 1,
"accounting_dimension_filter_id": "accounting_dimension_filter_id_example",
"applicable_on_account": "applicable_on_account_example",
"is_mandatory": false
}