(0000192)
administrator (administrator)
2014-10-06 21:55
|
Added JSON token for all commands; for example:
21:54:06> class show SR_REQUEST token json;
{
"class":{
"-name":"SR_REQUEST",
"-id":"-775082435",
"common":{
"description":"Generic support request",
"application":"SR_Application",
"hidden":"false",
"origdate":"2010-07-05 16:25:40 GMT",
"moddate":"2014-07-21 19:30:11 GMT",
"moduser":"ADMIN",
"counters":"333,86,81,78,136",
"svnrev":"0",
"image":"false"
},
"abstract":"true",
"ownform":"SR_RequestEdit",
"baseform":"SR_RequestEdit",
"form":"SR_RequestEdit",
"ownfield-list":{
"-count":"9",
"ownfield":[
"SR_InterestedModule",
"SR_InterestedFuction",
"SR_Description",
"SR_RequesterPriority",
"SR_RevisorPriority",
"SR_Solution-Reply",
"SR_TestNotes",
"SR_OpenDate",
"SR_CloseDate"
]
},
"field-list":{
"-count":"9",
"field":[
"SR_InterestedModule",
"SR_InterestedFuction",
"SR_Description",
"SR_RequesterPriority",
"SR_RevisorPriority",
"SR_Solution-Reply",
"SR_TestNotes",
"SR_OpenDate",
"SR_CloseDate"
]
},
"ownsubclass-list":{
"-count":"4",
"ownsubclass":[
"SR_Help",
"SR_Bug",
"SR_Enhancement",
"SR_Info"
]
},
"subclass-list":{
"-count":"4",
"subclass":[
"SR_Help",
"SR_Bug",
"SR_Enhancement",
"SR_Info"
]
},
"ownprogram-list":{
"-count":"3",
"ownprogram":[
{
"-option":"fileget.action",
"name":"SHOWENV"
},
{
"-option":"filelock.check",
"name":"SHOWENV"
},
{
"-option":"fileunlock.check",
"name":"SHOWENV"
}
]
},
"program-list":{
"-count":"3",
"program":[
{
"-option":"fileget.action",
"name":"SHOWENV"
},
{
"-option":"filelock.check",
"name":"SHOWENV"
},
{
"-option":"fileunlock.check",
"name":"SHOWENV"
}
]
},
"lifecycle-list":{
"-count":"1",
"lifecycle":"SR_SupportRequest"
},
"linktype-list":{
"-count":"2",
"linktype":[
"SR_Link",
"L1"
]
}
}
} |