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

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

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.
1
{'data': {'callStatus': True,
2
'endTime': '2021-11-23T14:40:58.012Z',
3
'startTime': '2021-11-23T10:22:14.937Z',
4
'txnId': '<TRANSACTION_ID>'},
5
'status': True
6
}
Copied!
Last modified 7d ago