/equip-by-roleEquip an employee by role
Equips an employee with one of a role's kits. Nothing is assigned or quoted at call time: the employee receives a scheduling link where they confirm their details and, when the role has more than one kit, pick the kit they want. The stock check runs when they submit the form. Devices in stock are assigned; otherwise the whole kit is quoted. A role with no kits answers 400 and creates nothing.
Body
role_idrequiredrecipient.office_idrecipient.namerequiredrecipient.emailrequiredrecipient.countryrequiredrecipient.addressrecipient.phonerecipient.phone_country_coderecipient.national_idrecipient.when_to_contactrecipient.hire_daterecipient.commentsrequester_emailrequester_namenotification_emailsExample request
json
{
"role_id": "3c4d5e6f-7a8b-4910-a1b2-c3d4e5f60718",
"recipient": {
"name": "Ana Silva",
"email": "ana.silva@acme.com",
"country": "ES"
},
"requester_email": "it@acme.com"
}Example response
json
{
"data": {
"mode": "scheduling_requested",
"role": { "id": "3c4d5e6f-7a8b-4910-a1b2-c3d4e5f60718", "name": "Engineer" },
"kit_count": 2,
"kit_choice_required": true,
"scheduling_request": {
"id": "9e8d7c6b-5a49-4382-b1a0-f9e8d7c6b5a4",
"status": "pending_notification",
"scheduling_url": "https://app.quipteams.com/scheduling/xK3...",
"schedule_link": "https://app.quipteams.com/scheduling/xK3...?code=A7K2MP",
"access_code": "A7K2MP",
"email_dispatched": true,
"notification_scheduled_for": null,
"expires_at": null
}
}
}