Needio.Services

<back to all web services

GetMyUserDetailRequest

Requires Authentication
Required role:Guest
The following routes are available for this service:
All Verbs/User/GetMyUserDetail
GetMyUserDetailRequest Parameters:
NameParameterData TypeRequiredDescription
IncludeStoreInfoYnqueryboolNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
APIKeyformstringNo
GetMyUserDetailResponse Parameters:
NameParameterData TypeRequiredDescription
UserformUserDetailDTONo
InvStoreformInvStoreDTONo
StoreSettingformStoreSettingsNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
BasePageInfo Parameters:
NameParameterData TypeRequiredDescription
TotalRecordCountformintNo
TotalPageCountformintNo
CurrentPageformintNo
UserDetailDTO Parameters:
NameParameterData TypeRequiredDescription
UserSsnformstringNo
UserGenderformGendersNo
EmailformstringNo
UserKeyformGuidNo
EmailVerifiedformboolNo
PhoneNumberformstringNo
PhoneNumberVerifiedformboolNo
SalesManYnformboolNo
CardUserKeyformstringNo
CompanyNameformstringNo
BlokedYnformboolNo
ExternalYnformboolNo
BirthYearformintNo
DefaultAdressesIdformintNo
NviApprovedYnformboolNo
ApproveStatusformbyteNo
ApproveMessageformstringNo
OwnSalesmanCodeformstringNo
CreatedDateformDateTime?No
RegisterDateformDateTime?No
UserInfo Parameters:
NameParameterData TypeRequiredDescription
UserIdformintNo
UserNameformstringNo
FirstNameformstringNo
UserFullNameformstringNo
SurnameformstringNo
NickNameformstringNo
ProfileImageformMediaDTONo
UserSocialInfoformUserSocialInfoDTONo
AvatarformstringNo
MediaDTO Parameters:
NameParameterData TypeRequiredDescription
PostIdformintNo
MediaIdformint?No
UsageTypeformUsageTypesNo
MediaTypeformMediaTypesNo
SourceformstringNo
MediaFileNameformstringNo
MediaMimeformstringNo
IsMainformboolNo
RefIdformint?No
OrderNumformintNo
ActionformDBActionNo
IsDeletedformboolNo
FriendlyURLformstringNo
PostVariantA1KeyformstringNo
SourceUrlformstringNo
ActiveYnformboolNo
UsageTypes Enum:
NameValue
StoreMedias1
StoreFiles2
MediaTypes Enum:
NameValue
icon0
Image1
Video2
Youtube3
Pdf8
File9
ThreeD10
Custom99
DBAction Enum:
NameValue
None0
Insert1
Update2
Delete3
UserSocialInfoDTO Parameters:
NameParameterData TypeRequiredDescription
AvgRateformdoubleNo
RateCountformintNo
LikeCountformintNo
BanCountformintNo
BannedCountformintNo
FollowCountformintNo
FollowedCountformintNo
ActivePostCountformintNo
ViewCountformintNo
DidUserLikeformboolNo
DidUserBanformboolNo
DidUserBannedformboolNo
DidUserRateformboolNo
DidUserFollowformboolNo
DidUserFollowedformboolNo
Genders Enum:
NameValue
unspecified0
Male1
Female2
InvStoreDTO Parameters:
NameParameterData TypeRequiredDescription
StoreIdformintNo
UserIdformintNo
LocationformGeoLocationNo
PaymentIBANformstringNo
PaymentIBANFirstNameformstringNo
PaymentIBANSurNameformstringNo
PaymentIBANVerifiedformboolNo
Address1formstringNo
DistrictIdformint?No
CityIdformint?No
StateIdformint?No
CountryIdformint?No
DistrictNameformstringNo
CityNameformstringNo
StateNameformstringNo
CountryNameformstringNo
ApplyDefaultCommisionRateYnformboolNo
CommisionRateformdecimalNo
DeliveryToAddressYnformboolNo
DeliveryInStoreYnformboolNo
DeliveryByCargoformboolNo
ShippingPriceYnformboolNo
ShippingAmountformdecimal?No
ShippingUpperLimitformdecimal?No
ShippingUpperAmountformdecimal?No
MaxDistanceformshort?No
MinAmountForOrderformdecimal?No
AverageServiceTimeformshort?No
DeliveryStateIdformint?No
DeliveryCityIdformint?No
DeliveryDistrictIdformint?No
DeliveryAddressformstringNo
ReturnDeliveryAddressformstringNo
ReturnDeliveryStateIdformint?No
ReturnDeliveryCityIdformint?No
ReturnDeliveryDistrictIdformint?No
GeoLocation Parameters:
NameParameterData TypeRequiredDescription
LonformstringNo
LatformstringNo
GeoAddressformstringNo
IsDeletedformboolNo
StoreSettings Parameters:
NameParameterData TypeRequiredDescription
UseMapInStoreformUseTypesNo
UseStoreDescformUseTypesNo
UseStoreSummaryformUseTypesNo
AllowActiveLocationformboolNo
AllowRouteMessageformboolNo
MaxMediaCountformintNo
UseDepartmentYnformboolNo
UseMinAmountForOrderformboolNo
AllowEmptyOrCustomBasketformboolNo
UseDeliveryMethodsformboolNo
AllowDeliveryToAddressformboolNo
AllowDeliveryInStoreformboolNo
AllowDeliveryByCargoformboolNo
ShippingPriceYnformboolNo
UseAmountPerDistanceformboolNo
UseAmountPerMinuteformboolNo
UseOpenHoursformboolNo
DefaultMinAmountForOrderformintNo
UseAverageServiceTimeformboolNo
DefaultAverageServiceTimeformintNo
UseMaxDeliveryDistanceformboolNo
DefaultMaxDistanceformintNo
PaymentWithNeedionformboolNo
PaymentOnAddresYnformboolNo
DefaultCommissionRateformdecimalNo
UseTypes Enum:
NameValue
None0
Optional1
Required2
GetMyUserDetailResponse Parameters:
NameParameterData TypeRequiredDescription
UserformUserDetailDTONo
InvStoreformInvStoreDTONo
StoreSettingformStoreSettingsNo

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 /User/GetMyUserDetail HTTP/1.1 
Host: baseservices.needion.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<GetMyUserDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Needio.Services.ServiceModel.v2">
  <APIKey>String</APIKey>
  <DeviceUUID>String</DeviceUUID>
  <IncludeStoreInfoYn>false</IncludeStoreInfoYn>
</GetMyUserDetailRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetMyUserDetailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Needio.Services.ServiceModel.v2">
  <Error>
    <ErrorCode>String</ErrorCode>
    <ErrorDescription>String</ErrorDescription>
    <ErrorYn>false</ErrorYn>
  </Error>
  <PageInfo>
    <CurrentPage>0</CurrentPage>
    <TotalPageCount>0</TotalPageCount>
    <TotalRecordCount>0</TotalRecordCount>
  </PageInfo>
  <ResMessage>String</ResMessage>
  <Result>false</Result>
  <InvStore xmlns:d2p1="http://schemas.datacontract.org/2004/07/Needio.Services.ServiceModel.v2.Models">
    <d2p1:Address1>String</d2p1:Address1>
    <d2p1:ApplyDefaultCommisionRateYn>false</d2p1:ApplyDefaultCommisionRateYn>
    <d2p1:AverageServiceTime>0</d2p1:AverageServiceTime>
    <d2p1:CityId>0</d2p1:CityId>
    <d2p1:CityName>String</d2p1:CityName>
    <d2p1:CommisionRate>0</d2p1:CommisionRate>
    <d2p1:CountryId>0</d2p1:CountryId>
    <d2p1:CountryName>String</d2p1:CountryName>
    <d2p1:DeliveryAddress>String</d2p1:DeliveryAddress>
    <d2p1:DeliveryByCargo>false</d2p1:DeliveryByCargo>
    <d2p1:DeliveryCityId>0</d2p1:DeliveryCityId>
    <d2p1:DeliveryDistrictId>0</d2p1:DeliveryDistrictId>
    <d2p1:DeliveryInStoreYn>false</d2p1:DeliveryInStoreYn>
    <d2p1:DeliveryStateId>0</d2p1:DeliveryStateId>
    <d2p1:DeliveryToAddressYn>false</d2p1:DeliveryToAddressYn>
    <d2p1:DistrictId>0</d2p1:DistrictId>
    <d2p1:DistrictName>String</d2p1:DistrictName>
    <d2p1:Location>
      <d2p1:GeoAddress>String</d2p1:GeoAddress>
      <d2p1:IsDeleted>false</d2p1:IsDeleted>
      <d2p1:Lat>String</d2p1:Lat>
      <d2p1:Lon>String</d2p1:Lon>
    </d2p1:Location>
    <d2p1:MaxDistance>0</d2p1:MaxDistance>
    <d2p1:MinAmountForOrder>0</d2p1:MinAmountForOrder>
    <d2p1:PaymentIBAN>String</d2p1:PaymentIBAN>
    <d2p1:PaymentIBANFirstName>String</d2p1:PaymentIBANFirstName>
    <d2p1:PaymentIBANSurName>String</d2p1:PaymentIBANSurName>
    <d2p1:PaymentIBANVerified>false</d2p1:PaymentIBANVerified>
    <d2p1:ReturnDeliveryAddress>String</d2p1:ReturnDeliveryAddress>
    <d2p1:ReturnDeliveryCityId>0</d2p1:ReturnDeliveryCityId>
    <d2p1:ReturnDeliveryDistrictId>0</d2p1:ReturnDeliveryDistrictId>
    <d2p1:ReturnDeliveryStateId>0</d2p1:ReturnDeliveryStateId>
    <d2p1:ShippingAmount>0</d2p1:ShippingAmount>
    <d2p1:ShippingPriceYn>false</d2p1:ShippingPriceYn>
    <d2p1:ShippingUpperAmount>0</d2p1:ShippingUpperAmount>
    <d2p1:ShippingUpperLimit>0</d2p1:ShippingUpperLimit>
    <d2p1:StateId>0</d2p1:StateId>
    <d2p1:StateName>String</d2p1:StateName>
    <d2p1:StoreId>0</d2p1:StoreId>
    <d2p1:UserId>0</d2p1:UserId>
  </InvStore>
  <StoreSetting xmlns:d2p1="http://schemas.datacontract.org/2004/07/Needio.Services.ServiceModel.v2.Models">
    <d2p1:AllowActiveLocation>false</d2p1:AllowActiveLocation>
    <d2p1:AllowDeliveryByCargo>false</d2p1:AllowDeliveryByCargo>
    <d2p1:AllowDeliveryInStore>false</d2p1:AllowDeliveryInStore>
    <d2p1:AllowDeliveryToAddress>false</d2p1:AllowDeliveryToAddress>
    <d2p1:AllowEmptyOrCustomBasket>false</d2p1:AllowEmptyOrCustomBasket>
    <d2p1:AllowRouteMessage>false</d2p1:AllowRouteMessage>
    <d2p1:DefaultAverageServiceTime>0</d2p1:DefaultAverageServiceTime>
    <d2p1:DefaultCommissionRate>0</d2p1:DefaultCommissionRate>
    <d2p1:DefaultMaxDistance>0</d2p1:DefaultMaxDistance>
    <d2p1:DefaultMinAmountForOrder>0</d2p1:DefaultMinAmountForOrder>
    <d2p1:MaxMediaCount>0</d2p1:MaxMediaCount>
    <d2p1:PaymentOnAddresYn>false</d2p1:PaymentOnAddresYn>
    <d2p1:PaymentWithNeedion>false</d2p1:PaymentWithNeedion>
    <d2p1:ShippingPriceYn>false</d2p1:ShippingPriceYn>
    <d2p1:UseAmountPerDistance>false</d2p1:UseAmountPerDistance>
    <d2p1:UseAmountPerMinute>false</d2p1:UseAmountPerMinute>
    <d2p1:UseAverageServiceTime>false</d2p1:UseAverageServiceTime>
    <d2p1:UseDeliveryMethods>false</d2p1:UseDeliveryMethods>
    <d2p1:UseDepartmentYn>false</d2p1:UseDepartmentYn>
    <d2p1:UseMapInStore>None</d2p1:UseMapInStore>
    <d2p1:UseMaxDeliveryDistance>false</d2p1:UseMaxDeliveryDistance>
    <d2p1:UseMinAmountForOrder>false</d2p1:UseMinAmountForOrder>
    <d2p1:UseOpenHours>false</d2p1:UseOpenHours>
    <d2p1:UseStoreDesc>None</d2p1:UseStoreDesc>
    <d2p1:UseStoreSummary>None</d2p1:UseStoreSummary>
  </StoreSetting>
  <User xmlns:d2p1="http://schemas.datacontract.org/2004/07/Needio.Services.ServiceModel.v2.Models">
    <d2p1:Avatar>String</d2p1:Avatar>
    <d2p1:FirstName>String</d2p1:FirstName>
    <d2p1:NickName>String</d2p1:NickName>
    <d2p1:ProfileImage>
      <d2p1:Action>None</d2p1:Action>
      <d2p1:ActiveYn>false</d2p1:ActiveYn>
      <d2p1:FriendlyURL>String</d2p1:FriendlyURL>
      <d2p1:IsDeleted>false</d2p1:IsDeleted>
      <d2p1:IsMain>false</d2p1:IsMain>
      <d2p1:MediaFileName>String</d2p1:MediaFileName>
      <d2p1:MediaId>0</d2p1:MediaId>
      <d2p1:MediaMime>String</d2p1:MediaMime>
      <d2p1:MediaType>icon</d2p1:MediaType>
      <d2p1:OrderNum>0</d2p1:OrderNum>
      <d2p1:PostId>0</d2p1:PostId>
      <d2p1:PostVariantA1Key>String</d2p1:PostVariantA1Key>
      <d2p1:RefId>0</d2p1:RefId>
      <d2p1:Source>String</d2p1:Source>
      <d2p1:SourceUrl>String</d2p1:SourceUrl>
      <d2p1:UsageType>StoreMedias</d2p1:UsageType>
    </d2p1:ProfileImage>
    <d2p1:Surname>String</d2p1:Surname>
    <d2p1:UserFullName>String</d2p1:UserFullName>
    <d2p1:UserId>0</d2p1:UserId>
    <d2p1:UserName>String</d2p1:UserName>
    <d2p1:UserSocialInfo>
      <d2p1:ActivePostCount>0</d2p1:ActivePostCount>
      <d2p1:AvgRate>0</d2p1:AvgRate>
      <d2p1:BanCount>0</d2p1:BanCount>
      <d2p1:BannedCount>0</d2p1:BannedCount>
      <d2p1:DidUserBan>false</d2p1:DidUserBan>
      <d2p1:DidUserBanned>false</d2p1:DidUserBanned>
      <d2p1:DidUserFollow>false</d2p1:DidUserFollow>
      <d2p1:DidUserFollowed>false</d2p1:DidUserFollowed>
      <d2p1:DidUserLike>false</d2p1:DidUserLike>
      <d2p1:DidUserRate>false</d2p1:DidUserRate>
      <d2p1:FollowCount>0</d2p1:FollowCount>
      <d2p1:FollowedCount>0</d2p1:FollowedCount>
      <d2p1:LikeCount>0</d2p1:LikeCount>
      <d2p1:RateCount>0</d2p1:RateCount>
      <d2p1:ViewCount>0</d2p1:ViewCount>
    </d2p1:UserSocialInfo>
    <d2p1:ApproveMessage>String</d2p1:ApproveMessage>
    <d2p1:ApproveStatus>0</d2p1:ApproveStatus>
    <d2p1:BirthYear>0</d2p1:BirthYear>
    <d2p1:BlokedYn>false</d2p1:BlokedYn>
    <d2p1:CardUserKey>String</d2p1:CardUserKey>
    <d2p1:CompanyName>String</d2p1:CompanyName>
    <d2p1:CreatedDate>0001-01-01T00:00:00</d2p1:CreatedDate>
    <d2p1:DefaultAdressesId>0</d2p1:DefaultAdressesId>
    <d2p1:Email>String</d2p1:Email>
    <d2p1:EmailVerified>false</d2p1:EmailVerified>
    <d2p1:ExternalYn>false</d2p1:ExternalYn>
    <d2p1:NviApprovedYn>false</d2p1:NviApprovedYn>
    <d2p1:OwnSalesmanCode>String</d2p1:OwnSalesmanCode>
    <d2p1:PhoneNumber>String</d2p1:PhoneNumber>
    <d2p1:PhoneNumberVerified>false</d2p1:PhoneNumberVerified>
    <d2p1:RegisterDate>0001-01-01T00:00:00</d2p1:RegisterDate>
    <d2p1:SalesManYn>false</d2p1:SalesManYn>
    <d2p1:UserGender>unspecified</d2p1:UserGender>
    <d2p1:UserKey>00000000-0000-0000-0000-000000000000</d2p1:UserKey>
    <d2p1:UserSsn>String</d2p1:UserSsn>
  </User>
</GetMyUserDetailResponse>