Question: Define JSON request payloads for every use case and the expected JSON responses for the following: Use Case 1 : Freeze byer account Participating actor:

Define JSON request payloads for every use case and the expected JSON responses for the following: Use Case1: Freeze byer account
Participating actor: Admin & Buyer
Entry Condition: Buyer has an active account
Exit Criteria: Buyer account is frozen, and the buyer can only log in by request unfreezing.
Flow of events:
1. Admin logs into the system.
2. Admin select buyer account and froze the buyers account
3. System updates buyer account status to frozen.
4. Buyer receives notification that account has been frozen
Use Case2: Unfreeze buyer Account
Participating actor: Admin & Buyer
Entry condition: Buyer account is frozen
Exit Criteria: Buyer account is active and can access account again
Flow of events:
1. Buyer tries login to the account and requests for unfreezing account.
2. Admin go to buyers account management and unfreeze it.
3. System updates buyers account to active.
Use Case 3: Freeze Seller Account
Participating actor: Admin & Seller
Entry condition: Seller account exists and is active
Exit Criteria: Seller account is frozen, and seller can only log in to request unfreezing.
Flow of events:
1. Admin navigate to seller account management section and select seller account to frozen
2. System updates the seller account to status frozen
3. Seller receives a notification that account has been frozen
Use Case 4: Unfreeze Seller Account
Participating actor: Admin & Seller
Entry condition: seller account is frozen
Exit Criteria: Seller account is restored to active again
Flow of events:
1. Admin select seller account and change status to active
2. System updates seller account to status active
3. Seller receive a notification that account is active
Use Case 5: Freeze Item
Participating actor: Admin
Entry condition: Item is currently on sale
Exit Criteria: Item is frozen, and no new bids can be placed
Flow of events:
1. Admin navigates to item management section and change the item to frozen
2. System updates the item status to frozen
3. Item cannot receive new bids
4.
Use Case 6: Unfreeze Item
Participating actor: Admin
Entry condition: Item is frozen
Exit Criteria: Item is on sale again and can receive new bids again
Flow of events:
1. Admin navigate to item management section and change item status to unfreeze
2. System updates the item status to active.
Use Case 7: Generate Auction Report
Participating actor: Admin

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!