Finalise a plan definition
This POST
operation finalises a plan definition by planDefinitionId
. Finalising a plan definition means getting it ready for use. Every plan must be finalised before it can be used. If successful, you receive an HTTP response code of 204
. See HTTP response codes for other response codes.
Once a plan definition is finalised, it cannot be changed without creating a new version. |
POST /pcc/spcm/planDefinitions/<planDefinitionId>/finalise
HEADER INFO
tenant: <tenantName>
authorisation: HTTP Basic Auth
permissions: SPCM_PLAN_DEFINITION_CREATE_PERMISSION
URL parameters
There is one mandatory parameter.
Parameter | Type | Description |
---|---|---|
|
integer |
A unique identifier for a plan definition which was assigned by the server upon creating the plan definition. |
HTTP response codes
Code | Description | ||||
---|---|---|---|---|---|
|
success!
|
||||
|
Multistatus response
|
||||
|
malformed request |
||||
|
unauthorised; bad username or password |
||||
|
forbidden; user does not have appropriate privileges |
||||
|
plan definition not found |
||||
|
conflict with target resource
|
||||
|
failed validation; this typically means that a property was not set or a value is out of range. example
|
||||
|
failed processing (after passing validation). example
|
||||
|
internal error example
|
||||
|
request rejected due to overload |