The message_reason property is included in the Feed Opportunities (formally OTS Opportunities) subscription message model. The property describes the reason a supplier is receiving a particular message about any given survey. There are four possible reason values returned by this property. Each value should be handled by your system differently. Below each value and how it should be handled is described:
Value | Description | Required action |
|---|---|---|
New | A new survey has become available to the supplier. This value will only be used when the supplier receives a message about a particular survey for the first time. | Add survey to your list of active surveys. |
Updated | Changes have been made to a survey previously made available to a supplier. This value will be used any time a change to a survey occurs and the survey remains viable. | Update previous data for the survey with the new data found in this message. |
Deactivated |
| Remove survey from your list of active surveys |
Reactivated | A previously deactivated survey has been updated and is now viable again. | Add survey back to your list of active surveys |