Hi,
I noticed that when querying using https://api.mypurecloud.jp/api/v2/conversations/calls/{abcdef12_1234_1234_abcd_abcdef12} the return contains recordingState both for each participant as well as a more global attribute:
{"id": "abcdef12_1234_1234_abcd_abcdef12", "participants": [{"id": "fedcabcd-baba-adad-abab-970abb032345", "address": "sip:v2i1u9726q7n8678+random_domain.orgspan.com@localhost", "startTime": "2024-06-14T02:27:56.623Z", "connectedTime": "2024-06-14T02:28:02.333Z", "purpose": "agent", "state": "connected", "direction": "outbound", "held": false, "wrapupRequired": true, "wrapupPrompt": "optional", "mediaRoles": ["full"], "user": {"id": "f9a8b7c6-d5e4-4321-0a98-7b65cd43210f", "selfUri": "/api/v2/users/f9a8b7c6-d5e4-4321-0a98-7b65cd43210f"}, "queue": {"id": "9e8f7c6d-a5b4-4c32-1a09-8b76dc543210", "selfUri": "/api/v2/routing/queues/9e8f7c6d-a5b4-4c32-1a09-8b76dc543210"}, "team": {"id": "78394aaa-abcd-4b17-abcd-3806d79cabcd", "selfUri": "/api/v2/teams/78394aaa-abcd-4b17-abcd-3806d79cabcd"}, "attributes": {}, "provider": "Edge", "muted": false, "confined": false, "recording": false, "recordingState": "suspend", "ani": "sip:v2i1u9726q7n8678+random_domain.orgspan.com@localhost", "dnis": "tel:+1202-456-1414", "securePause": false}, {"id": "f8a3d123-abcd-4225-abcd-a62d195d1234", "name": "Biomedome 1, Mars", "address": "tel:+1202-456-1414", "startTime": "2024-06-14T02:27:57.354Z", "connectedTime": "2024-06-14T02:28:02.328Z", "purpose": "customer", "state": "connected", "direction": "outbound", "held": false, "wrapupRequired": false, "mediaRoles": ["full"], "queue": {"id": "9e8f7c6d-a5b4-4c32-1a09-8b76dc543210", "selfUri": "/api/v2/routing/queues/9e8f7c6d-a5b4-4c32-1a09-8b76dc543210"}, "attributes": {}, "provider": "Edge", "externalContact": {"id": "f7bdd987-9876-4760-3456-d552fb385678", "selfUri": "/api/v2/externalcontacts/contacts/f7bdd987-9876-4760-3456-d552fb385678"}, "peer": "48d80abc-1234-1234-1234-ddc07497abcd", "muted": false, "confined": false, "recording": true, "recordingState": "suspend", "ani": "sip:1007@156.33.241.5;user=phone", "dnis": "tel:+1202-456-1414", "securePause": false}], "otherMediaUris": [], "recentTransfers": [], "utilizationLabelId": "631fabcd-baba-adad-abab-970abb032345", "recordingState": "suspend", "securePause": false, "selfUri": "/api/v2/conversations/calls/abcdef12_1234_1234_abcd_abcdef12"}
-
Could you please tell me what is this global in JSON recurdingState and how is it different from each of the participants? In which scenarios you would have active for the participant but none / suspend/paused for the global?
-
what does recordingState of none signify? Can you set the recordingState to none? In APIs it shows as a valid option, but what does it mean? Is it the same as DO NOT RECORD?
Thank you!