Needio.Services

<back to all web services

GetMyStoreInfosRequest

Requires Authentication
The following routes are available for this service:
All Verbs/Store/GetMyStoreInfos/
GetMyStoreInfosRequest Parameters:
NameParameterData TypeRequiredDescription
SearchTextquerystringNo
ListTypequeryItemListTypes?No
IncludeNotOpenYnqueryboolNo
IncludeOpenYnqueryboolNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
GetMyStoreInfosResponse Parameters:
NameParameterData TypeRequiredDescription
StoresformList<StoreInfo>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
StoreInfo Parameters:
NameParameterData TypeRequiredDescription
StoreIdformintNo
StoreNameformstringNo
StoreHeaderformstringNo
DescriptionformstringNo
PostTypeIdformshortNo
FriendlyURLformstringNo
StoreCategory1Idformshort?No
StoreSubCategory1Idformshort?No
ItemListTypes Enum:
NameValue
Drafts0
ActiveAndDrafts9
Actives10
Archived11
ActiveAndAchive12
All101
GetMyStoreInfosResponse Parameters:
NameParameterData TypeRequiredDescription
StoresformList<StoreInfo>No

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

HTTP + JSV

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

POST /Store/GetMyStoreInfos/ HTTP/1.1 
Host: baseservices2.needion.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	SearchText: String,
	ListType: 0,
	IncludeNotOpenYn: False,
	IncludeOpenYn: False,
	start: 2020-07-11T12:40:33.6193848+03:00
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Stores: 
	[
		{
			StoreId: 0,
			StoreName: String,
			StoreHeader: String,
			Description: String,
			PostTypeId: 0,
			FriendlyURL: String,
			StoreCategory1Id: 0,
			StoreSubCategory1Id: 0
		}
	],
	Result: False,
	ResMessage: String,
	Error: 
	{
		ErrorYn: False,
		ErrorCode: String,
		ErrorDescription: String
	}
}