
Cisco Evolved Programmable Network Manager API
Evolved Programmable Network Manager API Documentation

# PUT jobService/resume

Re-enable the trigger of a suspended job.

Since Product Version: 2.2

- Jump To

- v1
- v2
- v3
- v4

### Resource Information

Rate Limiting? | No
Sorting? | No
Paging? | No
Filtering? | No
Group Filtering? | No
Aggregation? | No
Response Formats | xml json
User Group | NBI Write
HTTP Methods | PUT

API version v1 is deprecated

This API version has been deprecated. It will be removed in a future release of the product. Please develop new clients using the latest API version. Please modify your existing clients to use a later API version.

## Resource URL

/webacs/api/v1/op/jobService/resume

## Request Payload Parameters

Attribute | Description
--- | ---
jobId Long[] | Required The id of the job on which the operation will be performed

## Response Parameters

Attribute | Description
--- | ---
failure OperationResultStatus[] | A list of job ids that fail in the operation
Attribute | Description
--- | ---
id long | A job id or a run instance id
message String | A system generated message
status String | The result of an operation. Could be Success of Failure
message String | A system generated message
operation OperationEnum | The service name Allowed values SUSPEND RESUME CANCEL CANCELRUNNING
success OperationResultStatus[] | A list of job ids that succeed in the operation
Attribute | Description
--- | ---
id long | A job id or a run instance id
message String | A system generated message
status String | The result of an operation. Could be Success of Failure

## Sample Payloads

Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.

### Sample XML Request Payload

https://10.64.88.203/webacs/api/v1/op/jobService/resume

    <?xml version="1.0" ?>
    <jobOperationPayload>
      <jobIds>
        <jobId>15</jobId>
        <jobId>25</jobId>
      </jobIds>
    </jobOperationPayload>

### Sample JSON Request Payload

https://10.64.88.203/webacs/api/v1/op/jobService/resume.json

    {
      "jobOperationPayload" : {
        "jobIds" : {
          "jobId" : [15,
          25]
        }
      }
    }

### Sample XML Response Payload

https://10.64.88.203/webacs/api/v1/op/jobService/resume

    <?xml version="1.0" ?>
    <mgmtResponse responseType="operation" requestUrl="../../../../../pages/common/login.jsp.html" rootUrl="https://10.64.88.203/webacs/api/v1/op">
      <operationResult>
        <failure>
          <failure>
            <id>2</id>
            <message>String value</message>
            <status>String value</status>
          </failure>
          <failure>
            <id>12</id>
            <message>Another string value</message>
            <status>Another string value</status>
          </failure>
        </failure>
        <message>String value</message>
        <operation>SUSPEND</operation>
        <success>
          <success>
            <id>2</id>
            <message>String value</message>
            <status>String value</status>
          </success>
          <success>
            <id>12</id>
            <message>Another string value</message>
            <status>Another string value</status>
          </success>
        </success>
      </operationResult>
    </mgmtResponse>

### Sample JSON Response Payload

https://10.64.88.203/webacs/api/v1/op/jobService/resume.json

    {
      "mgmtResponse" : {
        "@responseType" : "operation",
        "@requestUrl" : "https : //10.64.88.203/webacs/api/v1/op/jobService/resume",
        "@rootUrl" : "https : //10.64.88.203/webacs/api/v1/op",
        "operationResult" : {
          "failure" : {
            "failure" : [{
              "id" : 2,
              "message" : "String value",
              "status" : "String value"
            },
            {
              "id" : 12,
              "message" : "Another string value",
              "status" : "Another string value"
            }]
          },
          "message" : "String value",
          "operation" : "SUSPEND",
          "success" : {
            "success" : [{
              "id" : 2,
              "message" : "String value",
              "status" : "String value"
            },
            {
              "id" : 12,
              "message" : "Another string value",
              "status" : "Another string value"
            }]
          }
        }
      }
    }

### Resource Information

Rate Limiting? | No
Sorting? | No
Paging? | No
Filtering? | No
Group Filtering? | No
Aggregation? | No
Response Formats | xml json
User Group | NBI Write
HTTP Methods | PUT

## Resource URL

/webacs/api/v2/op/jobService/resume

Unmodified

This resource has not been modified since the previous API version.

## Request Payload Parameters

Attribute | Description
--- | ---
jobId Long[] | Required The id of the job on which the operation will be performed

## Response Parameters

Attribute | Description
--- | ---
failure OperationResultStatus[] | A list of job ids that fail in the operation
Attribute | Description
--- | ---
id long | A job id or a run instance id
message String | A system generated message
status String | The result of an operation. Could be Success of Failure
message String | A system generated message
operation OperationEnum | The service name Allowed values SUSPEND RESUME CANCEL CANCELRUNNING
success OperationResultStatus[] | A list of job ids that succeed in the operation
Attribute | Description
--- | ---
id long | A job id or a run instance id
message String | A system generated message
status String | The result of an operation. Could be Success of Failure

## Sample Payloads

Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.

### Sample XML Request Payload

https://10.64.88.203/webacs/api/v2/op/jobService/resume

    <?xml version="1.0" ?>
    <jobOperationPayload>
      <jobIds>
        <jobId>15</jobId>
        <jobId>25</jobId>
      </jobIds>
    </jobOperationPayload>

### Sample JSON Request Payload

https://10.64.88.203/webacs/api/v2/op/jobService/resume.json

    {
      "jobOperationPayload" : {
        "jobIds" : {
          "jobId" : [ 15, 25 ]
        }
      }
    }

### Sample XML Response Payload

https://10.64.88.203/webacs/api/v2/op/jobService/resume

    <?xml version="1.0" ?>
    <mgmtResponse responseType="operation" requestUrl="../../../../../pages/common/login.jsp.html" rootUrl="https://10.64.88.203/webacs/api/v2/op">
      <operationResult>
        <failure>
          <failure>
            <id>2</id>
            <message>String value</message>
            <status>String value</status>
          </failure>
          <failure>
            <id>12</id>
            <message>Another string value</message>
            <status>Another string value</status>
          </failure>
        </failure>
        <message>String value</message>
        <operation>SUSPEND</operation>
        <success>
          <success>
            <id>2</id>
            <message>String value</message>
            <status>String value</status>
          </success>
          <success>
            <id>12</id>
            <message>Another string value</message>
            <status>Another string value</status>
          </success>
        </success>
      </operationResult>
    </mgmtResponse>

### Sample JSON Response Payload

https://10.64.88.203/webacs/api/v2/op/jobService/resume.json

    {
      "mgmtResponse" : {
        "@requestUrl" : "../../../../../pages/common/login.jsp.html",
        "@responseType" : "operation",
        "@rootUrl" : "https://10.64.88.203/webacs/api/v2/op",
        "operationResult" : [ {
          "failure" : {
            "failure" : [ {
              "id" : 2,
              "message" : "String value",
              "status" : "String value"
            }, {
              "id" : 12,
              "message" : "Another string value",
              "status" : "Another string value"
            } ]
          },
          "message" : "String value",
          "operation" : "SUSPEND",
          "success" : {
            "success" : [ {
              "id" : 2,
              "message" : "String value",
              "status" : "String value"
            }, {
              "id" : 12,
              "message" : "Another string value",
              "status" : "Another string value"
            } ]
          }
        } ]
      }
    }

### Resource Information

Rate Limiting? | No
Sorting? | No
Paging? | No
Filtering? | No
Group Filtering? | No
Aggregation? | No
Response Formats | xml json
User Group | NBI Write
HTTP Methods | PUT

## Resource URL

/webacs/api/v3/op/jobService/resume

Unmodified

This resource has not been modified since the previous API version.

## Request Payload Parameters

Attribute | Description
--- | ---
jobId Long[] | Required The id of the job on which the operation will be performed

## Response Parameters

Attribute | Description
--- | ---
failure OperationResultStatus[] | A list of job ids that fail in the operation
Attribute | Description
--- | ---
id long | A job id or a run instance id
message String | A system generated message
status String | The result of an operation. Could be Success of Failure
message String | A system generated message
operation OperationEnum | The service name Allowed values SUSPEND RESUME CANCEL CANCELRUNNING
success OperationResultStatus[] | A list of job ids that succeed in the operation
Attribute | Description
--- | ---
id long | A job id or a run instance id
message String | A system generated message
status String | The result of an operation. Could be Success of Failure

## Sample Payloads

Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.

### Sample XML Request Payload

https://10.64.88.203/webacs/api/v3/op/jobService/resume

    <?xml version="1.0" ?>
    <jobOperationPayload>
      <jobIds>
        <jobId>15</jobId>
        <jobId>25</jobId>
      </jobIds>
    </jobOperationPayload>

### Sample JSON Request Payload

https://10.64.88.203/webacs/api/v3/op/jobService/resume.json

    {
      "jobOperationPayload" : {
        "jobIds" : {
          "jobId" : [ 15, 25 ]
        }
      }
    }

### Sample XML Response Payload

https://10.64.88.203/webacs/api/v3/op/jobService/resume

    <?xml version="1.0" ?>
    <mgmtResponse responseType="operation" requestUrl="../../../../../pages/common/login.jsp.html" rootUrl="https://10.64.88.203/webacs/api/v3/op">
      <operationResult>
        <failure>
          <failure>
            <id>2</id>
            <message>String value</message>
            <status>String value</status>
          </failure>
          <failure>
            <id>12</id>
            <message>Another string value</message>
            <status>Another string value</status>
          </failure>
        </failure>
        <message>String value</message>
        <operation>SUSPEND</operation>
        <success>
          <success>
            <id>2</id>
            <message>String value</message>
            <status>String value</status>
          </success>
          <success>
            <id>12</id>
            <message>Another string value</message>
            <status>Another string value</status>
          </success>
        </success>
      </operationResult>
    </mgmtResponse>

### Sample JSON Response Payload

https://10.64.88.203/webacs/api/v3/op/jobService/resume.json

    {
      "mgmtResponse" : {
        "@requestUrl" : "../../../../../pages/common/login.jsp.html",
        "@responseType" : "operation",
        "@rootUrl" : "https://10.64.88.203/webacs/api/v3/op",
        "operationResult" : [ {
          "failure" : {
            "failure" : [ {
              "id" : 2,
              "message" : "String value",
              "status" : "String value"
            }, {
              "id" : 12,
              "message" : "Another string value",
              "status" : "Another string value"
            } ]
          },
          "message" : "String value",
          "operation" : "SUSPEND",
          "success" : {
            "success" : [ {
              "id" : 2,
              "message" : "String value",
              "status" : "String value"
            }, {
              "id" : 12,
              "message" : "Another string value",
              "status" : "Another string value"
            } ]
          }
        } ]
      }
    }

### Resource Information

Rate Limiting? | No
Sorting? | No
Paging? | No
Filtering? | No
Group Filtering? | No
Aggregation? | No
Response Formats | xml json
User Group | NBI Write
HTTP Methods | PUT

## Resource URL

/webacs/api/v4/op/jobService/resume

Unmodified

This resource has not been modified since the previous API version.

## Request Payload Parameters

Attribute | Description
--- | ---
jobId Long[] | Required The id of the job on which the operation will be performed

## Response Parameters

Attribute | Description
--- | ---
failure OperationResultStatus[] | A list of job ids that fail in the operation
Attribute | Description
--- | ---
id long | A job id or a run instance id
message String | A system generated message
status String | The result of an operation. Could be Success of Failure
message String | A system generated message
operation OperationEnum | The service name Allowed values SUSPEND RESUME CANCEL CANCELRUNNING
success OperationResultStatus[] | A list of job ids that succeed in the operation
Attribute | Description
--- | ---
id long | A job id or a run instance id
message String | A system generated message
status String | The result of an operation. Could be Success of Failure

## Sample Payloads

Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.

### Sample XML Request Payload

https://10.64.88.203/webacs/api/v4/op/jobService/resume

    <?xml version="1.0" ?>
    <jobOperationPayload>
      <jobIds>
        <jobId>15</jobId>
        <jobId>25</jobId>
      </jobIds>
    </jobOperationPayload>

### Sample JSON Request Payload

https://10.64.88.203/webacs/api/v4/op/jobService/resume.json

    {
      "jobOperationPayload" : {
        "jobIds" : {
          "jobId" : [ 15, 25 ]
        }
      }
    }

### Sample XML Response Payload

https://10.64.88.203/webacs/api/v4/op/jobService/resume

    <?xml version="1.0" ?>
    <mgmtResponse responseType="operation" requestUrl="../../../../../pages/common/login.jsp.html" rootUrl="https://10.64.88.203/webacs/api/v4/op">
      <operationResult>
        <failure>
          <failure>
            <id>2</id>
            <message>String value</message>
            <status>String value</status>
          </failure>
          <failure>
            <id>12</id>
            <message>Another string value</message>
            <status>Another string value</status>
          </failure>
        </failure>
        <message>String value</message>
        <operation>SUSPEND</operation>
        <success>
          <success>
            <id>2</id>
            <message>String value</message>
            <status>String value</status>
          </success>
          <success>
            <id>12</id>
            <message>Another string value</message>
            <status>Another string value</status>
          </success>
        </success>
      </operationResult>
    </mgmtResponse>

### Sample JSON Response Payload

https://10.64.88.203/webacs/api/v4/op/jobService/resume.json

    {
      "mgmtResponse" : {
        "@requestUrl" : "../../../../../pages/common/login.jsp.html",
        "@responseType" : "operation",
        "@rootUrl" : "https://10.64.88.203/webacs/api/v4/op",
        "operationResult" : [ {
          "failure" : {
            "failure" : [ {
              "id" : 2,
              "message" : "String value",
              "status" : "String value"
            }, {
              "id" : 12,
              "message" : "Another string value",
              "status" : "Another string value"
            } ]
          },
          "message" : "String value",
          "operation" : "SUSPEND",
          "success" : {
            "success" : [ {
              "id" : 2,
              "message" : "String value",
              "status" : "String value"
            }, {
              "id" : 12,
              "message" : "Another string value",
              "status" : "Another string value"
            } ]
          }
        } ]
      }
    }