Assets
Asset Capitalization
Endpoint for capitalizing an asset.
URL: {{base_url}}/modules/assets/capitalize
Method: POST
Bearer Token: Replace this with an actual token in the request
Headers
Subscription: Replace this with the subscription value
Access_Token: Replace this with the actual access token value
Request Body
Key | Values | Required |
---|---|---|
asset_number | Enter asset number | Yes |
depreciation_rate | Enter depreciation rate | Yes |
depreciation_type | Value should either be straight_line or reducing_balance | Yes |
##Response Codes
Code | Description |
---|---|
201 | Successful |
500 | Internal Server Error |
401 | Unauthorized: Check error message |
Example of request body:
{
"asset_number": "AST-4",
"depreciation_rate": 5,
"depreciation_type": "straight_line"
}