Needio.Services

<back to all web services

GetMyStoreForEditRequest

Requires Authentication
The following routes are available for this service:
All Verbs/Store/GetMyStoreForEdit/{Storeid}
GetMyStoreForEditRequest Parameters:
NameParameterData TypeRequiredDescription
StoreIdpathintNo
UrlquerystringNo
PreviewYnqueryboolNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
GetMyStoreForEditResponse Parameters:
NameParameterData TypeRequiredDescription
StoreformStoreDetailDTONo
EditSettingsformStoreEditSettingsNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
StoreDetailDTO Parameters:
NameParameterData TypeRequiredDescription
DeliveryAddressformstringNo
DeliveryStateIdformint?No
DeliveryCityIdformint?No
UseSameAddressformboolNo
StoreMediasformList<MediaDTO>No
DepartmentsformList<StoreDepartmentDTO>No
ReviewsformList<StoreReviewDTO>No
StoreAccoutingInfoformStoreAccoutingDTONo
PostCountformintNo
HasSalerAgreementApprovedformboolNo
StoreDTO Parameters:
NameParameterData TypeRequiredDescription
StoreIdformintNo
StoreNameformstringNo
StoreHeaderformstringNo
SummaryformstringNo
DescriptionformstringNo
PostTypeIdformshortNo
LocationformGeoLocationNo
BadgesformList<ItemBadgeDTO>No
MainMediaformMediaDTONo
SocialInfoformItemSocialInfoDTONo
StoreStatusformItemStatusesNo
StoreStateformItemStatesNo
UserIdformintNo
OwnerformUserInfoNo
ActionformDBActionNo
SaleLocalYnformboolNo
SaleCountryYnformboolNo
DeliveryToAddressYnformboolNo
DeliveryInStoreYnformboolNo
DeliveryByCargoformboolNo
OpenYnformboolNo
ShippingPriceYnformboolNo
ShippingAmountformdecimal?No
ShippingUpperLimitformdecimal?No
ShippingUpperAmountformdecimal?No
MaxDistanceformshort?No
DistanceformdoubleNo
MapAvatarformstringNo
StartDateformDateTime?No
EndDateformDateTime?No
OpenHoursformWeekOpenHoursNo
AlwActformintNo
MinAmountForOrderformdecimal?No
AverageServiceTimeformshort?No
ClosedYnformboolNo
FriendlyURLformstringNo
CategoryIdformshortNo
CategoryKeyformstringNo
ChatMethodformChatMethodsNo
AllowPaymentOnAddresformboolNo
AllowedPaymentsformstringNo
AttributeDataformstringNo
AttributeMetaformstringNo
GeoAddressformstringNo
VersionStatusformVersionStatusNo
BlockedYnformboolNo
EmailformstringNo
PhoneformstringNo
GeoLocation Parameters:
NameParameterData TypeRequiredDescription
LonformstringNo
LatformstringNo
GeoAddressformstringNo
IsDeletedformboolNo
ItemBadgeDTO Parameters:
NameParameterData TypeRequiredDescription
BadgeIdformintNo
ItemIdformintNo
BadgeTypeIdformshortNo
StartDateformDateTime?No
EndDateformDateTime?No
Priortyformshort?No
ActiveYnformboolNo
MediaDTO Parameters:
NameParameterData TypeRequiredDescription
MediaIdformint?No
MediaTypeformMediaTypesNo
SourceformstringNo
MediaFileNameformstringNo
MediaMimeformstringNo
IsMainformboolNo
RefIdformint?No
OrderNumformintNo
ActionformDBActionNo
IsDeletedformboolNo
FriendlyURLformstringNo
MediaTypes Enum:
NameValue
icon0
Image1
Video2
Youtube3
Pdf8
File9
Custom10
DBAction Enum:
NameValue
None0
Insert1
Update2
Delete3
ItemSocialInfoDTO Parameters:
NameParameterData TypeRequiredDescription
AvgRateformdecimalNo
RateCountformintNo
Rate1CountformintNo
Rate2CountformintNo
Rate3CountformintNo
Rate4CountformintNo
Rate5CountformintNo
LikeCountformintNo
FollowCountformintNo
ViewCountformintNo
DidUserLikeformboolNo
DidUserRateformboolNo
DidUserFollowformboolNo
CanBeSharedformboolNo
ScoreformshortNo
ApprovedDateformDateTime?No
ItemStatuses Enum:
NameValue
Draft0
Pending1
Rejected2
Published10
Archived11
Blocked12
Deleted99
ItemStates Enum:
NameValue
New0
Exist10
Archived11
Bloked12
Deleted99
UserInfo Parameters:
NameParameterData TypeRequiredDescription
UserIdformintNo
UserNameformstringNo
FirstNameformstringNo
UserFullNameformstringNo
SurnameformstringNo
NickNameformstringNo
ProfileImageformMediaDTONo
UserSocialInfoformUserSocialInfoDTONo
AvatarformstringNo
UserSocialInfoDTO Parameters:
NameParameterData TypeRequiredDescription
AvgRateformdoubleNo
RateCountformintNo
LikeCountformintNo
BanCountformintNo
BannedCountformintNo
FollowCountformintNo
FollowedCountformintNo
ActivePostCountformintNo
ViewCountformintNo
DidUserLikeformboolNo
DidUserBanformboolNo
DidUserBannedformboolNo
DidUserRateformboolNo
DidUserFollowformboolNo
DidUserFollowedformboolNo
WeekOpenHours Parameters:
NameParameterData TypeRequiredDescription
OpenHoursIdformint?No
Open7x24formboolNo
OfflinePOYnformboolNo
Day1formDayOpenHoursNo
Day2formDayOpenHoursNo
Day3formDayOpenHoursNo
Day4formDayOpenHoursNo
Day5formDayOpenHoursNo
Day6formDayOpenHoursNo
Day7formDayOpenHoursNo
ActionformDBActionNo
DayOpenHours Parameters:
NameParameterData TypeRequiredDescription
OpenHourIdformintNo
WeekDayformintNo
IsOpenformboolNo
StartformTimeSpan?No
EndformTimeSpan?No
ChatMethods Enum:
NameValue
Regular0
External1
NoChat10
VersionStatus Enum:
NameValue
AddOrEdit1
Approved2
DeleteRequest3
Deleted4
StoreDepartmentDTO Parameters:
NameParameterData TypeRequiredDescription
DepartmentIdformint?No
DepartmentNameformstringNo
DepartmentCodeformstringNo
ActionformDBActionNo
StoreReviewDTO Parameters:
NameParameterData TypeRequiredDescription
ReviewIdformintNo
UserformUserInfoNo
ReviewTextformstringNo
RateformdoubleNo
ReviewDateformDateTimeNo
HideUserformboolNo
LikeCntformintNo
UnLikeCntformintNo
StoreAccoutingDTO Parameters:
NameParameterData TypeRequiredDescription
StoreIdformintNo
StoreTypeformStoreTypesNo
OfficalNameformstringNo
TaxOfficeformstringNo
TaxNumberformstringNo
TaxNumberVerifiedformboolNo
PaymentBankIdformshort?No
PaymentIBANformstringNo
PaymentIBANVerifiedformboolNo
Address1formstringNo
CityIdformint?No
StateIdformint?No
CountryIdformint?No
ApplyDefaultCommisionRateYnformboolNo
CommisionRateformdecimalNo
StoreTypes Enum:
NameValue
Personel1
PrivateCompany2
LimitedCompany3
StoreEditSettings Parameters:
NameParameterData TypeRequiredDescription
CategoryChainformSmCategoryMetaDTONo
PtSettingformPtSettingsNo
StoreViewSettings Parameters:
NameParameterData TypeRequiredDescription
BreadCrumbformList<SmCategoryMetaDTO>No
StoreSettingformStoreSettingsNo
SmCategoryMetaDTO Parameters:
NameParameterData TypeRequiredDescription
CTypeformSmCategoryTypeNo
SearchYnformboolNo
OrderformintNo
NTypeformSmCategoryTypeNo
FriendlyURLformstringNo
SelectedformboolNo
SubCatsformList<SmCategoryMetaDTO>No
CountformintNo
SmCategoryInfoDTO Parameters:
NameParameterData TypeRequiredDescription
CategoryIdformintNo
NameformstringNo
CodeformstringNo
PIdformshort?No
ActiveYnformboolNo
SmCategoryType Enum:
NameValue
None0
PostType1
StoreCategory2
PostCategory3
Department11
Brand21
Model23
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
PtSettings Parameters:
NameParameterData TypeRequiredDescription
SearchMapOnlyUsedConditionformboolNo
SearchMapDefaultScaleformintNo
SearchPostYnformboolNo
SearchStoreYnformboolNo
SearchPostOnMapYnformboolNo
SearchStoreOnMapYnformboolNo
SearchConditionYnformboolNo
SearchSaleTypeYnformboolNo
PtAllowSaleYnformboolNo
SearchDefaultformItemTypesNo
SearchMapMethodformItemTypesNo
DefaultCommissionRateformdecimalNo
VirtualDepartmentSourceformstringNo
FriendlyUrlSourceformstringNo
SearchAddressLevelformAddressLevelsNo
PostTypeDTO Parameters:
NameParameterData TypeRequiredDescription
PostTypeIdformintNo
NameformstringNo
DesciptionformstringNo
FriendlyUrlformstringNo
ActiveYnformboolNo
ItemTypes Enum:
NameValue
Post1
Store2
User4
AdLocal8
AdGlobal16
SocialShare512
SocialStory1024
AddressLevels Enum:
NameValue
None0
State2
City3
District4
GetMyStoreForEditResponse Parameters:
NameParameterData TypeRequiredDescription
StoreformStoreDetailDTONo
EditSettingsformStoreEditSettingsNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /Store/GetMyStoreForEdit/{Storeid} HTTP/1.1 
Host: baseservices2.needion.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"StoreId":0,"Url":"String","PreviewYn":false,"start":"\/Date(1594628747822+0300)\/"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Store":{"DeliveryAddress":"String","DeliveryStateId":0,"DeliveryCityId":0,"UseSameAddress":false,"StoreMedias":[{"MediaId":0,"MediaType":0,"Source":"String","MediaFileName":"String","MediaMime":"String","IsMain":false,"RefId":0,"OrderNum":0,"Action":0,"IsDeleted":false,"FriendlyURL":"String"}],"Departments":[{"DepartmentId":0,"DepartmentName":"String","DepartmentCode":"String","Action":0}],"Reviews":[{"ReviewId":0,"User":{"UserId":0,"UserName":"String","FirstName":"String","UserFullName":"String","Surname":"String","NickName":"String","ProfileImage":{"MediaId":0,"MediaType":0,"Source":"String","MediaFileName":"String","MediaMime":"String","IsMain":false,"RefId":0,"OrderNum":0,"Action":0,"IsDeleted":false,"FriendlyURL":"String"},"UserSocialInfo":{"AvgRate":0,"RateCount":0,"LikeCount":0,"BanCount":0,"BannedCount":0,"FollowCount":0,"FollowedCount":0,"ActivePostCount":0,"ViewCount":0,"DidUserLike":false,"DidUserBan":false,"DidUserBanned":false,"DidUserRate":false,"DidUserFollow":false,"DidUserFollowed":false},"Avatar":"String"},"ReviewText":"String","Rate":0,"ReviewDate":"\/Date(-62135596800000-0000)\/","HideUser":false,"LikeCnt":0,"UnLikeCnt":0}],"StoreAccoutingInfo":{"StoreId":0,"StoreType":1,"OfficalName":"String","TaxOffice":"String","TaxNumber":"String","TaxNumberVerified":false,"PaymentBankId":0,"PaymentIBAN":"String","PaymentIBANVerified":false,"Address1":"String","CityId":0,"StateId":0,"CountryId":0,"ApplyDefaultCommisionRateYn":false,"CommisionRate":0},"PostCount":0,"HasSalerAgreementApproved":false,"StoreId":0,"StoreName":"String","StoreHeader":"String","Summary":"String","Description":"String","PostTypeId":0,"Location":{"Lon":"String","Lat":"String","GeoAddress":"String","IsDeleted":false},"Badges":[{"BadgeId":0,"ItemId":0,"BadgeTypeId":0,"StartDate":"\/Date(-62135596800000-0000)\/","EndDate":"\/Date(-62135596800000-0000)\/","Priorty":0,"ActiveYn":false}],"MainMedia":{"MediaId":0,"MediaType":0,"Source":"String","MediaFileName":"String","MediaMime":"String","IsMain":false,"RefId":0,"OrderNum":0,"Action":0,"IsDeleted":false,"FriendlyURL":"String"},"SocialInfo":{"AvgRate":0,"RateCount":0,"Rate1Count":0,"Rate2Count":0,"Rate3Count":0,"Rate4Count":0,"Rate5Count":0,"LikeCount":0,"FollowCount":0,"ViewCount":0,"DidUserLike":false,"DidUserRate":false,"DidUserFollow":false,"CanBeShared":false,"Score":0,"ApprovedDate":"\/Date(-62135596800000-0000)\/"},"StoreStatus":0,"StoreState":0,"UserId":0,"Owner":{"UserId":0,"UserName":"String","FirstName":"String","UserFullName":"String","Surname":"String","NickName":"String","ProfileImage":{"MediaId":0,"MediaType":0,"Source":"String","MediaFileName":"String","MediaMime":"String","IsMain":false,"RefId":0,"OrderNum":0,"Action":0,"IsDeleted":false,"FriendlyURL":"String"},"UserSocialInfo":{"AvgRate":0,"RateCount":0,"LikeCount":0,"BanCount":0,"BannedCount":0,"FollowCount":0,"FollowedCount":0,"ActivePostCount":0,"ViewCount":0,"DidUserLike":false,"DidUserBan":false,"DidUserBanned":false,"DidUserRate":false,"DidUserFollow":false,"DidUserFollowed":false},"Avatar":"String"},"Action":0,"SaleLocalYn":false,"SaleCountryYn":false,"DeliveryToAddressYn":false,"DeliveryInStoreYn":false,"DeliveryByCargo":false,"OpenYn":false,"ShippingPriceYn":false,"ShippingAmount":0,"ShippingUpperLimit":0,"ShippingUpperAmount":0,"MaxDistance":0,"Distance":0,"MapAvatar":"String","StartDate":"\/Date(-62135596800000-0000)\/","EndDate":"\/Date(-62135596800000-0000)\/","OpenHours":{"OpenHoursId":0,"Open7x24":false,"OfflinePOYn":false,"Day1":{"OpenHourId":0,"WeekDay":0,"IsOpen":false,"Start":"PT0S","End":"PT0S"},"Day2":{"OpenHourId":0,"WeekDay":0,"IsOpen":false,"Start":"PT0S","End":"PT0S"},"Day3":{"OpenHourId":0,"WeekDay":0,"IsOpen":false,"Start":"PT0S","End":"PT0S"},"Day4":{"OpenHourId":0,"WeekDay":0,"IsOpen":false,"Start":"PT0S","End":"PT0S"},"Day5":{"OpenHourId":0,"WeekDay":0,"IsOpen":false,"Start":"PT0S","End":"PT0S"},"Day6":{"OpenHourId":0,"WeekDay":0,"IsOpen":false,"Start":"PT0S","End":"PT0S"},"Day7":{"OpenHourId":0,"WeekDay":0,"IsOpen":false,"Start":"PT0S","End":"PT0S"},"Action":0},"AlwAct":0,"MinAmountForOrder":0,"AverageServiceTime":0,"ClosedYn":false,"FriendlyURL":"String","CategoryId":0,"CategoryKey":"String","ChatMethod":0,"AllowPaymentOnAddres":false,"AllowedPayments":"String","AttributeData":"String","AttributeMeta":"String","GeoAddress":"String","VersionStatus":1,"BlockedYn":false,"Email":"String","Phone":"String"},"EditSettings":{"CategoryChain":{"CType":0,"SearchYn":false,"Order":0,"NType":0,"FriendlyURL":"String","Selected":false,"SubCats":[{"CType":0,"SearchYn":false,"Order":0,"NType":0,"FriendlyURL":"String","Selected":false,"SubCats":[{"CType":0,"SearchYn":false,"Order":0,"NType":0,"FriendlyURL":"String","Selected":false,"SubCats":[{}],"Count":0,"CategoryId":0,"Name":"String","Code":"String","PId":0,"ActiveYn":false}],"Count":0,"CategoryId":0,"Name":"String","Code":"String","PId":0,"ActiveYn":false}],"Count":0,"CategoryId":0,"Name":"String","Code":"String","PId":0,"ActiveYn":false},"PtSetting":{"SearchMapOnlyUsedCondition":false,"SearchMapDefaultScale":0,"SearchPostYn":false,"SearchStoreYn":false,"SearchPostOnMapYn":false,"SearchStoreOnMapYn":false,"SearchConditionYn":false,"SearchSaleTypeYn":false,"PtAllowSaleYn":false,"SearchDefault":1,"SearchMapMethod":1,"DefaultCommissionRate":0,"VirtualDepartmentSource":"String","FriendlyUrlSource":"String","SearchAddressLevel":0,"PostTypeId":0,"Name":"String","Desciption":"String","FriendlyUrl":"String","ActiveYn":false},"BreadCrumb":[{"CType":0,"SearchYn":false,"Order":0,"NType":0,"FriendlyURL":"String","Selected":false,"SubCats":[{"CType":0,"SearchYn":false,"Order":0,"NType":0,"FriendlyURL":"String","Selected":false,"SubCats":[{"CType":0,"SearchYn":false,"Order":0,"NType":0,"FriendlyURL":"String","Selected":false,"Count":0,"CategoryId":0,"Name":"String","Code":"String","PId":0,"ActiveYn":false}],"Count":0,"CategoryId":0,"Name":"String","Code":"String","PId":0,"ActiveYn":false}],"Count":0,"CategoryId":0,"Name":"String","Code":"String","PId":0,"ActiveYn":false}],"StoreSetting":{"UseMapInStore":0,"UseStoreDesc":0,"UseStoreSummary":0,"AllowActiveLocation":false,"AllowRouteMessage":false,"MaxMediaCount":0,"UseDepartmentYn":false,"UseMinAmountForOrder":false,"AllowEmptyOrCustomBasket":false,"UseDeliveryMethods":false,"AllowDeliveryToAddress":false,"AllowDeliveryInStore":false,"AllowDeliveryByCargo":false,"ShippingPriceYn":false,"UseAmountPerDistance":false,"UseAmountPerMinute":false,"UseOpenHours":false,"DefaultMinAmountForOrder":0,"UseAverageServiceTime":false,"DefaultAverageServiceTime":0,"UseMaxDeliveryDistance":false,"DefaultMaxDistance":0,"PaymentWithNeedion":false,"PaymentOnAddresYn":false,"DefaultCommissionRate":0}},"Result":false,"ResMessage":"String","Error":{"ErrorYn":false,"ErrorCode":"String","ErrorDescription":"String"}}