Creates a category.
Endpoint URL
https://{{base_url}}/api/v2/hardware_model
Authentication and rate limits
Item | Details |
---|---|
Authentication method | OAuth 2.0 Bearer token |
Rate limit | Rate Limit |
Requests Example
curl --request POST \
--url 'https://{{base_url}}/api/v2/hardware_model \
--header 'Authorization: Bearer $BEARER_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '$JSON'
Request Syntax
{
"company": integer,
"asset_hardware_model": "string"
}
Body Parameters
- company (integer) --
[REQUIRED]
The ID of the specific company your API is calling. For accounts with only one company, the default value is1
.
To lookup a specific company ID, see the List Company API. - namey (string) --
[REQUIRED]
The name of the usage status.
Max characters =50
The name of the usage status must be unique per account.
Response Syntax
{
"id": integer,
"company_id": integer,
"name": "string",
"set_as_default": false | true
}