問題文
A property manager notifies a maintenance contractor when a work order is approved. The contractor needs the work order plus its line items and the tenant's contact details, and the notification may be retried, so the contractor must always act on the current state. Which build approach fits?
選択肢
- Send the full work order in one message and let the contractor call back only for the line items and the tenant details, because splitting the payload this way reduces the number of calls the contractor has to make while still giving it everything it needs to schedule the visit.
- Send nothing and let the contractor poll for approved work orders, which puts the contractor in charge of when it reads the current state.
- Send the full work order, its line items and the tenant details in one message so that the contractor never has to call back.
- Send the record identifier and have the contractor call back for the current work order, its lines and the tenant details.