API Sections Resource types Resource type Resources Resource Items (Allocated expense) - GET
Update the allocated expense, the table below details the fields and their data type
URL : /v3/resource-types/{resource_type_id}/resources/{resource_id}/items/{item_id}
Method : PATCH
Fields :
Name | Type | Description |
---|---|---|
name | string | The name of the expense |
description | string | A optional description of the expense |
effective_date | date / yyyy-mm-dd | The effective date for the expense |
publish_after | date / yyyy-mm-dd | Optionally, set a publish after date |
currency_id | string | The currency id, must be one of the allowed values |
total | decimal | The total amount of the expense |
percentage | integer | An optional percentage of total to allocate, defaults to 100 |
Code : 204
No Content
Code : 404
Content :
{
"message": "Expense can't be found."
}
Code : 403
Content :
{
"message": "Expense can't be found or is not accessible to you."
}
Code : 400
Content :
{
"message": "Unable to handle your request, please include a request body."
}
Code : 422
Content :
{
"message": "Validation error.",
"fields": {
"name": {
"errors": [
"The name must be a string."
]
},
"description": {
"errors": [
"The description field is required."
]
}
}
}