Skip to main content
POST
Create an asset type

Autorizaciones

X-API-KEY
string
header
requerido
OW-KEY
string
header
requerido

OpenWrench shared secret. Required on every request alongside X-API-KEY; issued together with your API key.

Cuerpo

application/json
name
string
requerido
id
integer | null

Present only when upserting an existing type.

primarySpendCategory
integer | null
attachments
object[] | null
allProblemTypeIds
integer[] | null
allSpendCategoryIds
integer[] | null
depreciationClassId
integer | null
requiredFields
object[] | null
optionalFields
object[] | null
replaceMarkupOnOriginalCost
number | null
replacementThreshold
number | null
usesRefrigerant
boolean | null
applianceCategory
string | null
refrigerantTypeCode
string | null
fullChargeLb
number | null

Must be positive when supplied.

Respuesta

Success.

type
string
requerido

Entity type marker, e.g. "AssetType".

data
object
requerido
status
enum<string>
requerido
Opciones disponibles:
ok