Api

<back to all web services

Query

Query gönderilerinizin raporlarını almanızı sağlayan servistir.

Query Parameters:
NameParameterData TypeRequiredDescription
CredentialqueryCredentialNo
MessageIdqueryintNo
MSISDNquerystringNo
PageIndexqueryintNo
PageSizequeryintNo
Credential Parameters:
NameParameterData TypeRequiredDescription
UsernameformstringNo
PasswordformstringNo
QueryResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseformQueryReturnResponseNo
QueryReturnResponse Parameters:
NameParameterData TypeRequiredDescription
ReportDetailformReportDetailNo
StatusformStatusNo
ReportDetail Parameters:
NameParameterData TypeRequiredDescription
TotalCountformintNo
ListformList<ReportDetailItem>No
ReportDetailItem Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
MessageIdformintNo
NetworkformintNo
MSISDNformstringNo
CostformintNo
SubmittedformDateTimeNo
LastUpdatedformDateTimeNo
StateformstringNo
SequenceformintNo
ErrorCodeformintNo
PayloadformstringNo
XserformstringNo
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/Query HTTP/1.1 
Host: gw.mobilisim.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Credential":{"Username":"String","Password":"String"},"MessageId":0,"MSISDN":"String","PageIndex":0,"PageSize":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Response":{"ReportDetail":{"TotalCount":0,"List":[{"Id":0,"MessageId":0,"Network":0,"MSISDN":"String","Cost":0,"Submitted":"0001-01-01T00:00:00.0000000","LastUpdated":"0001-01-01T00:00:00.0000000","State":"String","Sequence":0,"ErrorCode":0,"Payload":"String","Xser":"String"}]},"Status":{"Code":0,"Description":"String"}}}