Skip to content

Instantly share code, notes, and snippets.

@gregblake
Created May 26, 2020 18:28
Show Gist options
  • Select an option

  • Save gregblake/5afc582a18fd06deab38b6bad176d7ea to your computer and use it in GitHub Desktop.

Select an option

Save gregblake/5afc582a18fd06deab38b6bad176d7ea to your computer and use it in GitHub Desktop.
Group Membership Params
# This request will create group memberships for department_id's 1 & 2, as well as territory_id 1.
group_memberships = [
{ territory_id: nil, branch_id: nil, role_id: nil, department_id: 1, title_id: nil },
{ territory_id: 1, branch_id: nil, role_id: nil, department_id: 2, title_id: nil }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment