Order Event: message_status_change
Response Parameters for message_status_change (order event)
If the request is successful, the attributes associative array may include the
following:
Parameter name | Obligation | Definition/Value |
---|---|---|
message_status | Always returned | The updated status of the message. Possible values are: Queued Sent * Bounced |
message_type | Always returned | The type of message. |
reference_id | Always returned | The unique message ID. |
Example Response for message_status_change (order event)
<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
<header>
<version>0.9</version>
</header>
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="object">EVENT</item>
<item key="response_code">200</item>
<item key="is_success">1</item>
<item key="response_text">Command successful</item>
<item key="transaction_id">2016-12-02 15:24:56 10026 101</item>
<item key="action">REPLY</item>
<item key="attributes">
<dt_assoc>
<item key="events">
<dt_array>
<item key="0">
<dt_assoc>
<item key="object_data">
<dt_assoc>
<item key="domain_name">somedomain.com</item>
<item key="message_type">enduser.icann.trade.new.registrant.approval</item>
<item key="domain_id">310499</item>
<item key="message_status">QUEUED</item>
<item key="reference_id">7814e71bb27b751a33bd79555c08e7546b70ce9b4156cbdea8284864b01733cd104a36e1</item>
<item key="to_address">[email protected]</item>
</dt_assoc>
</item>
<item key="object">DOMAIN</item>
<item key="event_id">d417c52e31e3ff537a034e982546b64f</item>
<item key="event">MESSAGE_STATUS_CHANGE</item>
<item key="event_date">2016-12-02T20:24:27Z</item>
</dt_assoc>
</item>
</dt_array>
</item>
<item key="total">1</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
Updated about 2 years ago