Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Creates a fixed asset in Business Central.
HTTP request
Replace the URL prefix for Business Central depending on environment following the guideline.
POST businesscentralPrefix/companies({id})/fixedAssets({id})
Request headers
Header | Value |
---|---|
Authorization | Bearer {token}. Required. |
Content-Type | application/json |
Request body
In the request body, supply a JSON representation of a fixedAsset object.
Response
If successful, this method returns 201 Created
response code and a fixedAsset object in the response body.
Example
Request
Here's an example of the request.
POST https://{businesscentralPrefix}/api/v2.0/companies({id})/fixedAssets({id})
Content-type: application/json
{
"number": "FA-1005",
"displayName": "Company Vehicle - Ford Escape",
"fixedAssetLocationCode": "MAIN",
"fixedAssetLocationId": "LOC0001",
"classCode": "VEHICLE",
"subclassCode": "COMPANY",
"blocked": false,
"serialNumber": "1FMCU0F74MUA12345",
"employeeNumber": "EM1042",
"employeeId": "e2a5738a-44e3-ea11-bb43-000d3a2feca1",
"underMaintenance": false
}
Response
Here's an example of the response.
HTTP/1.1 201 Created
Content-type: application/json
{
"id": "FA000012",
"number": "FA-1005",
"displayName": "Company Vehicle - Ford Escape",
"fixedAssetLocationCode": "MAIN",
"fixedAssetLocationId": "LOC0001",
"classCode": "VEHICLE",
"subclassCode": "COMPANY",
"blocked": false,
"serialNumber": "1FMCU0F74MUA12345",
"employeeNumber": "EM1042",
"employeeId": "e2a5738a-44e3-ea11-bb43-000d3a2feca1",
"underMaintenance": false,
"acquisitionDate": "2025-01-15",
"depreciationStartingDate": "2025-01-15",
"acquisitionCost": 32500.00,
"depreciationMethod": "Straight-Line",
"depreciationYears": 5,
"bookValue": 29037.50,
"lastModifiedDateTime": "2025-04-29T14:28:36Z"
}
Related information
Tips for working with the APIs
fixedAsset
GET fixedAsset
DELETE fixedAsset
PATCH fixedAsset