Sign in

Create Asset

documented

Create an asset (CI).

POST /cmdb/items.jsonAssetno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$domain}}.freshservice.com/cmdb/items.json" \
  -X POST \
  -u "{{FRESHSERVICE_API_KEY}}:X" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"cmdb_config_item": {"name": "{{$name}}","ci_type_id": "{{$ci_type_id}}","asset_tag": "{{$asset_tag}}","location_id": "{{$location_id}}","description": "{{$description}}"},"level_field_attributes": {"product_3": "{{$product}}","vendor_3": "{{$vendor}}","cost": "{{$cost}}","installation_date_3": "{{$installation_date}}","license_expiry_date_3": "{{$license_expiry_date}}","license_key_3": "{{$license_key}}","version_3": "{{$version}}","license_type_3": "{{$license_type}}","installed_machine_3": "{{$installed_machine}}"}} }'
Create Asset · Freshservice · OpenIntegrations