Rejects the resource by given Resource Id
patch
/web/v1/chgPrcTmpl/{id}/reject
This endpoint is used to reject the resource by given Resource Id.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
id: string
Resource Id that needs to be closed
Request body contains resource Id and resource mod numbers which need to be rejected
Root Schema : OrchestratorDTO
Type:
Show Source
object
-
modNos(optional):
array modNos
-
remarks(optional):
string
Remark on Orchestrator
-
resourceId(optional):
string
Id of the Orchestrator Resource
Response
Supported Media Types
- application/json
- application/xml
200 Response
Successful operation.
Root Schema : ResponseDtoWrapper
Type:
object
Collection of ResponseDto and ResponseResourceSupport
Show Source
-
data(optional):
object ResponseResourceSupport
Response DTO which extends RepresentationModel of Spring HATEOAS
-
messages(optional):
object ResponseDto
ResponseDto stores the response status and code.
Nested Schema : ResponseResourceSupport
Type:
object
Response DTO which extends RepresentationModel of Spring HATEOAS
Nested Schema : ResponseDto
Type:
object
ResponseDto stores the response status and code.
Show Source
Nested Schema : codes
Type:
Show Source
array
-
Array of:
object ResponseCode
ResponseCode stores the response details.
Nested Schema : items
Type:
object
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error