Creates an asset owner.
Endpoint URL
https://{{base_url}}/api/v2/asset-owner
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/asset-owner \
--header 'Authorization: Bearer $BEARER_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '$JSON'
Request Syntax
{
"company": integer,
"name": "string",
"email": "string",
"phone": "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. - name (string) --
[REQUIRED]
The name of the asset owner.
Max characters =50
The name of the asset owner must be unique per account. - email (string) --
The email of the asset owner.
Max characters =254
- phone (string) --
The phone of the asset owner.
Max characters =20
Response Syntax
{
"id": integer,
"name": "string",
"email": "string",
"phone": "string"
}