Create Resource
documentedCreate a new resource.
POST /api/data/resourcesResourceno 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.projectmanager.com/api/data/resources" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "x-integration-name: {{PROJECTMANAGER_INTEGRATION_NAME}}" \
-d '{"firstName": "{{$firstName}}", "lastName": "{{$lastName}}", "email": "{{$email}}", "hourlyRate": {{$hourlyRate}}, "phone": "{{$phone}}", "city": "{{$city}}", "state": "{{$state}}", "countryCode": "{{$countryCode}}", "notes": "{{$notes}}", "roleId": "{{$roleId}}", "teamIds": {{$teamIds}}, "colorName": "{{$colorName}}", "language": "{{$language}}"}'