Skip to content

Instantly share code, notes, and snippets.

@numan
Last active September 24, 2018 20:03
Show Gist options
  • Save numan/eba0d7d7c6963aa73aae2b48995ee812 to your computer and use it in GitHub Desktop.
Save numan/eba0d7d7c6963aa73aae2b48995ee812 to your computer and use it in GitHub Desktop.
Sample HRIS Webhook Request
curl --header "X-HRIS-AUTHENTICATION: 773603159c636db69c1e596c68a6368624305bcb" \
--header "Content-Type: application/json" \
-X POST \
-d '{"users": [{"phone_number": "+1 223-334-4355", "last_name": "Doe", "profile_image": {"url": "https://s3.amazonaws.com/publicassets.7geese.com/misc/765-default-avatar.png", "last_modified": 23323123123123, "cache_info": "sadsaDSds343GzzZ"}, "manager": {"hris_id": "E9923443"}, "active": true, "hris_id": "1FdzdQf35CffSd53", "first_name": "John", "employee_id": "E123556", "departments": ["Engineering > Mobile Team", "Customer Success > Support > Mobile Support", "Sales > Sales Engineer"], "email": "john.doe@7geese.com", "job_title": "VP Engineering"}]}' \
https://app.7geese.com/hriswebhook/sync/e4a777a9021349fc9d061bd60fe1ec20/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment