Pause Timer Start Event

post

/process/api/v1/instances/startTimer/pause

Pause the timer start event.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Match All
Show Source
Nested Schema : CommonModel
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : DataObject
Type: object
Show Source
Match All
Show Source
Nested Schema : CommonModel
Type: object
Show Source

401 Response

Unauthorized

404 Response

Task not found for given ID

429 Response

Too Many Requests

500 Response

Internal Server Error

503 Response

Too Many Exceptions or Too Slow Requests
Back to Top

Examples

Example: Pause a timer start event

The following example shows how to pause timer start event by submitting a POST request on the REST resource using cURL. For more information about cURL, see cURL Access. For more information about endpoint URL structure, see Send Requests.

curl --location 'http://<OIC URL>/process/api/v1/instances/startTimer/pause' \
--header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:126.0) Gecko/20100101 Firefox/126.0' \
--header 'Accept: application/json, text/javascript, */*; q=0.01' \
--header 'Accept-Language: en-US,en;q=0.5' \
--header 'Accept-Encoding: gzip, deflate' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic c4BhdfghjjRfggFnuyhJHlF56fhji1lMQ==' \
--header 'x-tenant-id: abcd' \
--header 'opc-request-id: aty76886lmln' \
--header 'X-Requested-With: XMLHttpRequest' \
--header 'Connection: keep-alive' \
--header 'Referer: http://<OIC URL>/process/workspace/?root=instances' \
--data '{
    "value": "EveryElevenMins--1.0--Every11Mins"
}'

Example: Format of 200 Operation Successful response

{
  "links": [
    {
      "href": "string",
      "hreflang": "string",
      "length": 0,
      "rel": "string",
      "title": "string",
      "type": "string",
      "mediaType": "string",
      "message": "string",
      "code": 600
    }
  ],
  "value": "string"
}
Back to Top