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

<back to all web services

GetUser

HTTP + XML

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

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

<GetUser 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>
  <UserID>0</UserID>
</GetUser>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetUserResponse 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>
  <User xmlns:d2p1="http://schemas.datacontract.org/2004/07/Guide.WebService.ServiceModel">
    <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:CDR_Msisdn>String</d2p1:CDR_Msisdn>
    <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:OwnerId>0</d2p1:OwnerId>
    <d2p1:OwnerName>String</d2p1:OwnerName>
    <d2p1:ParentName>String</d2p1:ParentName>
    <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:ResellerName>String</d2p1:ResellerName>
    <d2p1:ResellerOptions>
      <d2p1:Address>String</d2p1:Address>
      <d2p1:ApplicationName>String</d2p1:ApplicationName>
      <d2p1:CompanyLongName>String</d2p1:CompanyLongName>
      <d2p1:CompanySmallName>String</d2p1:CompanySmallName>
      <d2p1:DoNotCalcSmsCountWithPostfix>false</d2p1:DoNotCalcSmsCountWithPostfix>
      <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:LoginText>String</d2p1:LoginText>
      <d2p1:Logo>String</d2p1:Logo>
      <d2p1:ResellerId>0</d2p1:ResellerId>
      <d2p1:SenderNameForDemo>String</d2p1:SenderNameForDemo>
      <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:EnableIPSecurity>false</d2p1:EnableIPSecurity>
      <d2p1:EnableSmsSendSecurity>false</d2p1:EnableSmsSendSecurity>
      <d2p1:ID>0</d2p1:ID>
      <d2p1:IPAddress>String</d2p1:IPAddress>
      <d2p1:IsApprovalRequired>false</d2p1:IsApprovalRequired>
      <d2p1:LastPasswordChanged i:nil="true" />
      <d2p1:MsisdnForTwoStepLogin>String</d2p1:MsisdnForTwoStepLogin>
      <d2p1:MustChangePassword>false</d2p1:MustChangePassword>
      <d2p1:PackageSizeForApproval>0</d2p1:PackageSizeForApproval>
      <d2p1:ParentUserID>0</d2p1:ParentUserID>
      <d2p1:PasswordChangePeriodByDay>0</d2p1:PasswordChangePeriodByDay>
      <d2p1:PasswordChanged>false</d2p1:PasswordChanged>
      <d2p1:SmsSendLimit>0</d2p1:SmsSendLimit>
      <d2p1:TwoStepLogin>false</d2p1:TwoStepLogin>
      <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>
</GetUserResponse>