MS-Teams Graph | listing all callID's or the call history of a member | call duration

%3CLINGO-SUB%20id%3D%22lingo-sub-2570063%22%20slang%3D%22en-US%22%3EMS-Teams%20Graph%20%7C%20listing%20all%20callID's%20or%20the%20call%20history%20of%20a%20member%20%7C%20call%20duration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2570063%22%20slang%3D%22en-US%22%3E%3CP%3Edear%20wonderful%20people%20%2C%3C%2FP%3E%3CP%3E%3CBR%20%2F%3Efor%20a%20small%20intern%20project%20I%20want%20to%20implement%20the%20call%20duration%20of%20the%20ms-teams%20into%20the%20customer%20relationship%20management%20system%20database%20-%20I%20don't%20manage%20to%20list%20all%26nbsp%3B%26nbsp%3BcallID's%26nbsp%3Bto%20then%20get%20the%20startDateTime%26nbsp%3B%26amp%3B%26nbsp%3BendDateTime%20of%20the%20microsoft.graph.callRecords%26nbsp%3Bsegment.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E-%20what%20is%20the%20most%20convenient%20way%20to%20get%20the%20list%20of%20all%20user%20IDs%20of%20my%20organization%3F%3CBR%20%2F%3E-%20%3CU%3Ehow%20do%20I%20get%20the%20list%20of%20all%20call%20IDs%3F%3CBR%20%2F%3E%3C%2FU%3E-%20%3CU%3Ehow%20do%20i%20get%20all%20call%20durations%20or%20the%20call%20history%20of%20a%20member%3F%3C%2FU%3E%3CBR%20%2F%3E-%20how%20do%20I%20subscribe%20to%20an%20update%20for%20each%20call%20made%20by%20a%20user%20in%20the%20group%3F%3CBR%20%2F%3E-%20how%20do%20I%20write%20the%20session%20data%20to%20the%20database%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20to%20anyone%20who%20can%20help%20me.%20I%20have%20been%20dealing%20with%20this%20for%20a%20while%20and%20am%20currently%20trying%20to%20find%20a%20solution%20with%20CQD%20and%20PowerBiConnect.%20Im%20willing%20to%20pay%20a%20pocketmoney%20of%20100-150%E2%82%AC%20or%20more%20for%20a%20working%20solution%20proposal%20and%20the%20willingness%20for%20light%20verbal%20support%20if%20I%20can't%20get%20the%20implementation%20right.%3CBR%20%2F%3E%3CBR%20%2F%3EGreetings%20from%20Germany%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2570063%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EGraph%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Egraph-api%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMS-Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeams%20Bot%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeams%20Call%20Queue%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2725760%22%20slang%3D%22en-US%22%3ERe%3A%20MS-Teams%20Graph%20%7C%20listing%20all%20callID's%20or%20the%20call%20history%20of%20a%20member%20%7C%20call%20duration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2725760%22%20slang%3D%22en-US%22%3Ewell%20you%20need%20to%20have%20a%20subscription%20first%20...%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fsubscription-post-subscriptions%3Fview%3Dgraph-rest-beta%26amp%3Btabs%3Dhttp%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fsubscription-post-subscriptions%3Fview%3Dgraph-rest-beta%26amp%3Btabs%3Dhttp%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3Eso%20that%20you%20get%20notified%20whenever%20a%20call%20happened.%3CBR%20%2F%3Ethe%20subscription%20gives%20you%20then%20the%20callID%20which%20you%20use%20in%20the%20getcallrecordes%20rest%20api%20call%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fcallrecords-callrecord-get%3Fview%3Dgraph-rest-beta%26amp%3Btabs%3Dhttp%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fcallrecords-callrecord-get%3Fview%3Dgraph-rest-beta%26amp%3Btabs%3Dhttp%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3Ehth%3CBR%20%2F%3Estefan%3C%2FLINGO-BODY%3E
Regular Visitor

dear wonderful people ,


for a small intern project I want to implement the call duration of the ms-teams into the customer relationship management system database - I don't manage to list all  callID's to then get the startDateTime & endDateTime of the microsoft.graph.callRecords segment.


- what is the most convenient way to get the list of all user IDs of my organization?
- how do I get the list of all call IDs?
- how do i get all call durations or the call history of a member?
- how do I subscribe to an update for each call made by a user in the group?
- how do I write the session data to the database?

Thank you to anyone who can help me. I have been dealing with this for a while and am currently trying to find a solution with CQD and PowerBiConnect. Im willing to pay a pocketmoney of 100-150€ or more for a working solution proposal and the willingness for light verbal support if I can't get the implementation right.

Greetings from Germany

1 Reply
well you need to have a subscription first ...
https://docs.microsoft.com/en-us/graph/api/subscription-post-subscriptions?view=graph-rest-beta&tabs...

so that you get notified whenever a call happened.
the subscription gives you then the callID which you use in the getcallrecordes rest api call

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

hth
stefan