Sign in

Create hardware warranty

documented

Create a warranty for a specific hardware asset.

POST /hardwares/{id}/warranties.jsonHardwaresno 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://api.samanage.com/hardwares/{{$hardware_id}}/warranties.json" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/vnd.samanage.v2.0" \
  -d '{"warranty":{"service":"{{$service}}","provider":"{{$provider}}","start_date":"{{$start_date}}","end_date":"{{$end_date}}","status":"{{$status}}"}}'