EPHONE Api

Response Description

See:

8.7 SendEx Response

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<Ack xmlns="http://www.ephone.org.il/ws/">
  <TransId>int</TransId>
  <Status>string</Status>
  <Code>int</Code>
  <Description>string</Description>
  <IsOk>boolean</IsOk>
  <Targets>
  <TargetAck />
  <TargetAck />
  </Targets>
</Ack>

 Response (Ok) Sample:

<?xml version="1.0" encoding="utf-8" ?>
  <Ack xmlns="http://www.ephone.org.il/ws/">
    <TransId>119818</TransId>
      <Status>Received</Status>
    <Code>101</Code>
    <Description>Message received</Description>
<Targets count="2" successful="1">
    <To cli="972502169930" opid="3">
    <status code="7"> Delivered
</status>
    </To>
    <To cli="972522169930" opid="1">
    <status code="5"> Failed</status>
    </To>
</Targets>

  </Ack>

Response (Error) Sample:

<?xml version="1.0" encoding="utf-8" ?>
<Ack xmlns="http://www.ephone.org.il/ws/">
    <TransId>0</TransId>
<Status>ArgumentException</Status>
    <Code>3005</Code>
    <Description>Invalid Targets</Description>
  </Ack>