Api

<back to all web services

GetSenders

GetSenders Parameters:
NameParameterData TypeRequiredDescription
CredentialqueryCredentialNo
Credential Parameters:
NameParameterData TypeRequiredDescription
UsernameformstringNo
PasswordformstringNo
GetSendersResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseformGetSendersReturnResponseNo
GetSendersReturnResponse Parameters:
NameParameterData TypeRequiredDescription
SendersformList<Sender>No
StatusformStatusNo
Sender Parameters:
NameParameterData TypeRequiredDescription
ValueformstringNo
DefaultformboolNo
Status Parameters:
NameParameterData TypeRequiredDescription
CodeformintNo
DescriptionformstringNo

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

HTTP + XML

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

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

<GetSenders xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.maradit.net/api/types">
  <Credential>
    <Password>String</Password>
    <Username>String</Username>
  </Credential>
</GetSenders>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetSendersResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.maradit.net/api/types">
  <Response>
    <Senders>
      <Sender>
        <Default>false</Default>
        <Value>String</Value>
      </Sender>
    </Senders>
    <Status>
      <Code>0</Code>
      <Description>String</Description>
    </Status>
  </Response>
</GetSendersResponse>