Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 886 Bytes

File metadata and controls

39 lines (33 loc) · 886 Bytes
description Automatically generated file. DO NOT MODIFY
const options = {
	authProvider,
};

const client = Client.init(options);

const onlineMeeting = {
    chatInfo: {
        threadId: '19:7ebda77322dd4505ac4dedb5b67df076@thread.tacv2'
    },
    startDateTime: '2020-02-06T01:49:21.3524945+00:00',
    endDateTime: '2020-02-06T02:19:21.3524945+00:00',
    externalId: '7eb8263f-d0e0-4149-bb1c-1f0476083c56',
    participants: {
        attendees: [
            {
                identity: {
                    user: {
                        id: '1f35f2e6-9cab-44ad-8d5a-b74c14720000'
                    }
                },
                upn: 'test1@contoso.com'
            }
        ]
    },
    subject: 'Create a meeting with customId provided'
};

await client.api('/me/onlineMeetings/createOrGet')
	.version('beta')
	.post(onlineMeeting);