Api

<back to all web services

SubmitMulti

SubmitMulti metodu birden fazla numaraya farklı içerikli kısa mesaj gönderimi için kullanılmaktadır.

SubmitMulti Parameters:
NameParameterData TypeRequiredDescription
CredentialqueryCredentialNo
HeaderqueryHeaderNo
EnvelopesqueryList<Envelope>No
DataCodingquerystringNo
CommercialqueryboolNo
RecipientTypequeryintNo
SkipAhsqueryboolNo
CustomIdquerystringNo
Credential Parameters:
NameParameterData TypeRequiredDescription
UsernameformstringNo
PasswordformstringNo
Header Parameters:
NameParameterData TypeRequiredDescription
FromformstringNo
ValidityPeriodformint?No
ScheduledDeliveryTimeformDateTime?No
RouteformintNo
Envelope Parameters:
NameParameterData TypeRequiredDescription
MessageformstringNo
ToformstringNo
SubmitMultiResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseformSubmitMultiReturnResponseNo
SubmitMultiReturnResponse Parameters:
NameParameterData TypeRequiredDescription
MessageIdformlongNo
StatusformStatusNo
Status Parameters:
NameParameterData TypeRequiredDescription
CodeformintNo
DescriptionformstringNo

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

HTTP + SOAP11

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

POST /soap11 HTTP/1.1 
Host: gw.mobilisim.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: SubmitMulti

<?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>

<SubmitMulti xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.maradit.net/api/types">
  <Commercial>false</Commercial>
  <Credential>
    <Password>String</Password>
    <Username>String</Username>
  </Credential>
  <CustomId>String</CustomId>
  <DataCoding>String</DataCoding>
  <Envelopes>
    <Envelope>
      <Message>String</Message>
      <To>String</To>
    </Envelope>
  </Envelopes>
  <Header>
    <From>String</From>
    <Route>0</Route>
    <ScheduledDeliveryTime>0001-01-01T00:00:00</ScheduledDeliveryTime>
    <ValidityPeriod>0</ValidityPeriod>
  </Header>
  <RecipientType>0</RecipientType>
  <SkipAhs>false</SkipAhs>
</SubmitMulti>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
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>

<SubmitMultiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.maradit.net/api/types">
  <Response>
    <MessageId>0</MessageId>
    <Status>
      <Code>0</Code>
      <Description>String</Description>
    </Status>
  </Response>
</SubmitMultiResponse>

    </soap:Body>
</soap:Envelope>