JSON_BatchProgressCap

JSON message about capability of terminal release progress parameters

{
  "BatchProgressCap": {
    "targetType": {
      "@opt": [ "byTerminal", "byOrg" ]
    },
/*optional, string, search mode: "byTerminal"-by terminal, "byOrg"-by organization*/
    "progressType": {
      "@opt": [ "release", "insert" ]
    }, 
/*optional, string, progress type: "release"-release progress, "insert"-cut-in progress*/
    "terminalNoList": {
      "@min": 1,
      "@max": 1000
    }, 
/*optional, array, terminal ID list, this field is required only when targetType (search method) is "byTerminal"*/
    "orgIdList": {
      "@min": 1,
      "@max": 1024
    }, 
/*optional, array, organization ID list, this field is required only when targetType (search method) is "byOrg"*/
    "releaseStatus": {
      "@opt": [ "release", "failed", "success"," cancel"," notRelease"  ]
    }, 
/*optional, string, release status: "release"-releasing, failed, "success"-succeeded, "notRelease"-not released, "cancel"-canceled*/
    "percent": {
      "@min": 1,
      "@max": 100
    }, 
/*optional, int, progress, this field is required only when releaseStatus is "release"*/
    "failedReason": {
      "@min": 4,
      "@max": 128
    },
/*optional, string, failure reason, this field is valid only when releaseStatus is "release"*/
    "planId":{
/*required, int, release schedule ID*/
      "@min":1,
      "@max":1024
    }
  }
}