Cost type
This method allows inserting cost types through a REST API.
POST /apigateway/se/rest/v1/asset/expensetype
Request example:
| Request body parameter | Type | Required | Description |
|---|---|---|---|
| idCostVariable | String | Yes | ID # |
| nmCostVariable | String | Yes | Name |
| vlExpectedCost | Numeric | No | Default value |
Request example:
{
"idCostVariable": "string",
"nmCostVariable": "string",
"vlExpectedCost": "string"
}
Response example:
200 OK
{
"success": true,
"total": 1,
"results": [
{
"Result": true,
"Code": 1
}
]
}