Sms Api v.2MainLite ApiLite Api(Ext)ProxyTavsiye edilen format: JSON

<back to all web services

GetOtpSmsAccount

HTTP + XML

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

POST /xml/syncreply/GetOtpSmsAccount HTTP/1.1 
Host: api.ekomesaj.com 
Content-Type: application/xml
Content-Length: length

<GetOtpSmsAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Guide.Api.Contract">
  <Credential xmlns:d2p1="http://schemas.datacontract.org/2004/07/Guide.WebService.ServiceModel" xmlns="http://schemas.datacontract.org/2004/07/Guide.Api.Contract.Base">
    <d2p1:Password>String</d2p1:Password>
    <d2p1:ResellerID>0</d2p1:ResellerID>
    <d2p1:Username>String</d2p1:Username>
  </Credential>
  <Id>0</Id>
</GetOtpSmsAccount>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetOtpSmsAccountResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Guide.Api.Contract">
  <Status xmlns:d2p1="http://schemas.datacontract.org/2004/07/Guide.WebService.ServiceModel" xmlns="http://schemas.datacontract.org/2004/07/Guide.Api.Contract.Base">
    <d2p1:Code>0</d2p1:Code>
    <d2p1:Description>String</d2p1:Description>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:TransactionID>String</d2p1:TransactionID>
  </Status>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Guide.WebService.ServiceModel">
    <d2p1:CreateDate>0001-01-01T00:00:00</d2p1:CreateDate>
    <d2p1:GwPassword>String</d2p1:GwPassword>
    <d2p1:GwUsername>String</d2p1:GwUsername>
    <d2p1:Id>0</d2p1:Id>
    <d2p1:OwnerUserName>String</d2p1:OwnerUserName>
    <d2p1:ResellerUserName>String</d2p1:ResellerUserName>
    <d2p1:Sender>String</d2p1:Sender>
    <d2p1:UserId>0</d2p1:UserId>
    <d2p1:UserName>String</d2p1:UserName>
  </Data>
</GetOtpSmsAccountResponse>