Message: bet_stop [draft]
This type of message is sent through AMQP service when indicated group of betting offers should change their status to suspended or closed.
Message structure
.message | |
---|---|
id | Unique identifier for the message |
type | bet_stop |
source | Internal attribute, please dont use this attribute |
ut | Information about the date and time of when the message was created. Format UNIX_TIMESTAMP |
..data | |
...bet_stop | |
object_id | Identifier of the object depends on object type, e.g. if you choose an event as an object_type you should use event identificator |
object_type | Possible object type:
|
action | Describes type of operation. For this message type, action attribute always has create value |
betting_offer_ids | List of betting offers identifiers separated by a comma (e.g. 123,234,321). Possibility to input multiple identifiers, separated by comma. If empty value ALL betting offers for specified object_id should be suspended or closed. |
betting_offer_status | The betting offers specified in betting_offer_ids attribute can receive following values:
|