Api

<back to all web services

QueryMulti

QueryMulti paket raporlarınızı tarih aralığına göre almanızı sağlar.

QueryMulti Parameters:
NameParameterData TypeRequiredDescription
CredentialqueryCredentialNo
MessageIdqueryintNo
RangequeryRangeNo
PageIndexqueryintNo
PageSizequeryintNo
Credential Parameters:
NameParameterData TypeRequiredDescription
UsernameformstringNo
PasswordformstringNo
Range Parameters:
NameParameterData TypeRequiredDescription
BeginformDateTimeNo
EndformDateTimeNo
QueryMultiResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseformQueryMultiReturnResponseNo
QueryMultiReturnResponse Parameters:
NameParameterData TypeRequiredDescription
ReportformMultiQueryReportNo
StatusformStatusNo
MultiQueryReport Parameters:
NameParameterData TypeRequiredDescription
TotalCountformintNo
ListformList<ReportItem>No
ReportItem Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
ReceivedformDateTimeNo
SentformDateTimeNo
StateformstringNo
SenderformstringNo
CostformintNo
MessageformstringNo
CodingformstringNo
DeliveredCountformintNo
CountformintNo
UndeliveredCountformintNo
Status Parameters:
NameParameterData TypeRequiredDescription
CodeformintNo
DescriptionformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/QueryMulti HTTP/1.1 
Host: gw.mobilisim.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Credential":{"Username":"String","Password":"String"},"MessageId":0,"Range":{"Begin":"0001-01-01T00:00:00.0000000","End":"0001-01-01T00:00:00.0000000"},"PageIndex":0,"PageSize":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Response":{"Report":{"TotalCount":0,"List":[{"Id":0,"Received":"0001-01-01T00:00:00.0000000","Sent":"0001-01-01T00:00:00.0000000","State":"String","Sender":"String","Cost":0,"Message":"String","Coding":"String","DeliveredCount":0,"Count":0,"UndeliveredCount":0}]},"Status":{"Code":0,"Description":"String"}}}