Create Asset
POST https://{{API_URL}}/assets
Creates a single asset and returns the record.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
**All parms below updated in Body | string | **All parms updated in Body | |
Asset | string | ||
application | string | string | |
The application name |
|
| external_id
| string | | string
The external_id of the asset |
| database
| string | | string
The database name of the asset |
| ec2
| string | | string
The ec2 name of the asset |
| file
| string | | string
The Fully Qualified path of the file |
| fqdn
| string | | string
The Fully Qualified Domain Name of the asset |
| hostname
| string | | string
The hostname of the asset |
| inactive
| string | | boolean
A boolean value to set the asset inactive |
| ip_address
| string | | string
The IP address of the asset |
| ipv6
| string | | string
The asset's ipv6 address |
| last_booted_at
| string | | string
A datetime (as an iso8601 timestamp) identifying when the asset was last booted
|
| last_seen_time
| string | | string - A datetime (as an iso8601 timestamp) identifying when the asset was last seen |
| mac_address
| string | | string
The MAC address of the asset |
| netbios
| string | | string
The NetBIOS address of the asset |
| notes
| string | | string
Strings may be used to store plain english notes about an asset
|
| operating_system
| string | | string
The operating system of the asset |
| owner
| string | | string
The name of the owner of an asset. |
| primary_locator
| string | | string
The primary_locator field is deprecated. It is accepted for backward compatibility, but it's calculated by our back-end system and it is ignored. |
| priority
| string | | int32
The priority of the asset; an integer between 1 (low) to 10 (high) |
| url
| string | | string
The URL of the asset |
Request Body
{"asset"=>{"application"=>"", "external_id"=>"", "database"=>"", "ec2"=>"", "file"=>"", "fqdn"=>"", "hostname"=>"", "inactive"=>"", "ip_address"=>"", "ipv6"=>"", "last_booted_at"=>"", "last_seen_time"=>"", "mac_address"=>"", "netbios"=>"", "notes"=>"", "operating_system"=>"", "owner"=>"", "primary_locator"=>"", "priority"=>"", "url"=>""}}