This page provides the list of events and associated payload for the Pricing microservice.
List of Events
SL.# | NAME | DESCRIPTION | PUBLISH LOCATION | ROUTING KEY | DURABILITY | PAYLOAD TYPE |
---|---|---|---|---|---|---|
1 | Project Submitted | This event is triggered when a project is updated to SUBMITTED status. | Topic: ecomm | price.project.updated | false | PriceSubmittedProject |
2 | Project Approval In-Progress | This event is triggered when a project is updated to APPROVAL_INPROGRESS status. | Topic: ecomm | price.project.updated | false | PriceSubmittedProject |
3 | Project Approval Failed | This event is triggered when a project is updated to FAILED status. | Topic: ecomm | price.project.updated | false | PriceSubmittedProject |
4 | Project Approved | This event is triggered when a project is updated to APPROVED status. | Topic: ecomm | price.project.updated | false | PriceSubmittedProject |
5 | Project Denied | TThis event is triggered when a project is updated to DENIED status. | Topic: ecomm | price.project.updated | false | PriceSubmittedProject |
6 | Project Opened or Reopened | This event is triggered when a project is updated to OPEN status. | Topic: ecomm | price.project.updated | false | PriceSubmittedProject |
Payload Model
PriceSubmittedProject
PROPERTY | TYPE | DESCRIPTION | EXAMPLE |
---|---|---|---|
createdBy | integer | Indicates the ID of the user, who has created the project. | 1 |
updatedBy | integer | Indicates the ID of the user, who has updated the project. | 1 |
id | string | Indicates the unique valid ID of the project. | 1 |
priceListId | string | Indicates the unique valid ID of the pricelist. | 1 |
name | string | Specifies the name of the project. | Price Name |
status | string | Specifies the status of the project, such as OPEN, SUBMITTED, APPROVAL_IN_PROGRESS, APPROVAL_FAILED, APPROVED, DENIED, and DELETED. | APPROVED |
description | string | Denotes the description of the project. | Price Description is approved. |
targetCompletionDate | Date | Indicates the target completion date and time of the project, which is added by a user with appropriate privileges. | 2019-07-28T19:38:11.11+05:30 |
actualCompletionDate | Date | Indicates the actual completion date and time of the project, which is added by a user with appropriate privileges. | 2019-07-28T19:38:11.11+05:30 |
Revision History
2019-06-10 | PLK – Minor copyedits.
2019-05-20 | JP – Uploaded to a new table tool.
2019-04-05 | AN – Content updated for April 2019 release.
2019-01-23 | PLK – Page added and content uploaded.