PUT Rename Process File API
Rename Process File API is used to rename existing process file in the process file library.
Resource | URI | Description | |
---|---|---|---|
PUT |
processlibrary |
cdwebconsole/svc/processlibrary |
To update existing process file in the process file library. |
Parameter Name | Required/Optional | Description | Valid values |
---|---|---|---|
processFileName |
Required |
Specifies the fully qualified name of process file |
|
newProcessFileName | Required | Specifies the fully qualified name of new process file |
The following example shows the Command:
curl -X 'PUT' \
'https://172.20.183.89:9443/cdwebconsole/svc/processlibrary/rename' \
-H 'Authorization: eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbmlzdHJhdG9yOjE3Mi4yMC4xODYuMjAzOjEzNjM6N2I3ODYyNjMtYTc5Mi00ZDhkLWI0ZjQtZTFlNjRlNDkzMmNkIiwiZXhwIjoxNzE1MTU1NjUzfQ.UxUm4wlqAqdDhG5wuYLM9hWqZehOiiJ-U1LyL5gf7P-bC0PA51yqtzYykv71R4ZGeBkw3DxrjH72B2Ws3cqZHg' \
-H 'Content-Type: application/json' \
-H 'X-XSRF-TOKEN: f747788d-a885-49c5-b2f1-bf51834c9175' \
-d '{"processFileName":"test.cdp","newProcessFileName":"test_updated.cdp"}'
The following example shows the Sample HTTP User Request:
{
"processFileName": "test.cdp",
"newProcessFileName": "test_updated.cdp"
}
The following example shows the Sample Response:
[
{
"messageCode": 200,
"message": "Process File has been renamed successfully "
}
]