Create a publishing acknowledgement
post
http://{PublishServerHost}/api/productCatalogManagment/v1/publishingAcknowledgement
Receives the acknowledgment from spoke system and update the publishing status corresponding to the spoke system.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : PublishingAcknowledgement
Type:
object
Title:
PublishingAcknowledgement
Is a detailed description of a acknowledgment of the published project from spoke system.
Show Source
-
eventId(required): string
The identifier of the notification spoke system received.
-
message(required): string
The error message.
-
projectId(required): string
The identifier of the project spoke system received.
-
projectItemsStatus: array
projectItemsStatus
Contains the list of publish status of Project Items that are part of the publish
-
status(required): string
Title:
PublishStatusType
Allowed Values:[ "SUCCESS", "FAILURE" ]
Valid values for the publish status
Nested Schema : projectItemsStatus
Type:
array
Contains the list of publish status of Project Items that are part of the publish
Show Source
-
Array of:
object ProjectItemStatusRef
Title:
ProjectItemStatusRef
Project Item Publish Status reference.
Nested Schema : ProjectItemStatusRef
Type:
object
Title:
ProjectItemStatusRef
Project Item Publish Status reference.
Show Source
-
@referredType(required): string
The actual type of the target instance when needed for disambiguation.
-
errorLog: string
error message for the failure
-
id(required): string
Unique identifier of a related entity.
-
status(required): string
Title:
PublishStatusType
Allowed Values:[ "SUCCESS", "FAILURE" ]
Valid values for the publish status -
version(required): string
Version of the object
Response
201 Response
Your request is processed successfully.
400 Response
Your request couldn't be processed because it contains missing or invalid information, such as a validation error on an input field, a missing required value, and so forth.
Root Schema : Error
Type:
object
Title:
Show Source
Error
-
@schemaLocation: string
it provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
401 Response
Your request isn't authorized. The authentication credentials included with this request are missing or invalid.
Root Schema : Error
Type:
object
Title:
Show Source
Error
-
@schemaLocation: string
it provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
404 Response
Your request includes a resource URI that doesn't exist.
Root Schema : Error
Type:
object
Title:
Show Source
Error
-
@schemaLocation: string
it provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
405 Response
HTTP action specified in the request (DELETE, GET, POST, PUT) isn't supported for this request URI.
Root Schema : Error
Type:
object
Title:
Show Source
Error
-
@schemaLocation: string
it provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
409 Response
The request can't be completed due to a conflict with the current state of the resource.
Root Schema : Error
Type:
object
Title:
Show Source
Error
-
@schemaLocation: string
it provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
500 Response
The server encountered something unexpected that prevented it from completing the request.
Root Schema : Error
Type:
object
Title:
Show Source
Error
-
@schemaLocation: string
it provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
Examples
The following example shows how to create a publish job by submitting a POST request on the REST resource using cURL.
cURL Command
curl -H 'Authorization:
Bearer<accessToken>' -X POST
https://{FusionAppsHost}/api/productCatalogManagement/v1/publishingAcknowledgement'
\ -H 'Content-Type: application/json' -D @create_publishack.json | json_pp
Example of Request Body
The following
example shows the contents of the request body in JSON format.
{ "status": "Success" }