Professional Documents
Culture Documents
Contents
1.
2.
Pre-Requirements ..................................................................................................................... 3
3.
4.
5.
6.
7.
8.
6.1.
6.2.
7.2
7.3
7.4
7.5
7.6
7.7
7.8
7.9
7.10
7.11
Send short messages on schedule time and with priority (SMS) ..................................... 14
7.12
7.13
7.14
10.
11.
Published Document
2.
Pre-Requirements
Must have API Key to utilize services. A basic knowledge on consuming
SOAP and its services.
Published Document
6.1.
Published Document
6.2.
<smsapi>
<Key>[Key Input Field]</Key>
<Value>[Result Value]</Value>
<Code>[Result code]</Code>
<Desc>[Result description]</Desc>
</smsapi>
7.1
Objective
Method
GetApiKey
Parameters
Username
Password
Published Document
EDS API Packet. The value key consists of API Key in case of
valid. Error code in case of invalid. The code tag contains 0 or
error code (zero for success). Desc tag consists of Success or
error description.
7.2
Objective
Method
GetBalanceCredits
Parameter
Apikey as string
Return
EDS API Packet. The value tag contains balance credits in case
of valid API Key. Error code in case of invalid. The code tag
contains 0 or error code (zero for success). Desc tag consists
of Success or error description.
Published Document
7.3
Objective
Method
GetCreditsExpiryTime
Parameter
Apikey as string
Return
EDS API Packet. The value tag consists of credits expiry date
and time in case of valid API Key. Error code in case of
invalid. The code tag contains 0 or error code (zero for
success). Desc tag consists of Success or error description.
7.4
Objective
Published Document
GetMesgTypes
Parameter
Apikey as string
Return
7.5
<smsapi>
<Key>English</Key>
<Value>0</Value>
<Code>0</Code>
<Desc>Success</Desc>
</smsapi>
<smsapi>
<Key>Arabic</Key>
<Value>8</Value>
<Code>0</Code>
<Desc>Success</Desc>
</smsapi>
Objective
Method
GetUserExpiryTime
Parameter
Apikey as string
Published Document
7.6
Return EDS API Packet. The value tag contains user expiry
date and time in case of valid. Error code in case of invalid.
The code tag contains 0 or error code (zero for success).
Desc tag consists of Success or error description.
<smsapi>
<Key>user1</Key>
<Value>2015-12-31T22:40:50</Value>
<Code>0</Code>
<Desc>Success</Desc>
</smsapi>
Objective
Method
GetSenderIds
Parameter
Apikey as string
Return
Returns EDS API packet. The result may have multiple smsapi
nodes. The Value tag contains registered Sender ID in case of
valid. Error code in case of invalid. The code tag contains 0 or
error code (zero for success). Desc tag consists of Success or
error description.
Published Document
7.7
Objective
Method
SendTextSMS
Parameter
apikey
msg
Msgtype
Sid
Mobiles
Published Document
Return
Return EDS
API Packet
(Sample)
Returns EDS API packet. The packet may have multiple smsapi
nodes based on mobiles parameter. The key tag contains
mobile number. The Value tag consists of ESME response or
reference of the submit message in case of valid (Always
numeric string value of positive). In case of invalid the value
tag contains an error reference. The error reference is always
in negative numeric value. The code contains 0 for success or
respective error code in case of error. The Desc contains
success for code value 0 and in case of error it displays the
error description based on the code.
<smsapi>
<Key>971566721834</Key>
<Value>31325950273</Value>
<Code>0</Code>
<Desc>Success</Desc>
</smsapi>
<smsapi>
<Key>971506514467</Key>
<Value>31325950274</Value>
<Code>0</Code>
<Desc>Success</Desc>
</smsapi>
<smsapi>
<Key>97150</Key>
<Value>-204</Value>
<Code>-204</Code>
<Desc>Invalid mobile number</Desc>
</smsapi>
Published Document
Points to
ponder
7.8
<smsapi>
<Key>user1</Key>
<Value>-116</Value>
<Code>-116</Code>
<Desc>Invalid SenderID </Desc>
</smsapi>
Objective
Method
CalTextSmsCount
Parameter
Apikey
msg
Return
EDS API Packet. The value tag consists of sms count in case of
valid API Key and Error code in case of invalid. The code tag
contains 0 or error code (zero for success). Desc tag consists
of Success or error description.
Published Document
7.9
Objective
Method
GetUserAllowedPrefixes
Parameter
Apikey as string
Return
Returns EDS API Packet. In case of valid API Key, the Key tag
contains country Name and value tag consists of country
code. In case of invalid, both tags consists of Error code. The
code tag contains 0 or error code (zero for success). Desc tag
consists of Success or error description.
Published Document
7.10
Objective
Method
GetErrorCodes
Parameter
Apikey as string
Return
Returns EDS API Packet. The Key tag contains error code,
Value tag contains error description in case of valid API Key.
Error code in case of invalid. The code tag contains 0 or error
code (zero for success). Desc tag consists of Success or error
description.
7.11
Objective
Method
PushTextSMS
Parameter
apikey
msg
Msgtype
Published Document
Return
Return EDS
API Packet
(Sample)
Sid
Mobiles
Dlr
schedule
priority
Returns EDS API packet. The packet may have multiple smsapi
nodes based on mobiles parameter. The key tag contains
mobile number. The Value tag consists of ESME response or
reference of the submit message in case of valid (Always
numeric string value of positive). In case of invalid the value
tag contains an error reference. The error reference is always
in negative numeric value. The code contains 0 for success or
respective error code in case of error. The Desc contains
success for code value 0 and in case of error it displays the
error description based on the code.
<smsapi>
<Key>971566721834</Key>
Published Document
On Error, EDS
API Packet
(Sample)
Points to
ponder
<smsapi>
<Key>user1</Key>
<Value>-116</Value>
<Code>-116</Code>
<Desc>Invalid SenderID </Desc>
</smsapi>
Published Document
7.12
Objective
Method
Parameter
apikey
msg
Msgtype
Sid
Mobiles
Dlr
schedule
Return
Returns EDS API packet. The packet may have multiple smsapi
nodes based on mobiles parameter. The key tag contains
mobile number. The Value tag consists of ESME response or
reference of the submit message in case of valid (Always
numeric string value of positive). In case of invalid the value
Published Document
On Error, EDS
API Packet
(Sample)
<smsapi>
<Key>971566721834</Key>
<Value>31325950273</Value>
<Code>0</Code>
<Desc>Success</Desc>
</smsapi>
<smsapi>
<Key>971506514467</Key>
<Value>31325950274</Value>
<Code>0</Code>
<Desc>Success</Desc>
</smsapi>
<smsapi>
<Key>97150</Key>
<Value>-204</Value>
<Code>-204</Code>
<Desc>Invalid mobile number</Desc>
</smsapi>
<smsapi>
<Key>user1</Key>
<Value>-116</Value>
<Code>-116</Code>
<Desc>Invalid SenderID </Desc>
</smsapi>
Published Document
7.13
Objective
Method
Parameter
apikey
msg
Msgtype
Sid
Mobiles
Published Document
Return
Return EDS
API Packet
(Sample)
Dlr
priority
Returns EDS API packet. The packet may have multiple smsapi
nodes based on mobiles parameter. The key tag contains
mobile number. The Value tag consists of ESME response or
reference of the submit message in case of valid (Always
numeric string value of positive). In case of invalid the value
tag contains an error reference. The error reference is always
in negative numeric value. The code contains 0 for success or
respective error code in case of error. The Desc contains
success for code value 0 and in case of error it displays the
error description based on the code.
<smsapi>
<Key>971566721834</Key>
<Value>31325950273</Value>
<Code>0</Code>
<Desc>Success</Desc>
</smsapi>
<smsapi>
<Key>971506514467</Key>
<Value>31325950274</Value>
<Code>0</Code>
<Desc>Success</Desc>
</smsapi>
<smsapi>
<Key>97150</Key>
<Value>-204</Value>
Published Document
On Error, EDS
API Packet
(Sample)
Points to
ponder
7.14
<smsapi>
<Key>user1</Key>
<Value>-116</Value>
<Code>-116</Code>
<Desc>Invalid SenderID </Desc>
</smsapi>
Objective
Method
Parameter
Apikey as string
Return
Published Document
<smsapi>
<Key>32011403364458</key>
<Status>DELIVRD</Status>
<Time>2014-01-19T05:22:33:560</Time>
<Code>0</Code>
<Desc>Success</Desc>
</smsapi>
<smsapi>
<Key>user1</Key>
<Value>-146</Value>
<Code>-146</Code>
<Desc>No Pending Delivery Reports Found</Desc>
</smsapi>
Objective
Method
http://api.edsfze.com/http/sendsms.aspx
Parameter
apikey
msg
Published Document
Sid
Mobiles
Dlr
Return
Returns EDS SMS API packet. The packet may have multiple
smsapi nodes based on mobiles parameter. The key tag
contains mobile number. The Value tag consists of ESME
response or reference of the submit message in case of valid
(Always numeric string value of positive). In case of invalid the
value tag contains an error reference. The error reference is
always in negative numeric value. The code contains 0 for
success or respective error code in case of error. The Desc
contains success for code value 0 and in case of error it
displays the error description based on the code.
Return EDS
SMS API
Packet
(Sample)
Like: mobilenumber-responseid-status
On Error, EDS
SMS API
Packet
(Sample)
Ex: 971xxxxxxxxx-62111001101855-Success
Published Document
Published Document
Result Code
Result Description
-101
-102
-103
-104
-105
-106
-107
-108
-109
-110
-111
-112
-113
-114
-115
-116
Invalid sender id
-117
-118
-119
Published Document
No Routes Found
-121
-122
-123
-124
-125
-126
-127
-128
-129
-130
-131
-132
-133
-134
-135
-136
-137
-138
-139
-140
-141
-142
Published Document
-144
-145
-146
-147
-148
-149
-150
-201
Spam message.
-202
-203
-204
-205
-206
Package expired.
-207
-208
Credits expired.
-209
-210
-211
-212
Blocked Recipient
-213
Reject Recipient
-301
Insufficient Credits
Published Document
Rejected Mobile
-303
Submit fail
End of Document
Published Document