Api

<back to all web services

Account

HTTP + SOAP11

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

POST /xml/syncreply/Account HTTP/1.1 
Host: api2.ekomesaj.com 
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>

<Account xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ekomesaj.Operations">
  <Credential xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ekomesaj.Types">
    <d2p1:Password>String</d2p1:Password>
    <d2p1:ResellerID>0</d2p1:ResellerID>
    <d2p1:Username>String</d2p1:Username>
  </Credential>
</Account>

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

<AccountResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ekomesaj.Operations">
  <Status xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ekomesaj.Types">
    <d2p1:Code>0</d2p1:Code>
    <d2p1:Description>String</d2p1:Description>
    <d2p1:Message>String</d2p1:Message>
  </Status>
  <User xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ekomesaj.Types">
    <d2p1:ActiveFields>String</d2p1:ActiveFields>
    <d2p1:Address>String</d2p1:Address>
    <d2p1:AllPermissions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </d2p1:AllPermissions>
    <d2p1:AvailableDuration>0</d2p1:AvailableDuration>
    <d2p1:City>String</d2p1:City>
    <d2p1:ClientPassword>String</d2p1:ClientPassword>
    <d2p1:ClientUser>String</d2p1:ClientUser>
    <d2p1:ContractStatus>0</d2p1:ContractStatus>
    <d2p1:Country>String</d2p1:Country>
    <d2p1:CreateDate i:nil="true" />
    <d2p1:CreateUserID i:nil="true" />
    <d2p1:Credit>0</d2p1:Credit>
    <d2p1:CurrentBalance>0</d2p1:CurrentBalance>
    <d2p1:DeleteDate i:nil="true" />
    <d2p1:DeleteUserID i:nil="true" />
    <d2p1:Email>String</d2p1:Email>
    <d2p1:Firstname>String</d2p1:Firstname>
    <d2p1:GwType>0</d2p1:GwType>
    <d2p1:ID>0</d2p1:ID>
    <d2p1:IdentityNumber>String</d2p1:IdentityNumber>
    <d2p1:InvoiceType>0</d2p1:InvoiceType>
    <d2p1:IsActive>false</d2p1:IsActive>
    <d2p1:IsDeleted>false</d2p1:IsDeleted>
    <d2p1:IsIncludeDuplicateMsisdn>false</d2p1:IsIncludeDuplicateMsisdn>
    <d2p1:IsMessageEndRequired>false</d2p1:IsMessageEndRequired>
    <d2p1:Lastname>String</d2p1:Lastname>
    <d2p1:Msisdn>0</d2p1:Msisdn>
    <d2p1:ParentUserId>0</d2p1:ParentUserId>
    <d2p1:Password>String</d2p1:Password>
    <d2p1:Permissions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </d2p1:Permissions>
    <d2p1:PromotionLimit i:nil="true" />
    <d2p1:ResellerId>0</d2p1:ResellerId>
    <d2p1:ResellerOptions>
      <d2p1:ApplicationName>String</d2p1:ApplicationName>
      <d2p1:CompanyLongName>String</d2p1:CompanyLongName>
      <d2p1:CompanySmallName>String</d2p1:CompanySmallName>
      <d2p1:Favicon>String</d2p1:Favicon>
      <d2p1:Hostname>String</d2p1:Hostname>
      <d2p1:HubUrl>String</d2p1:HubUrl>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:IsActive>false</d2p1:IsActive>
      <d2p1:Logo>String</d2p1:Logo>
      <d2p1:ResellerId>0</d2p1:ResellerId>
      <d2p1:SenderNameForDemo>String</d2p1:SenderNameForDemo>
      <d2p1:SiteFullUrl>String</d2p1:SiteFullUrl>
      <d2p1:ThemeName>String</d2p1:ThemeName>
      <d2p1:Title>String</d2p1:Title>
      <d2p1:VirtualPOS>String</d2p1:VirtualPOS>
    </d2p1:ResellerOptions>
    <d2p1:Roles xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </d2p1:Roles>
    <d2p1:Settings>
      <d2p1:CanNotSeeCredit>false</d2p1:CanNotSeeCredit>
      <d2p1:ID>0</d2p1:ID>
      <d2p1:IsApprovalRequired>false</d2p1:IsApprovalRequired>
      <d2p1:PackageSizeForApproval>0</d2p1:PackageSizeForApproval>
      <d2p1:ParentUserID>0</d2p1:ParentUserID>
      <d2p1:UserID>0</d2p1:UserID>
    </d2p1:Settings>
    <d2p1:SipPhone>false</d2p1:SipPhone>
    <d2p1:SmsPassword>String</d2p1:SmsPassword>
    <d2p1:SmsUsername>String</d2p1:SmsUsername>
    <d2p1:TelesaxNumber i:nil="true" />
    <d2p1:TelesaxPassword>String</d2p1:TelesaxPassword>
    <d2p1:TelesaxUsername>String</d2p1:TelesaxUsername>
    <d2p1:UpdateDate i:nil="true" />
    <d2p1:UpdateUserID i:nil="true" />
    <d2p1:UseSelfSmsAccount>false</d2p1:UseSelfSmsAccount>
    <d2p1:UserType>0</d2p1:UserType>
    <d2p1:Username>String</d2p1:Username>
    <d2p1:VirtualPOS>String</d2p1:VirtualPOS>
  </User>
</AccountResponse>

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