Status queries
Query message status by JobID or time range and interpret status codes.
Use Api/State to query the current status of a specific message or a time range.
Query a specific message
Send the original job with a JobID.
Endpoint: Api/State
UserName
Username
Password
Password
JobID
Unique identifier from the original job
Example:
/Api/State?Username=xxx&Password=yyy&JobID=1234ABCDQuery a time range
Endpoint: Api/State
UserName
Username
Password
Password
StartDate
Start date and time of the original jobs in ISO 8601 format
EndDate
End date and time of the original jobs in ISO 8601 format
Without a timezone, the interface uses the local eCall timezone.
If the result contains more than 1000 status objects, the service returns HTTP 400 Bad Request with eCall result code 11701.
Example:
Response structure
The response is XML. Multiple statuses are wrapped in <Statuses>.
Status codes — SMS and pager
-1
Unknown
Status is unknown
99
Scheduled
Scheduled message
0
Transmitting
Sending in progress
1
Ok
Sent successfully
3
Waiting for result
Sending and waiting for status confirmation
8
Ok (confirmed)
Sent successfully with delivery confirmation
9
Ok (waiting for confirmation)
Sent successfully and awaiting confirmation
10
Ok (not confirmed)
Sent successfully without confirmation
71
Not accepted by gateway
No job accepted message from the gateway
1000
Disconnected
Connection dropped
1001
Timeout
Message could not be sent successfully
3020
Connection refused
Remote host refused the connection
5111
Text too long
Message text is too long
5112
Invalid number
Invalid phone number
5120
Message invalid
Destination is tone-only and does not accept messages
5121
Invalid char in number
Destination number contains an invalid character
5155
Too much traffic
Network congestion
5164
Call system troubled
All paging zones are disrupted or overloaded
5502
Syntax error
Provider returned a syntax error
5504
Too many messages
Maximum message count for the address was exceeded
5506
ADC invalid
Analog-to-digital converter invalid
5509
Invalid number
Invalid phone number
5510
Too many messages for same receiver
Too many messages to the same recipient
5511
Too many messages with same content for same receiver
Duplicate high-volume content to the same recipient
5512
Duplicate job id
The sender already used this JobID
5513
Exists in the blacklist
Callback, address, or message content is blocked
5514
Blocked by out-bound filter rule
Outgoing filter rules blocked the message
9020
Destination country not whitelisted
The destination country is not whitelisted for this account.
9021
Too many messages to this country
The daily limit for the destination country in the account’s settings has been exceeded. The country is blocked.
Status codes — voice
30
Transmitting
Voice message is being transferred
31
Ok
Voice message transferred successfully
32
Failed
Error while transferring the voice message
33
Played
Voice message played successfully
34
Played with feedback
Voice message played and a reply was received
35
Invalid number
Invalid phone number
36
Played with receipt
Voice message played with confirmation
37
Connection timed out
No connection within the defined time period
38
In progress
Recipient is being called
39
Next try in 15 min
Recipient could not be reached
Status codes — fax
41
Ok
Fax transmitted successfully
43
Waiting
Transmission is waiting
44
New job
Job was created
101
Applied
Job group submitted to the gateway
201
Started converting
Document conversion started
202
Finished converting
Individual file converted
301
Started merging
Document merge started
401
Processing
Transmission started
402
Finished processing job
Individual job completed
501
Finished processing job group
Entire job group completed
5513
Exists in the blacklist
Callback, address, or message content is blocked
6000
Unknown error
Unknown error
6002
Conversion error
Error while converting documents
6004
No response
Aborted because there was no answer
6005
Empty job
Nothing to send. No JobID was created
6006
Line busy
Busy
6007
Rejected
Rejected
6009
Unknown number
Unknown number
6010
Invalid number
Invalid number
6011
Number changed
Number changed
6013
No fax device
Remote side is not a fax machine
6014
Disconnected by sender
Connection dropped by sender
6015
Disconnected by receiver
Connection dropped by recipient
6016
File format not supported
File format is not supported
6017
File access failed
File access failed
6900
Ok (not confirmed)
Fax sent, but the connection did not close cleanly
Last updated
Was this helpful?
