Transaction Status

This route is used to check the status of a particular call. The call can be in two states "Live" and "Ended"

Curl Request for checking Transaction Status

curl -X POST \
https://streams.marsview.ai/rb/v1/streams/fetch_call_status/<TRANSACTION_ID> \
-H 'authorization: Bearer <ATUHTOKEN>' \
-H 'cache-control: no-cache'

Response

The callStatus and endTime keys are set once the call has ended. Given below is the example response for when the Transaction has ended.
{'data': {'callStatus': True,
'endTime': '2021-11-23T14:40:58.012Z',
'startTime': '2021-11-23T10:22:14.937Z',
'txnId': '<TRANSACTION_ID>'},
'status': True
}