Rest API Submit SRF Missing startDate and startTime
search cancel

Rest API Submit SRF Missing startDate and startTime

book

Article ID: 217208

calendar_today

Updated On:

Products

CA Process Automation Base

Issue/Introduction

The swagger documentation for the rest API does not include any options in the payload.  In the SOAP API it was possible to include a start date/time in the options section to queue a process until the specified date/time.  Is this functionality available in the REST API?

Swagger Example:

{
  "Parameters": {
    "Param": [
      {
        "Name": "string",
        "Value": "string",
        "Label": "string",
        "Type": "string",
        "Description": "string",
        "IsReadOnly": "string"
      }
    ]
  },
  "Options": {}
}

SOAP Example:

<itp:options>
<itp:startDate>2021-06-10</itp:startDate>
<itp:startTime>21:00</itp:startTime>
</itp:options>

Environment

Release : 4.3

Component :

Resolution

From the Process Automation home page I went to Help -> API Documentation.  Then on the list of PAM Rest API calls, I went down to the Perform Actions on a Process Object section and expanded /v2/processes/{ID}/start.  That one, I think, lets you put in the start date and time.