Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Binh_Thuan_Nguy
Explorer

get all information of statusDescription via API

Jump to solution

Hi guys,

 

if i try to get the route information via API and runscript, i will receive something like that

"task-details":[
{
"statusDescription":"# Show VS vs-lab3-000-NIC - begin, add vd name vs-lab3-000-NIC vsx lab-cluster-3 main_ip 10.192.22.4 , # VS vs-lab3-000-NIC - interfaces:, add interface vd vs-lab3-000-NIC name ...",
"taskNotification":"520d688e-56c7-4843-8c08-db977af17f91",
"icon":"General/globalsNa",
"gatewayName":"",
"color":"black",
"name":"None",
"responseMessage":"mFkZCByb3V0ZSB2ZCB2cy1sYWIzLTAwMC1OSUMgZGVzdGluYXRpb24gMTAuMTkyLj9ob3AgMTAuMTkyLjIxLjQgcHdGluYXRpb24gZGVmYXVsdCBuZXh0X2hvcCAxMC4xOTIuMjIuMSAKIyBTaG93IFZTIHZzLWxhYjMtMDAwLU5JQyAtIGVuZAo=",
"display-name":"",
"comments":"",
"transactionId":529965479,
"domain":{
"name":"Eagle_Lab",
"domain-type":"domain",
"uid":"54913069-f421-8640-9742-44e3efa9ae30"
},
"statusCode":"succeeded",
"responseError":"VmVyc2lvbiBSODBfMjBfanVtYm9faGZfbWFpbiwgYnVpbGQgOTkyMDAwMDE2Cg==",
"tags":[

],
"customFields":"None",
"meta-info":{
"last-modifier":"checkpointapi",
"creator":"checkpointapi",
"last-modify-time":{
"posix":1588155188422,
"iso-8601":"2020-04-29T12:13+0200"
},
"validation-state":"ok",
"creation-time":{
"posix":1588155106246,
"iso-8601":"2020-04-29T12:11+0200"
}
},
"uid":"0efe2fe2-a962-403c-86f8-82ae80601702",
"gatewayId":"a51a834d-5c70-4ffb-88e7-2f963f097fa1"
}
]

 

but the ... doesnt help me at all, how can I get all the description?

 

Thanks and regards,

Thuan

0 Kudos
1 Solution

Accepted Solutions
PhoneBoy
Admin
Admin
You probably want the results of the commands you issued.
Those are base64 encoded in the responseMessage.

View solution in original post

0 Kudos
4 Replies
Sigbjorn
Advisor

What exactly are you trying to accomplish here?

0 Kudos
Binh_Thuan_Nguy
Explorer

I wanna  get the routing information of the VD with the command vsx_provisioning_tool show vd via runscript

It does work, but the information, which I received, isnt shown at all.

As I wrote in the topic, I have received statusDescription  with "..." at the end.

 

0 Kudos
PhoneBoy
Admin
Admin
You probably want the results of the commands you issued.
Those are base64 encoded in the responseMessage.
0 Kudos
Binh_Thuan_Nguy
Explorer

thanks mate. It's exactly what I searched for.

0 Kudos