Modify a Deferred Action

put

/bcws/webresources/v1.0/deferredactions/{id}

Modifies the specified deferred action.

Request

Path Parameters
Supported Media Types
Request Body - application/xml ()
Root Schema : schema
Type: object
Show Source
Nested Schema : ResourceRef
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : ResourceRef
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Back to Top

Response

Supported Media Types

200 Response

The deferred action was modified successfully.
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : ResourceRef
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.

500 Response

An internal server error occurred.
Back to Top

Examples

This example shows how to update the scheduled date of a deferred action by submitting a PUT request on the REST resource using cURL. For more information about cURL, see "Use cURL".

cURL Command

curl -X PUT 'http://hostname:port/bcws/webresources/version/deferredactions/0.0.0.1+-schedule+255194' -H 'content-type: application/json' -d @deferredActionUpdate.json

where:

  • hostname is the URL for the Billing Care REST server.
  • port is the port for the Billing Care REST server.
  • version is the version of the API you're using, such as v1.0.
  • deferredActionUpdate.json is the JSON file that specifies the details to update.

Example of Request Body

This example shows the contents of the deferredActionUpdate.json file sent as the request body.

{
   "scheduledDate":"2021-02-14"
}

Example of Response Body

This example shows the contents of the response body in JSON format. All unchanged parameters appear as null, so only the values for the action ID and the updated parameter are shown.

{
   "extension": null,
   "actionId": {
      "id": "0.0.0.1+-schedule+279774",
      "uri": null
   },
   "actionName": null,
   "serviceId": null,
   "serviceType": null,
   "scheduledDate": 1613241000000,
   "serviceLogin": null,
   "description": null,
   "isCollectionsAction": null,
   "actionStatus": 0
}
Back to Top