IT Service Management

Bulk-create IT assets (max 200 per call).

Bulk-create IT assets (max 200 per call).

Body: {"assets": [{name, asset_type, category, ...}, ...]}
Response 207 multi-status:
  {
    "created": [{"index": 0, "id": "<uuid>", "asset_tag": "..."}, ...],
    "skipped": [{"index": 5, "reason": "duplicate_tag", "asset_tag": "..."}, ...],
    "errors":  [{"index": 12, "reason": "validation", "errors": {...}}, ...]
  }

Permissions requises : it:write

post/api/v1/it/assets/bulk

Request

  • Base URL: https://erp.eyeot.fr/api/v1
  • URL: https://erp.eyeot.fr/api/v1/api/v1/it/assets/bulk
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Request body

asset_tagstring nullable
asset_typestring nullable
assigned_employee_idstring uuid nullable
assigned_user_idstring uuid nullable
category'ordinateur' | 'ecran' | 'imprimante' | 'reseau' | 'telephone' | 'peripherique' | 'serveur' | 'tablette' | 'stockage' required
cpustring nullable
disk_gbinteger nullable
disk_typestring nullable
ip_addressstring nullable
locationstring nullable
mac_addressstring nullable
manufacturerstring nullable
modelstring nullable
namestring required
notesstring nullable
osstring nullable
os_versionstring nullable
purchase_datestring date nullable
purchase_pricenumber nullable
ram_gbinteger nullable
serial_numberstring nullable
site_idstring uuid nullable
status'en_stock' | 'deploye' | 'en_panne' | 'en_reparation' | 'reforme' | 'prete'
stock_product_idstring uuid nullable
tagsstring[]
warranty_expirystring date nullable

Response

Succès — payload {data, meta} (cf. API-GUIDE §3.1)

Changes

No recorded changes to this operation across all 1 revision of this API.