Suspend a Product Order
post
https://serverRoot/tmf-api/productOrderingManagement/v4.0.0.1.0/suspendProductOrder
This operation creates a SuspendProductOrder entity, which is allocated an ID and can be retrieved later.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json;charset=utf-8
Root Schema : schema
Type:
object
OSM extension to define the payload for abort or resume requests.
Show Source
-
@baseType: string
When sub-classing, this defines the super-class.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
When sub-classing, this defines the sub-class entity name.
-
productOrder: object
ProductOrderRef
ProductOrder (ProductOrder). The product order that the recommendation is related to.
-
reason: string
Reason for the lifecycle operation (resume, abort) request.
Nested Schema : ProductOrderRef
Type:
object
ProductOrder (ProductOrder). The product order that the recommendation is related to.
Show Source
-
@baseType: string
When sub-classing, this defines the super-class.
-
@referredType: string
The actual type of the target instance when needed for disambiguation.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
When sub-classing, this defines the sub-class entity name.
-
href: string
Reference of the related entity.
-
id(required): string
Unique identifier of a related entity.
-
name: string
Name of the related entity.
Response
Supported Media Types
- application/json;charset=utf-8
201 Response
The SuspendProductOrder is created successfully and the referenced productOrder is suspended.
Root Schema : SuspendProductOrderOSM
Type:
object
OSM extension to define the SuspendProductOrder structure.
Show Source
-
@baseType: string
When sub-classing, this defines the super-class.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
When sub-classing, this defines the sub-class entity name.
-
error: object
Error
Used when an API throws an error. Typically, with an HTTP error response-code (3xx, 4xx, 5xx).
-
href: string
Hyperlink to access the suspension request.
-
id: string
ID of the suspension request (this is not an order id).
-
productOrder(required): object
ProductOrderRef
ProductOrder (ProductOrder). The product order that the recommendation is related to.
-
reason: string
Reason for the product order suspension request.
-
state: string
Allowed Values:
[ "acknowledged", "terminatedWithError", "inProgress", "done", "queued", "terminated", "skipped" ]
Possible values for the state of a task.
Nested Schema : Error
Type:
object
Used when an API throws an error. Typically, with an HTTP error response-code (3xx, 4xx, 5xx).
Show Source
-
@baseType: string
When sub-classing, this defines the super-class.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
When sub-classing, this defines the sub-class entity name.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error shown to a client user.
-
reason(required): string
Explanation of the reason for the error shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
state: string
HTTP error code extension.
Nested Schema : ProductOrderRef
Type:
object
ProductOrder (ProductOrder). The product order that the recommendation is related to.
Show Source
-
@baseType: string
When sub-classing, this defines the super-class.
-
@referredType: string
The actual type of the target instance when needed for disambiguation.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
When sub-classing, this defines the sub-class entity name.
-
href: string
Reference of the related entity.
-
id(required): string
Unique identifier of a related entity.
-
name: string
Name of the related entity.
400 Response
Bad Request
Root Schema : Error
Type:
object
Used when an API throws an error. Typically, with an HTTP error response-code (3xx, 4xx, 5xx).
Show Source
-
@baseType: string
When sub-classing, this defines the super-class.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
When sub-classing, this defines the sub-class entity name.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error shown to a client user.
-
reason(required): string
Explanation of the reason for the error shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
state: string
HTTP error code extension.
401 Response
Unauthorized
Root Schema : Error
Type:
object
Used when an API throws an error. Typically, with an HTTP error response-code (3xx, 4xx, 5xx).
Show Source
-
@baseType: string
When sub-classing, this defines the super-class.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
When sub-classing, this defines the sub-class entity name.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error shown to a client user.
-
reason(required): string
Explanation of the reason for the error shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
state: string
HTTP error code extension.
403 Response
Forbidden
Root Schema : Error
Type:
object
Used when an API throws an error. Typically, with an HTTP error response-code (3xx, 4xx, 5xx).
Show Source
-
@baseType: string
When sub-classing, this defines the super-class.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
When sub-classing, this defines the sub-class entity name.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error shown to a client user.
-
reason(required): string
Explanation of the reason for the error shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
state: string
HTTP error code extension.
405 Response
Method Not allowed
Root Schema : Error
Type:
object
Used when an API throws an error. Typically, with an HTTP error response-code (3xx, 4xx, 5xx).
Show Source
-
@baseType: string
When sub-classing, this defines the super-class.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
When sub-classing, this defines the sub-class entity name.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error shown to a client user.
-
reason(required): string
Explanation of the reason for the error shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
state: string
HTTP error code extension.
409 Response
Conflict
Root Schema : Error
Type:
object
Used when an API throws an error. Typically, with an HTTP error response-code (3xx, 4xx, 5xx).
Show Source
-
@baseType: string
When sub-classing, this defines the super-class.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
When sub-classing, this defines the sub-class entity name.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error shown to a client user.
-
reason(required): string
Explanation of the reason for the error shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
state: string
HTTP error code extension.
500 Response
Internal Server Error
Root Schema : Error
Type:
object
Used when an API throws an error. Typically, with an HTTP error response-code (3xx, 4xx, 5xx).
Show Source
-
@baseType: string
When sub-classing, this defines the super-class.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type: string
When sub-classing, this defines the sub-class entity name.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error shown to a client user.
-
reason(required): string
Explanation of the reason for the error shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
state: string
HTTP error code extension.