Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 481 Bytes

File metadata and controls

22 lines (16 loc) · 481 Bytes
description Automatically generated file. DO NOT MODIFY
const options = {
	authProvider,
};

const client = Client.init(options);

const openShiftChangeRequest = {
  senderUserId: '3fe0bc21-1398-4fd9-9713-52511b434c1e',
  senderMessage: 'Can I take this shift?',
  openShiftId: '577b75d2-a927-48c0-a5d1-dc984894e7b8'
};

await client.api('/teams/788b75d2-a911-48c0-a5e2-dc98480457e3/schedule/openShiftChangeRequests')
	.post(openShiftChangeRequest);