Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Add_workflow_for_techpubs
AUTH1UserResourceIdentifier{userKey=8a00a0c86e9b2550016ec54396b5000a, userName='null'}
JIRAIDAUTHSBX-115196
REV5UserResourceIdentifier{userKey=8a00a02355cd1c2f0155cd26cb8305e9, userName='null'}
REV6UserResourceIdentifier{userKey=8a00a02355cd1c2f0155cd26cb8305e9, userName='null'}
REV3UserResourceIdentifier{userKey=8a00a02355cd1c2f0155cd26cd870a2e, userName='null'}
REV1UserResourceIdentifier{userKey=8a00a02355cd1c2f0155cd26cdcd0ab1, userName='null'}


Excerpt

To download the CDR files using REST queries, use the following command:

(This example downloads the CDR file with the extension .ACT)

Code Block
curl -k -i --user admin:Sonus@123 -X GET 'https://xx.xx.xx.xxx/pm/api/Logs/downloadLog?type=eventLog&name=1000012.ACT'

To retrieve the CDR file list using REST queries, use the following command: 

Code Block
curl -k -i --user admin:adminpw -X GET 'https://xx.xx.xx.xxx/pm/api/Logs/getLogList?type=eventLog'

….

{

    "aaData":

        [

            ["1000019.DBG", "07\/09\/2022", "12:45:27", true, true],

            ["100000F.AUD", "07\/09\/2022", "12:45:25", true, true],

            ["1000012.SYS", "07\/09\/2022", "12:45:17", true, true],

            ["1000020.MEM", "07\/09\/2022", "12:44:26", true, true],

            ["100000E.SEC", "07\/09\/2022", "12:39:28", true, true],

            ["1000018.DBG", "07\/07\/2022", "16:20:00", true, true],

            ["10000CE.ACT", "07\/07\/2022", "11:27:57", true, true],

            ["1000001.TRC", "07\/07\/2022", "11:27:53", true, true],

        ...

        ],

    "iTotalRecords": 283,

    "iTotalDisplayRecords": 283

}