Sign in

Update an entity

documented

Update fields on an existing {entityType} by ID.

PUT /rest-services/{corpToken}/entity/{entityType}/{entityId}Entityno 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://rest.bullhornstaffing.com/rest-services/{{$corpToken}}/entity/{{$entityType}}/{{$entityId}}" \
  -X PUT \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "BhRestToken: {{BULLHORN_BHREST_TOKEN}}" \
  -d '{"id": {{$entityId}}, "firstName": "{{$firstName}}", "lastName": "{{$lastName}}", "title": "{{$title}}", "email": "{{$email}}", "phone": "{{$phone}}", "address": {"city": "{{$city}}", "state": "{{$state}}", "countryID": {{$countryID}}}}'