Sign in

Create Contract

documented

Create a contract.

POST /cmdb/contracts.jsonContractsno 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/contracts.json" \
  -X POST \
  -u "{{FRESHSERVICE_API_KEY}}:X" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$contract_title}}", "vendor_id": {{$vendor_id}}, "start_date": "{{$start_date}}", "end_date": "{{$end_date}}", "cost": {{$cost}}, "currency": "{{$currency}}", "description": "{{$description}}", "type": "{{$contract_type}}", "contract_type": "{{$contract_type}}"}'