Other Costs

Create a Other Cost

This endpoint allows you to create an Other Cost. Only users with the role "admin" or "manager" can perform this operation.

post/other-costs

Request

  • Base URL: https://api.infraspeak.com/v3
  • URL: https://api.infraspeak.com/v3/other-costs
  • Auth: HTTP bearer

Request body

namestring required

The name (or description) of the Other Cost

input_type'currency' | 'distance' | 'interval' | 'time_range' | 'resource' | 'custom_unit_of_measurement' required

The type of Other Cost. Different types of Other Costs have different associated fields. Other Costs of type resource will measure its total cost based on how long (e.g. hours, minutes) the resource is occupied. Other Costs of type distance will measure its total cost based on how many units (e.g. meters, kilometers) are needed. Other Costs of type interval and time_range will measure its total cost based on duration. Other Costs of type currency will have a fixed cost manually defined for each operation. Other Costs of type custom_unit_of_measurement will measure its total cost based on how many units (e.g. m3, liters) are needed.

icon'truck' | 'car' | 'clock-o' | 'bed' | 'user' | 'usd' | 'cutlery' | 'wrench' required

The icon to be presented for the Other Cost in Infraspeak platform.

failureboolean required

Indicates if the Other Cost can be included in costs for Corrective Maintenance (Work Orders).

schedule_workboolean

Indicates if the Other Cost can be included in costs for Preventive Maintenance (Planned Job Orders).

operatorboolean

Indicates if the Other Cost can be included in individual costs for operators (technicians)

elementboolean

Indicates if the Other Cost can be included in costs for Assets

cost_per_unitunknown
default_sell_priceunknown
default_sell_vatunknown
unitunknown

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.