...
Click Configure > WEB SERVICES > REST Provider.
Click Create REST Provider.
In the Create REST Provider window, type the name and description of the new Web Service Provider service in the Name and Description fields respectively.
...
Type API Version, for example, your API version can be 1
Type the resource end path URL in the Resource End Path field. The URL can be static or dynamic. Static URL example: /get/File
Select the process flow name to trigger with the web service from the Process Flow Name field. example: Pf_Attachment
Set parameterName attribute of the context source should be restRequest
fileQueueId-This process will generate a unique File ID for each file.
fileType - Type of file downloading such as Input, Output, and Report files.
...
Tip |
---|
The above variables need to be bound in the user interface to process requests from the user. |
Click Add Method and select GET as the method type.
...
Select the Response Schema (For example, we are opting for the schema that has been utilized in the process flow as the target schema)
...
Save it.
Publish REST