Skip to content

[Microsoft Graph v1.0]: teams report directroutingcalls #2680

@garrytrinder

Description

@garrytrinder

The teams report directroutingcalls command currently uses the beta/communications endpoint in its implementation, this should be updated to use the v1.0/communications endpoint.

const requestOptions: any = {
url: `${this.resource}/beta/communications/callRecords/getDirectRoutingCalls(fromDateTime=${encodeURIComponent(args.options.fromDateTime)},toDateTime=${toDateTimeParameter})`,
headers: {
accept: 'application/json;odata.metadata=none'
},
responseType: 'json'
};

beta docs: https://docs.microsoft.com/en-us/graph/api/callrecords-callrecord-getdirectroutingcalls?view=graph-rest-beta&tabs=http
v1.0 docs: https://docs.microsoft.com/en-us/graph/api/callrecords-callrecord-getdirectroutingcalls?view=graph-rest-1.0&tabs=http

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions