MiniClient
Click here for a complete list of operations.
SendInstantMsgViaHttp
Send instant message VIA http request for a phone number or more. For send arabic message use IsUnique Parameter and set it with true,This function return enum
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /ClientServices/miniclient.asmx HTTP/1.1 Host: softexsmsws.azurewebsites.net Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://smsws.softexsw.info/ClientServices/SendInstantMsgViaHttp" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <SendInstantMsgViaHttp xmlns="http://smsws.softexsw.info/ClientServices/"> <SecStr>string</SecStr> <Email>string</Email> <Password>string</Password> <Msg>string</Msg> <PhoneList>string</PhoneList> <IsUniCode>boolean</IsUniCode> </SendInstantMsgViaHttp> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <SendInstantMsgViaHttpResponse xmlns="http://smsws.softexsw.info/ClientServices/"> <SendInstantMsgViaHttpResult>Error_ or Success or LoginFail or MsgNeedRevision or NoCredit or NoSuccessPhones</SendInstantMsgViaHttpResult> </SendInstantMsgViaHttpResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /ClientServices/miniclient.asmx HTTP/1.1 Host: softexsmsws.azurewebsites.net Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <SendInstantMsgViaHttp xmlns="http://smsws.softexsw.info/ClientServices/"> <SecStr>string</SecStr> <Email>string</Email> <Password>string</Password> <Msg>string</Msg> <PhoneList>string</PhoneList> <IsUniCode>boolean</IsUniCode> </SendInstantMsgViaHttp> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <SendInstantMsgViaHttpResponse xmlns="http://smsws.softexsw.info/ClientServices/"> <SendInstantMsgViaHttpResult>Error_ or Success or LoginFail or MsgNeedRevision or NoCredit or NoSuccessPhones</SendInstantMsgViaHttpResult> </SendInstantMsgViaHttpResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /ClientServices/miniclient.asmx/SendInstantMsgViaHttp?SecStr=string&Email=string&Password=string&Msg=string&PhoneList=string&IsUniCode=string HTTP/1.1 Host: softexsmsws.azurewebsites.net
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <EnumMiniClientStatus xmlns="http://smsws.softexsw.info/ClientServices/">Error_ or Success or LoginFail or MsgNeedRevision or NoCredit or NoSuccessPhones</EnumMiniClientStatus>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /ClientServices/miniclient.asmx/SendInstantMsgViaHttp HTTP/1.1 Host: softexsmsws.azurewebsites.net Content-Type: application/x-www-form-urlencoded Content-Length: length SecStr=string&Email=string&Password=string&Msg=string&PhoneList=string&IsUniCode=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <EnumMiniClientStatus xmlns="http://smsws.softexsw.info/ClientServices/">Error_ or Success or LoginFail or MsgNeedRevision or NoCredit or NoSuccessPhones</EnumMiniClientStatus>