Skip to content

Instantly share code, notes, and snippets.

@expressmailing
Created November 23, 2017 16:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save expressmailing/768ed3400b298810b401d11d77cb6d01 to your computer and use it in GitHub Desktop.
Save expressmailing/768ed3400b298810b401d11d77cb6d01 to your computer and use it in GitHub Desktop.
Exemple de notifications
<?xml version="1.0" encoding="utf-8"?>
<response>
<notifications status="ok" position="17694933">
<notification id-notifcation="17694930">
<status>PROGRESS</status>
<date>02/03/2017 09:19:27</date>
<state-desc>RAS</state-desc>
<sms-state>0</sms-state>
<ref_target>uniq-sms-id-12</ref_target>
<ref_group>Campagne SMS Test</ref_group>
<target>+33 600000000</target>
</notification>
<notification id-notifcation="17694931">
<status>SUCCESS</status>
<date>02/03/2017 09:19:27</date>
<state_desc>NoError</state_desc>
<fax_state>0</fax_state>
<ref_target>uniq-fax-id-18</ref_target>
<ref_group>Campagne FAX Test</ref_group>
<target>+33 100000000</target>
<duration>103</duration>
<pages>5</pages>
<transmited_pages>5 </transmited_pages>
</notification>
<notification id-notifcation="17694932">
<status>CANCEL</status>
<date>02/03/2017 09:19:27</date>
<state_desc>EcoFaxBlackListNumber </state_desc>
<fax_state>201</fax_state>
<ref_target>uniq-fax-id-14</ref_target>
<ref_group>Campagne FAX Test</ref_group>
<target>+33 100000000</target>
<duration>103</duration>
<pages>5</pages>
<transmited_pages>0 </transmited_pages>
</notification>
<notification id-notifcation="17694933">
<status>ERROR</status>
<date>02/03/2017 09:19:27</date>
<state-desc>InvalidNumber</state-desc>
<fax_state>127</fax_state>
<ref_target>uniq-fax-id-15</ref_target>
<ref_group>FAX Test 1 page</ref_group>
<duration>103</duration>
<target>+33 29999999</target>
<pages>1</pages>
<transmited_pages>0 </transmited_pages>
</notification>
</notifications>
</response>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment