Download OpenAPI specification:
PHPR API USING API-PLATFORM
Retrieves the collection of accounting_entries resources.
| page | integer Default: 1 The collection page number |
| itemsPerPage | integer [ 0 .. 1000 ] Default: 30 The number of items per page |
| exists[comment] | boolean |
| exists[notes] | boolean |
| exists[deletedAt] | boolean |
| exists[customProperties] | boolean |
| exists[disabledAt] | boolean |
| properties[] | Array of strings Allows you to reduce the response to contain only the properties you need. If your desired property is nested, you can address it using nested arrays. Example: properties[]={propertyName}&properties[]={anotherPropertyName}&properties[{nestedPropertyParent}][]={nestedProperty} |
| enabled | boolean Filter entities by enabled (1), disabled (0), or all (nothing). |
| search | string |
| tag | string Filter using tag. |
| order[createdAt] | string Default: "asc" Enum: "asc" "desc" |
| order[deletedAt] | string Default: "asc" Enum: "asc" "desc" |
| order[updatedAt] | string Default: "asc" Enum: "asc" "desc" |
| order[disabledAt] | string Default: "asc" Enum: "asc" "desc" |
| order[amount] | string Default: "asc" Enum: "asc" "desc" |
| order[comment] | string Default: "asc" Enum: "asc" "desc" |
| order[slug] | string Default: "asc" Enum: "asc" "desc" |
| order[notes] | string Default: "asc" Enum: "asc" "desc" |
| order[id] | string Default: "asc" Enum: "asc" "desc" |
| account | string |
| account[] | Array of strings |
| amount_range[between] | string |
| amount_range[gt] | string |
| amount_range[gte] | string |
| amount_range[lt] | string |
| amount_range[lte] | string |
| amount | string |
| amount[] | Array of strings |
| comment_end_with | string |
| comment_partial | string |
| comment_start_with | string |
| comment | string |
| comment[] | Array of strings |
| createdAt[before] | string |
| createdAt[strictly_before] | string |
| createdAt[after] | string |
| createdAt[strictly_after] | string |
| deletedAt[before] | string |
| deletedAt[strictly_before] | string |
| deletedAt[after] | string |
| deletedAt[strictly_after] | string |
| disabledAt[before] | string |
| disabledAt[strictly_before] | string |
| disabledAt[after] | string |
| disabledAt[strictly_after] | string |
| id_range[between] | string |
| id_range[gt] | string |
| id_range[gte] | string |
| id_range[lt] | string |
| id_range[lte] | string |
| id | integer |
| id[] | Array of integers |
| notes_end_with | string |
| notes_partial | string |
| notes_start_with | string |
| notes | string |
| notes[] | Array of strings |
| slug_end_with | string |
| slug_partial | string |
| slug_start_with | string |
| slug | string |
| slug[] | Array of strings |
| transaction | string |
| transaction[] | Array of strings |
| updatedAt[before] | string |
| updatedAt[strictly_before] | string |
| updatedAt[after] | string |
| updatedAt[strictly_after] | string |
{- "hydra:member": [
- {
- "@id": "string",
- "@type": "string",
- "transaction": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "N",
- "id": 0,
- "slug": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "account": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "parent": { },
- "shortcode": "AC",
- "id": 0,
- "slug": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "root": 0,
- "lvl": 0,
- "lft": 0,
- "rgt": 0,
- "toString": "string",
- "translationTitlePropertyName": "string",
- "translationDescriptionPropertyName": "string",
- "leaf": true,
- "leafApi": true,
- "levelApi": 0,
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "amount": "string",
- "comment": "string",
- "shortcode": "Y",
- "id": 0,
- "slug": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "absoluteAmount": 0,
- "relativeAmount": 0,
- "dtBalance": 0,
- "ctBalance": 0,
- "day": "2019-08-24T14:15:22Z",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}
], - "hydra:totalItems": 0,
- "hydra:view": {
- "@id": "string",
- "type": "string",
- "hydra:first": "string",
- "hydra:last": "string",
- "hydra:previous": "string",
- "hydra:next": "string"
}, - "hydra:search": {
- "@type": "string",
- "hydra:template": "string",
- "hydra:variableRepresentation": "string",
- "hydra:mapping": [
- {
- "@type": "string",
- "variable": "string",
- "property": "string",
- "required": true
}
]
}
}Creates a accounting_entries resource.
The new accounting_entries resource
object (accounting_transactions.jsonld-add_post) Transaction. | |
| createdAt | string <date-time> |
object (accounts.jsonld-add_post) // @todo No cascade persists because of the generator (issue #1 https://tools.phpcreation.com/confluence/display/PHPRDoc/Bundle_Accounting-Listener_2017) | |
| amount required | string |
| comment | string or null |
| deletedAt | string or null <date-time> |
| slug required | string DB Identifier |
| customData | Array of strings or null |
| disabledAt | string or null <date-time> |
| relativeAmount | number Get amount relative to account type. |
{- "transaction": {
- "child": { },
- "parent": { },
- "date": "2019-08-24T14:15:22Z",
- "comment": "string",
- "systemTrace": "string",
- "origin": "string",
- "refTable": "string",
- "refRowId": 0,
- "entries": [
- { }
], - "period": {
- "closedAt": "2019-08-24T14:15:22Z",
- "dateStart": "2019-08-24T14:15:22Z",
- "dateEnd": "2019-08-24T14:15:22Z",
- "periodicity": {
- "intervalSpec": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customData": [
- "string"
], - "disabledAt": "2019-08-24T14:15:22Z",
- "number": "string",
- "priority": 0,
- "color": "string",
- "icon": "string",
- "notes": "string",
- "parameterTitle": "string",
- "apiTranslations": [
- "string"
]
}, - "yearEnd": true,
- "child": { },
- "parent": { },
- "notes": "string",
- "closingAmount": "string",
- "closingDiff": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customData": [
- "string"
], - "disabledAt": "2019-08-24T14:15:22Z"
}, - "notes": "string",
- "type": {
- "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customData": [
- "string"
], - "disabledAt": "2019-08-24T14:15:22Z",
- "number": "string",
- "priority": 0,
- "color": "string",
- "icon": "string",
- "notes": "string",
- "parameterTitle": "string",
- "apiTranslations": [
- "string"
]
}, - "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customData": [
- "string"
], - "disabledAt": "2019-08-24T14:15:22Z"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "account": {
- "type": {
- "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customData": [
- "string"
], - "disabledAt": "2019-08-24T14:15:22Z"
}, - "ref": "string",
- "igrf": "string",
- "metadata": "string",
- "isRepertoire": true,
- "acceptsTransactions": true,
- "budget": "string",
- "parent": { },
- "children": [
- { }
], - "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customData": [
- "string"
], - "disabledAt": "2019-08-24T14:15:22Z",
- "apiTranslations": [
- "string"
], - "title": null
}, - "amount": "string",
- "comment": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customData": [
- "string"
], - "disabledAt": "2019-08-24T14:15:22Z",
- "relativeAmount": 0
}{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "transaction": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "N",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "account": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "parent": { },
- "shortcode": "AC",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "root": 0,
- "lvl": 0,
- "lft": 0,
- "rgt": 0,
- "toString": "string",
- "translationTitlePropertyName": "string",
- "translationDescriptionPropertyName": "string",
- "childrenListing": "string",
- "leaf": true,
- "leafApi": true,
- "levelApi": 0,
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "amount": "string",
- "comment": "string",
- "shortcode": "Y",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "absoluteAmount": 0,
- "relativeAmount": 0,
- "dtBalance": 0,
- "ctBalance": 0,
- "day": "2019-08-24T14:15:22Z",
- "customPropertiesListing": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}