Create contract
documentedCreates a new contract for a customer.
POST api/Contract/Post?customerId={customerId}Contractno implementation yet0 runsNo 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.cayzu.com/v1api/Contract/Post?customerId={{$customerId}}" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"Name": "{{$contractName}}", "Description": "{{$contractDescription}}", "Number": "{{$contractNumber}}", "EndDateTime": "{{$endDateTime}}", "StartDateTime": "{{$startDateTime}}", "Agents": [{{$agentIds}}] }'