Users
Click here for a complete list of operations.
GetUserByUserID
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /post/Users.asmx HTTP/1.1
Host: api.smsdev.ir
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetUserByUserID"
<?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>
<GetUserByUserID xmlns="http://tempuri.org/">
<username>string</username>
<password>string</password>
<pass>string</pass>
<userId>int</userId>
</GetUserByUserID>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
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>
<GetUserByUserIDResponse xmlns="http://tempuri.org/">
<GetUserByUserIDResult>
<UserId>int</UserId>
<ProductId>int</ProductId>
<TariffId>int</TariffId>
<UserOwner>int</UserOwner>
<UserMaster>int</UserMaster>
<UserStepedMaster>int</UserStepedMaster>
<UserTripleMaster>int</UserTripleMaster>
<ThemeId>int</ThemeId>
<UserType>unsignedByte</UserType>
<SellerId>int</SellerId>
<UserName>string</UserName>
<UserPassword>string</UserPassword>
<FirstName>string</FirstName>
<LastName>string</LastName>
<Corporation>string</Corporation>
<Email>string</Email>
<MobileNumbers>string</MobileNumbers>
<PhoneNumbers>string</PhoneNumbers>
<FaxNumbers>string</FaxNumbers>
<MCIMobile>string</MCIMobile>
<Country>int</Country>
<Province>int</Province>
<City>int</City>
<Address>string</Address>
<RegDate>dateTime</RegDate>
<ExpDate>dateTime</ExpDate>
<ContDate>dateTime</ContDate>
<Credit>double</Credit>
<SendLimit>int</SendLimit>
<DailyLimit>int</DailyLimit>
<DailyRiched>int</DailyRiched>
<SendSpeed>int</SendSpeed>
<UseWebservice>boolean</UseWebservice>
<UseUrl>boolean</UseUrl>
<UseWin>boolean</UseWin>
<Signature>string</Signature>
<Desctiptions>string</Desctiptions>
<Lang>string</Lang>
<DefaultModule>int</DefaultModule>
<DefaultNumber>int</DefaultNumber>
<SubUserCount>int</SubUserCount>
<UserStatus>unsignedByte</UserStatus>
<DailyDate>dateTime</DailyDate>
<LastLogin>dateTime</LastLogin>
<LoginCount>int</LoginCount>
<SuccessCount>int</SuccessCount>
<FailedCount>int</FailedCount>
<RecCount>int</RecCount>
<FixTariff>boolean</FixTariff>
<ExpireAlert>boolean</ExpireAlert>
<CreditAlert>boolean</CreditAlert>
<UseBulkWebservice>boolean</UseBulkWebservice>
<UseBulkCityWebService>boolean</UseBulkCityWebService>
<PaymentType>unsignedByte</PaymentType>
<MaxTicket>int</MaxTicket>
<MaxOrderNumber>int</MaxOrderNumber>
<NeedBulkSubmition>boolean</NeedBulkSubmition>
<NeedPardisSubmition>boolean</NeedPardisSubmition>
<NationalCode>string</NationalCode>
<FileAttached>string</FileAttached>
<HowFindUs>int</HowFindUs>
<UseChargeCard>int</UseChargeCard>
<UseOffCode>int</UseOffCode>
<AccessToBranchs>boolean</AccessToBranchs>
<BulkReport>boolean</BulkReport>
<EnableDelivery>boolean</EnableDelivery>
<NumberPrice>int</NumberPrice>
<PostalCode>string</PostalCode>
<CertificateNumber>string</CertificateNumber>
<IsOnline>boolean</IsOnline>
<UnFilterKeywords>string</UnFilterKeywords>
<AllowSubreseller>boolean</AllowSubreseller>
<FourDigitPwd>string</FourDigitPwd>
<HasContract>boolean</HasContract>
<MoneyBackDelivery>unsignedByte</MoneyBackDelivery>
<Infractions>string</Infractions>
<AllowedIP>string</AllowedIP>
<SendEntryAlert>boolean</SendEntryAlert>
<AllowedTimes>string</AllowedTimes>
<ReferrerWebSite>string</ReferrerWebSite>
<CommercialCode>string</CommercialCode>
<RecommandUserId>int</RecommandUserId>
<UseModulesForFree>boolean</UseModulesForFree>
<HasBeenChanged>boolean</HasBeenChanged>
<Wallet>double</Wallet>
<WebserviceCallCount>int</WebserviceCallCount>
<ActivationDate>dateTime</ActivationDate>
<VipLevel>unsignedByte</VipLevel>
<UserBehavior>string</UserBehavior>
<BirthDate>dateTime</BirthDate>
<ResellerPrice>int</ResellerPrice>
<UseRevival>boolean</UseRevival>
<RevivalPrice>double</RevivalPrice>
<InstallMentPrice>double</InstallMentPrice>
<InstallMent>int</InstallMent>
<isRevival>boolean</isRevival>
<RevivalDiscount>int</RevivalDiscount>
<FirstPrice>double</FirstPrice>
<TestPanel>boolean</TestPanel>
<IsInstallMent>boolean</IsInstallMent>
<IsLagal>boolean</IsLagal>
<FirstContract>boolean</FirstContract>
<CrmCallType>unsignedByte</CrmCallType>
<CrmCallTime>dateTime</CrmCallTime>
<UserProject>boolean</UserProject>
<AccessToCRM>boolean</AccessToCRM>
<IsTestCRM>boolean</IsTestCRM>
<ExpDateCRM>dateTime</ExpDateCRM>
<ActivatePanel>boolean</ActivatePanel>
<CrmProductID>int</CrmProductID>
<CenterID>int</CenterID>
<AllowSubResellerCRM>boolean</AllowSubResellerCRM>
<UnOfficialPayment>boolean</UnOfficialPayment>
<RecommandUsID>string</RecommandUsID>
<Gender>unsignedByte</Gender>
<MinCreditLowAlert>double</MinCreditLowAlert>
<AllowUseShareNumberAPI>boolean</AllowUseShareNumberAPI>
<FatherName>string</FatherName>
<BirthPlace>int</BirthPlace>
<CompanyNationalID>string</CompanyNationalID>
<VerificationCode>string</VerificationCode>
<AllowOtp>boolean</AllowOtp>
<SmsVerificationCode>string</SmsVerificationCode>
<VerificationExpireDate>dateTime</VerificationExpireDate>
<IsMobileVerified>boolean</IsMobileVerified>
<ApiKey>guid</ApiKey>
<PasswordIsWeak>boolean</PasswordIsWeak>
<ApproveBulkSMSByOwner>boolean</ApproveBulkSMSByOwner>
<AllowSendInNight>boolean</AllowSendInNight>
<Avatar>string</Avatar>
<ContractExpAlert>boolean</ContractExpAlert>
<MobileAndNationalIsMatch>boolean</MobileAndNationalIsMatch>
<JwtToken>string</JwtToken>
<AutoAddLaghv>boolean</AutoAddLaghv>
<ActivateTOTPAuthenticator>boolean</ActivateTOTPAuthenticator>
<AuthenticatorSecretKey>string</AuthenticatorSecretKey>
<TokenAiCredit>double</TokenAiCredit>
<AccessToWorkSpace>boolean</AccessToWorkSpace>
<WsTariffID>int</WsTariffID>
<WsAiRuleAccepted>boolean</WsAiRuleAccepted>
<RegFromAiPanel>boolean</RegFromAiPanel>
<FirstUserIpLogin>string</FirstUserIpLogin>
<LatestUserIpLogin>string</LatestUserIpLogin>
<AiProductType>unsignedByte</AiProductType>
<ApiAllowedIP>string</ApiAllowedIP>
<AllowSellAiPanelByReseller>boolean</AllowSellAiPanelByReseller>
<NeedScheduleApprove>boolean</NeedScheduleApprove>
<AllowWithoutApiRateLimition>boolean</AllowWithoutApiRateLimition>
<ApiDailyLimit>int</ApiDailyLimit>
<IpRequirementForAPI>boolean</IpRequirementForAPI>
<ApiKeyRequirementForAPI>boolean</ApiKeyRequirementForAPI>
</GetUserByUserIDResult>
</GetUserByUserIDResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /post/Users.asmx HTTP/1.1
Host: api.smsdev.ir
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetUserByUserID xmlns="http://tempuri.org/">
<username>string</username>
<password>string</password>
<pass>string</pass>
<userId>int</userId>
</GetUserByUserID>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetUserByUserIDResponse xmlns="http://tempuri.org/">
<GetUserByUserIDResult>
<UserId>int</UserId>
<ProductId>int</ProductId>
<TariffId>int</TariffId>
<UserOwner>int</UserOwner>
<UserMaster>int</UserMaster>
<UserStepedMaster>int</UserStepedMaster>
<UserTripleMaster>int</UserTripleMaster>
<ThemeId>int</ThemeId>
<UserType>unsignedByte</UserType>
<SellerId>int</SellerId>
<UserName>string</UserName>
<UserPassword>string</UserPassword>
<FirstName>string</FirstName>
<LastName>string</LastName>
<Corporation>string</Corporation>
<Email>string</Email>
<MobileNumbers>string</MobileNumbers>
<PhoneNumbers>string</PhoneNumbers>
<FaxNumbers>string</FaxNumbers>
<MCIMobile>string</MCIMobile>
<Country>int</Country>
<Province>int</Province>
<City>int</City>
<Address>string</Address>
<RegDate>dateTime</RegDate>
<ExpDate>dateTime</ExpDate>
<ContDate>dateTime</ContDate>
<Credit>double</Credit>
<SendLimit>int</SendLimit>
<DailyLimit>int</DailyLimit>
<DailyRiched>int</DailyRiched>
<SendSpeed>int</SendSpeed>
<UseWebservice>boolean</UseWebservice>
<UseUrl>boolean</UseUrl>
<UseWin>boolean</UseWin>
<Signature>string</Signature>
<Desctiptions>string</Desctiptions>
<Lang>string</Lang>
<DefaultModule>int</DefaultModule>
<DefaultNumber>int</DefaultNumber>
<SubUserCount>int</SubUserCount>
<UserStatus>unsignedByte</UserStatus>
<DailyDate>dateTime</DailyDate>
<LastLogin>dateTime</LastLogin>
<LoginCount>int</LoginCount>
<SuccessCount>int</SuccessCount>
<FailedCount>int</FailedCount>
<RecCount>int</RecCount>
<FixTariff>boolean</FixTariff>
<ExpireAlert>boolean</ExpireAlert>
<CreditAlert>boolean</CreditAlert>
<UseBulkWebservice>boolean</UseBulkWebservice>
<UseBulkCityWebService>boolean</UseBulkCityWebService>
<PaymentType>unsignedByte</PaymentType>
<MaxTicket>int</MaxTicket>
<MaxOrderNumber>int</MaxOrderNumber>
<NeedBulkSubmition>boolean</NeedBulkSubmition>
<NeedPardisSubmition>boolean</NeedPardisSubmition>
<NationalCode>string</NationalCode>
<FileAttached>string</FileAttached>
<HowFindUs>int</HowFindUs>
<UseChargeCard>int</UseChargeCard>
<UseOffCode>int</UseOffCode>
<AccessToBranchs>boolean</AccessToBranchs>
<BulkReport>boolean</BulkReport>
<EnableDelivery>boolean</EnableDelivery>
<NumberPrice>int</NumberPrice>
<PostalCode>string</PostalCode>
<CertificateNumber>string</CertificateNumber>
<IsOnline>boolean</IsOnline>
<UnFilterKeywords>string</UnFilterKeywords>
<AllowSubreseller>boolean</AllowSubreseller>
<FourDigitPwd>string</FourDigitPwd>
<HasContract>boolean</HasContract>
<MoneyBackDelivery>unsignedByte</MoneyBackDelivery>
<Infractions>string</Infractions>
<AllowedIP>string</AllowedIP>
<SendEntryAlert>boolean</SendEntryAlert>
<AllowedTimes>string</AllowedTimes>
<ReferrerWebSite>string</ReferrerWebSite>
<CommercialCode>string</CommercialCode>
<RecommandUserId>int</RecommandUserId>
<UseModulesForFree>boolean</UseModulesForFree>
<HasBeenChanged>boolean</HasBeenChanged>
<Wallet>double</Wallet>
<WebserviceCallCount>int</WebserviceCallCount>
<ActivationDate>dateTime</ActivationDate>
<VipLevel>unsignedByte</VipLevel>
<UserBehavior>string</UserBehavior>
<BirthDate>dateTime</BirthDate>
<ResellerPrice>int</ResellerPrice>
<UseRevival>boolean</UseRevival>
<RevivalPrice>double</RevivalPrice>
<InstallMentPrice>double</InstallMentPrice>
<InstallMent>int</InstallMent>
<isRevival>boolean</isRevival>
<RevivalDiscount>int</RevivalDiscount>
<FirstPrice>double</FirstPrice>
<TestPanel>boolean</TestPanel>
<IsInstallMent>boolean</IsInstallMent>
<IsLagal>boolean</IsLagal>
<FirstContract>boolean</FirstContract>
<CrmCallType>unsignedByte</CrmCallType>
<CrmCallTime>dateTime</CrmCallTime>
<UserProject>boolean</UserProject>
<AccessToCRM>boolean</AccessToCRM>
<IsTestCRM>boolean</IsTestCRM>
<ExpDateCRM>dateTime</ExpDateCRM>
<ActivatePanel>boolean</ActivatePanel>
<CrmProductID>int</CrmProductID>
<CenterID>int</CenterID>
<AllowSubResellerCRM>boolean</AllowSubResellerCRM>
<UnOfficialPayment>boolean</UnOfficialPayment>
<RecommandUsID>string</RecommandUsID>
<Gender>unsignedByte</Gender>
<MinCreditLowAlert>double</MinCreditLowAlert>
<AllowUseShareNumberAPI>boolean</AllowUseShareNumberAPI>
<FatherName>string</FatherName>
<BirthPlace>int</BirthPlace>
<CompanyNationalID>string</CompanyNationalID>
<VerificationCode>string</VerificationCode>
<AllowOtp>boolean</AllowOtp>
<SmsVerificationCode>string</SmsVerificationCode>
<VerificationExpireDate>dateTime</VerificationExpireDate>
<IsMobileVerified>boolean</IsMobileVerified>
<ApiKey>guid</ApiKey>
<PasswordIsWeak>boolean</PasswordIsWeak>
<ApproveBulkSMSByOwner>boolean</ApproveBulkSMSByOwner>
<AllowSendInNight>boolean</AllowSendInNight>
<Avatar>string</Avatar>
<ContractExpAlert>boolean</ContractExpAlert>
<MobileAndNationalIsMatch>boolean</MobileAndNationalIsMatch>
<JwtToken>string</JwtToken>
<AutoAddLaghv>boolean</AutoAddLaghv>
<ActivateTOTPAuthenticator>boolean</ActivateTOTPAuthenticator>
<AuthenticatorSecretKey>string</AuthenticatorSecretKey>
<TokenAiCredit>double</TokenAiCredit>
<AccessToWorkSpace>boolean</AccessToWorkSpace>
<WsTariffID>int</WsTariffID>
<WsAiRuleAccepted>boolean</WsAiRuleAccepted>
<RegFromAiPanel>boolean</RegFromAiPanel>
<FirstUserIpLogin>string</FirstUserIpLogin>
<LatestUserIpLogin>string</LatestUserIpLogin>
<AiProductType>unsignedByte</AiProductType>
<ApiAllowedIP>string</ApiAllowedIP>
<AllowSellAiPanelByReseller>boolean</AllowSellAiPanelByReseller>
<NeedScheduleApprove>boolean</NeedScheduleApprove>
<AllowWithoutApiRateLimition>boolean</AllowWithoutApiRateLimition>
<ApiDailyLimit>int</ApiDailyLimit>
<IpRequirementForAPI>boolean</IpRequirementForAPI>
<ApiKeyRequirementForAPI>boolean</ApiKeyRequirementForAPI>
</GetUserByUserIDResult>
</GetUserByUserIDResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /post/Users.asmx/GetUserByUserID?username=string&password=string&pass=string&userId=string HTTP/1.1 Host: api.smsdev.ir
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <UsersBL xmlns="http://tempuri.org/"> <UserId>int</UserId> <ProductId>int</ProductId> <TariffId>int</TariffId> <UserOwner>int</UserOwner> <UserMaster>int</UserMaster> <UserStepedMaster>int</UserStepedMaster> <UserTripleMaster>int</UserTripleMaster> <ThemeId>int</ThemeId> <UserType>unsignedByte</UserType> <SellerId>int</SellerId> <UserName>string</UserName> <UserPassword>string</UserPassword> <FirstName>string</FirstName> <LastName>string</LastName> <Corporation>string</Corporation> <Email>string</Email> <MobileNumbers>string</MobileNumbers> <PhoneNumbers>string</PhoneNumbers> <FaxNumbers>string</FaxNumbers> <MCIMobile>string</MCIMobile> <Country>int</Country> <Province>int</Province> <City>int</City> <Address>string</Address> <RegDate>dateTime</RegDate> <ExpDate>dateTime</ExpDate> <ContDate>dateTime</ContDate> <Credit>double</Credit> <SendLimit>int</SendLimit> <DailyLimit>int</DailyLimit> <DailyRiched>int</DailyRiched> <SendSpeed>int</SendSpeed> <UseWebservice>boolean</UseWebservice> <UseUrl>boolean</UseUrl> <UseWin>boolean</UseWin> <Signature>string</Signature> <Desctiptions>string</Desctiptions> <Lang>string</Lang> <DefaultModule>int</DefaultModule> <DefaultNumber>int</DefaultNumber> <SubUserCount>int</SubUserCount> <UserStatus>unsignedByte</UserStatus> <DailyDate>dateTime</DailyDate> <LastLogin>dateTime</LastLogin> <LoginCount>int</LoginCount> <SuccessCount>int</SuccessCount> <FailedCount>int</FailedCount> <RecCount>int</RecCount> <FixTariff>boolean</FixTariff> <ExpireAlert>boolean</ExpireAlert> <CreditAlert>boolean</CreditAlert> <UseBulkWebservice>boolean</UseBulkWebservice> <UseBulkCityWebService>boolean</UseBulkCityWebService> <PaymentType>unsignedByte</PaymentType> <MaxTicket>int</MaxTicket> <MaxOrderNumber>int</MaxOrderNumber> <NeedBulkSubmition>boolean</NeedBulkSubmition> <NeedPardisSubmition>boolean</NeedPardisSubmition> <NationalCode>string</NationalCode> <FileAttached>string</FileAttached> <HowFindUs>int</HowFindUs> <UseChargeCard>int</UseChargeCard> <UseOffCode>int</UseOffCode> <AccessToBranchs>boolean</AccessToBranchs> <BulkReport>boolean</BulkReport> <EnableDelivery>boolean</EnableDelivery> <NumberPrice>int</NumberPrice> <PostalCode>string</PostalCode> <CertificateNumber>string</CertificateNumber> <IsOnline>boolean</IsOnline> <UnFilterKeywords>string</UnFilterKeywords> <AllowSubreseller>boolean</AllowSubreseller> <FourDigitPwd>string</FourDigitPwd> <HasContract>boolean</HasContract> <MoneyBackDelivery>unsignedByte</MoneyBackDelivery> <Infractions>string</Infractions> <AllowedIP>string</AllowedIP> <SendEntryAlert>boolean</SendEntryAlert> <AllowedTimes>string</AllowedTimes> <ReferrerWebSite>string</ReferrerWebSite> <CommercialCode>string</CommercialCode> <RecommandUserId>int</RecommandUserId> <UseModulesForFree>boolean</UseModulesForFree> <HasBeenChanged>boolean</HasBeenChanged> <Wallet>double</Wallet> <WebserviceCallCount>int</WebserviceCallCount> <ActivationDate>dateTime</ActivationDate> <VipLevel>unsignedByte</VipLevel> <UserBehavior>string</UserBehavior> <BirthDate>dateTime</BirthDate> <ResellerPrice>int</ResellerPrice> <UseRevival>boolean</UseRevival> <RevivalPrice>double</RevivalPrice> <InstallMentPrice>double</InstallMentPrice> <InstallMent>int</InstallMent> <isRevival>boolean</isRevival> <RevivalDiscount>int</RevivalDiscount> <FirstPrice>double</FirstPrice> <TestPanel>boolean</TestPanel> <IsInstallMent>boolean</IsInstallMent> <IsLagal>boolean</IsLagal> <FirstContract>boolean</FirstContract> <CrmCallType>unsignedByte</CrmCallType> <CrmCallTime>dateTime</CrmCallTime> <UserProject>boolean</UserProject> <AccessToCRM>boolean</AccessToCRM> <IsTestCRM>boolean</IsTestCRM> <ExpDateCRM>dateTime</ExpDateCRM> <ActivatePanel>boolean</ActivatePanel> <CrmProductID>int</CrmProductID> <CenterID>int</CenterID> <AllowSubResellerCRM>boolean</AllowSubResellerCRM> <UnOfficialPayment>boolean</UnOfficialPayment> <RecommandUsID>string</RecommandUsID> <Gender>unsignedByte</Gender> <MinCreditLowAlert>double</MinCreditLowAlert> <AllowUseShareNumberAPI>boolean</AllowUseShareNumberAPI> <FatherName>string</FatherName> <BirthPlace>int</BirthPlace> <CompanyNationalID>string</CompanyNationalID> <VerificationCode>string</VerificationCode> <AllowOtp>boolean</AllowOtp> <SmsVerificationCode>string</SmsVerificationCode> <VerificationExpireDate>dateTime</VerificationExpireDate> <IsMobileVerified>boolean</IsMobileVerified> <ApiKey>guid</ApiKey> <PasswordIsWeak>boolean</PasswordIsWeak> <ApproveBulkSMSByOwner>boolean</ApproveBulkSMSByOwner> <AllowSendInNight>boolean</AllowSendInNight> <Avatar>string</Avatar> <ContractExpAlert>boolean</ContractExpAlert> <MobileAndNationalIsMatch>boolean</MobileAndNationalIsMatch> <JwtToken>string</JwtToken> <AutoAddLaghv>boolean</AutoAddLaghv> <ActivateTOTPAuthenticator>boolean</ActivateTOTPAuthenticator> <AuthenticatorSecretKey>string</AuthenticatorSecretKey> <TokenAiCredit>double</TokenAiCredit> <AccessToWorkSpace>boolean</AccessToWorkSpace> <WsTariffID>int</WsTariffID> <WsAiRuleAccepted>boolean</WsAiRuleAccepted> <RegFromAiPanel>boolean</RegFromAiPanel> <FirstUserIpLogin>string</FirstUserIpLogin> <LatestUserIpLogin>string</LatestUserIpLogin> <AiProductType>unsignedByte</AiProductType> <ApiAllowedIP>string</ApiAllowedIP> <AllowSellAiPanelByReseller>boolean</AllowSellAiPanelByReseller> <NeedScheduleApprove>boolean</NeedScheduleApprove> <AllowWithoutApiRateLimition>boolean</AllowWithoutApiRateLimition> <ApiDailyLimit>int</ApiDailyLimit> <IpRequirementForAPI>boolean</IpRequirementForAPI> <ApiKeyRequirementForAPI>boolean</ApiKeyRequirementForAPI> </UsersBL>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /post/Users.asmx/GetUserByUserID HTTP/1.1 Host: api.smsdev.ir Content-Type: application/x-www-form-urlencoded Content-Length: length username=string&password=string&pass=string&userId=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <UsersBL xmlns="http://tempuri.org/"> <UserId>int</UserId> <ProductId>int</ProductId> <TariffId>int</TariffId> <UserOwner>int</UserOwner> <UserMaster>int</UserMaster> <UserStepedMaster>int</UserStepedMaster> <UserTripleMaster>int</UserTripleMaster> <ThemeId>int</ThemeId> <UserType>unsignedByte</UserType> <SellerId>int</SellerId> <UserName>string</UserName> <UserPassword>string</UserPassword> <FirstName>string</FirstName> <LastName>string</LastName> <Corporation>string</Corporation> <Email>string</Email> <MobileNumbers>string</MobileNumbers> <PhoneNumbers>string</PhoneNumbers> <FaxNumbers>string</FaxNumbers> <MCIMobile>string</MCIMobile> <Country>int</Country> <Province>int</Province> <City>int</City> <Address>string</Address> <RegDate>dateTime</RegDate> <ExpDate>dateTime</ExpDate> <ContDate>dateTime</ContDate> <Credit>double</Credit> <SendLimit>int</SendLimit> <DailyLimit>int</DailyLimit> <DailyRiched>int</DailyRiched> <SendSpeed>int</SendSpeed> <UseWebservice>boolean</UseWebservice> <UseUrl>boolean</UseUrl> <UseWin>boolean</UseWin> <Signature>string</Signature> <Desctiptions>string</Desctiptions> <Lang>string</Lang> <DefaultModule>int</DefaultModule> <DefaultNumber>int</DefaultNumber> <SubUserCount>int</SubUserCount> <UserStatus>unsignedByte</UserStatus> <DailyDate>dateTime</DailyDate> <LastLogin>dateTime</LastLogin> <LoginCount>int</LoginCount> <SuccessCount>int</SuccessCount> <FailedCount>int</FailedCount> <RecCount>int</RecCount> <FixTariff>boolean</FixTariff> <ExpireAlert>boolean</ExpireAlert> <CreditAlert>boolean</CreditAlert> <UseBulkWebservice>boolean</UseBulkWebservice> <UseBulkCityWebService>boolean</UseBulkCityWebService> <PaymentType>unsignedByte</PaymentType> <MaxTicket>int</MaxTicket> <MaxOrderNumber>int</MaxOrderNumber> <NeedBulkSubmition>boolean</NeedBulkSubmition> <NeedPardisSubmition>boolean</NeedPardisSubmition> <NationalCode>string</NationalCode> <FileAttached>string</FileAttached> <HowFindUs>int</HowFindUs> <UseChargeCard>int</UseChargeCard> <UseOffCode>int</UseOffCode> <AccessToBranchs>boolean</AccessToBranchs> <BulkReport>boolean</BulkReport> <EnableDelivery>boolean</EnableDelivery> <NumberPrice>int</NumberPrice> <PostalCode>string</PostalCode> <CertificateNumber>string</CertificateNumber> <IsOnline>boolean</IsOnline> <UnFilterKeywords>string</UnFilterKeywords> <AllowSubreseller>boolean</AllowSubreseller> <FourDigitPwd>string</FourDigitPwd> <HasContract>boolean</HasContract> <MoneyBackDelivery>unsignedByte</MoneyBackDelivery> <Infractions>string</Infractions> <AllowedIP>string</AllowedIP> <SendEntryAlert>boolean</SendEntryAlert> <AllowedTimes>string</AllowedTimes> <ReferrerWebSite>string</ReferrerWebSite> <CommercialCode>string</CommercialCode> <RecommandUserId>int</RecommandUserId> <UseModulesForFree>boolean</UseModulesForFree> <HasBeenChanged>boolean</HasBeenChanged> <Wallet>double</Wallet> <WebserviceCallCount>int</WebserviceCallCount> <ActivationDate>dateTime</ActivationDate> <VipLevel>unsignedByte</VipLevel> <UserBehavior>string</UserBehavior> <BirthDate>dateTime</BirthDate> <ResellerPrice>int</ResellerPrice> <UseRevival>boolean</UseRevival> <RevivalPrice>double</RevivalPrice> <InstallMentPrice>double</InstallMentPrice> <InstallMent>int</InstallMent> <isRevival>boolean</isRevival> <RevivalDiscount>int</RevivalDiscount> <FirstPrice>double</FirstPrice> <TestPanel>boolean</TestPanel> <IsInstallMent>boolean</IsInstallMent> <IsLagal>boolean</IsLagal> <FirstContract>boolean</FirstContract> <CrmCallType>unsignedByte</CrmCallType> <CrmCallTime>dateTime</CrmCallTime> <UserProject>boolean</UserProject> <AccessToCRM>boolean</AccessToCRM> <IsTestCRM>boolean</IsTestCRM> <ExpDateCRM>dateTime</ExpDateCRM> <ActivatePanel>boolean</ActivatePanel> <CrmProductID>int</CrmProductID> <CenterID>int</CenterID> <AllowSubResellerCRM>boolean</AllowSubResellerCRM> <UnOfficialPayment>boolean</UnOfficialPayment> <RecommandUsID>string</RecommandUsID> <Gender>unsignedByte</Gender> <MinCreditLowAlert>double</MinCreditLowAlert> <AllowUseShareNumberAPI>boolean</AllowUseShareNumberAPI> <FatherName>string</FatherName> <BirthPlace>int</BirthPlace> <CompanyNationalID>string</CompanyNationalID> <VerificationCode>string</VerificationCode> <AllowOtp>boolean</AllowOtp> <SmsVerificationCode>string</SmsVerificationCode> <VerificationExpireDate>dateTime</VerificationExpireDate> <IsMobileVerified>boolean</IsMobileVerified> <ApiKey>guid</ApiKey> <PasswordIsWeak>boolean</PasswordIsWeak> <ApproveBulkSMSByOwner>boolean</ApproveBulkSMSByOwner> <AllowSendInNight>boolean</AllowSendInNight> <Avatar>string</Avatar> <ContractExpAlert>boolean</ContractExpAlert> <MobileAndNationalIsMatch>boolean</MobileAndNationalIsMatch> <JwtToken>string</JwtToken> <AutoAddLaghv>boolean</AutoAddLaghv> <ActivateTOTPAuthenticator>boolean</ActivateTOTPAuthenticator> <AuthenticatorSecretKey>string</AuthenticatorSecretKey> <TokenAiCredit>double</TokenAiCredit> <AccessToWorkSpace>boolean</AccessToWorkSpace> <WsTariffID>int</WsTariffID> <WsAiRuleAccepted>boolean</WsAiRuleAccepted> <RegFromAiPanel>boolean</RegFromAiPanel> <FirstUserIpLogin>string</FirstUserIpLogin> <LatestUserIpLogin>string</LatestUserIpLogin> <AiProductType>unsignedByte</AiProductType> <ApiAllowedIP>string</ApiAllowedIP> <AllowSellAiPanelByReseller>boolean</AllowSellAiPanelByReseller> <NeedScheduleApprove>boolean</NeedScheduleApprove> <AllowWithoutApiRateLimition>boolean</AllowWithoutApiRateLimition> <ApiDailyLimit>int</ApiDailyLimit> <IpRequirementForAPI>boolean</IpRequirementForAPI> <ApiKeyRequirementForAPI>boolean</ApiKeyRequirementForAPI> </UsersBL>