Create asset
documentedCreate a new asset.
POST /assetAssetno 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.servicetrade.com/api/asset" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Cookie: PHPSESSID={{SERVICETRADE_SESSION_COOKIE}}" \
-d '{"type": "{{$type}}", "locationId": {{$locationId}}, "properties": {{$properties}}, "taskListId": {{$taskListId}}}'