Needio.Services

<back to all web services

GetSlidersRequest

The following routes are available for this service:
All Verbs/Genel/GetSliders
GetSlidersRequest Parameters:
NameParameterData TypeRequiredDescription
SliderCodequerystringNo
CategoryKeyquerystringNo
ItemTypequeryItemTypes?No
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
APIKeyformstringNo
GetSlidersResponse Parameters:
NameParameterData TypeRequiredDescription
SlidersformList<SliderDto>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
BasePageInfo Parameters:
NameParameterData TypeRequiredDescription
TotalRecordCountformintNo
TotalPageCountformintNo
CurrentPageformintNo
SliderDto Parameters:
NameParameterData TypeRequiredDescription
SliderIdformintNo
SliderCodeformstringNo
ItemTypeformItemTypesNo
HeaderTextformstringNo
OrderformintNo
ActionformDBActionNo
ActiveYnformboolNo
ItemsformList<SItemDto>No
ItemTypes Enum:
NameValue
Post1
Store2
Category3
Product4
Campaign11
Banner21
DBAction Enum:
NameValue
None0
Insert1
Update2
Delete3
SItemDto Parameters:
NameParameterData TypeRequiredDescription
ItemTypeformItemTypesNo
ItemIdformintNo
ItemKeyformstringNo
ItemNameformstringNo
ItemHeaderformstringNo
DescriptionformstringNo
CategoryKeyformstringNo
ConditionIdformintNo
ParentItemTypeformItemTypesNo
ParentItemIdformintNo
ParentItemHeaderformstringNo
ParentFriendlyURLformstringNo
ParentMainMediaIdformstringNo
ParentMainMediaFriendlyURLformstringNo
PostTypeIdformshortNo
LocationformGeoLocationNo
MainMediaIdformstringNo
MainMediaFriendlyURLformstringNo
ListPriceformdecimal?No
SalePriceformdecimal?No
DiscountRateformdecimal?No
AddCommisionYnformboolNo
PublishYnformboolNo
MapAvatarformstringNo
FriendlyURLformstringNo
AvgRateformdecimalNo
RateCountformintNo
FollowCountformintNo
ViewCountformintNo
DidUserFollowformboolNo
ScoreformshortNo
DistanceformdoubleNo
StockTypeformshort?No
PriceTypeformshort?No
InStockYnformbool?No
InStockformint?No
AllowSaleYnformboolNo
CampaingnformItemCampaignDtoNo
PropertiesformList<PropertyDto>No
CargoPriceformdecimalNo
GeoLocation Parameters:
NameParameterData TypeRequiredDescription
LonformstringNo
LatformstringNo
GeoAddressformstringNo
IsDeletedformboolNo
ItemCampaignDto Parameters:
NameParameterData TypeRequiredDescription
CampaignIdformintNo
CampaignCodeformstringNo
DescriptionformstringNo
MessageformstringNo
CampaignMessageformstringNo
ItemIdformintNo
ItemTypeformItemTypesNo
SaleQtyformintNo
MinimumQtyformintNo
InputSalePriceformdecimalNo
CSalePriceformdecimalNo
CTotalPriceformdecimalNo
CampaignTypeformCampaignTypesNo
CDiscountTypeformCampaignDiscountTypesNo
CDiscountQtyformintNo
CDiscountRateformdecimalNo
CDiscountAmtformdecimalNo
BeginDateformDateTimeNo
EndDateformDateTimeNo
LogoUrlformstringNo
ShowPriceYnformboolNo
CampaignAppliedformboolNo
CampaignTypes Enum:
NameValue
OnlyList0
SameProduct1
DifferentProduct2
AnyProduct3
Custom4
BasketDiscount11
StoreDiscount12
CampaignDiscountTypes Enum:
NameValue
Percent1
Amount2
Quantity3
PropertyDto Parameters:
NameParameterData TypeRequiredDescription
KeyformstringNo
ValueformstringNo
GetSlidersResponse Parameters:
NameParameterData TypeRequiredDescription
SlidersformList<SliderDto>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 /Genel/GetSliders HTTP/1.1 
Host: baseservices.needion.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	SliderCode: String,
	CategoryKey: String,
	ItemType: 0,
	start: 2021-12-04T16:10:51.9005659+03:00,
	DeviceUUID: String,
	APIKey: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Sliders: 
	[
		{
			SliderId: 0,
			SliderCode: String,
			ItemType: 1,
			HeaderText: String,
			Order: 0,
			Action: 0,
			ActiveYn: False,
			Items: 
			[
				{
					ItemType: 1,
					ItemId: 0,
					ItemKey: String,
					ItemName: String,
					ItemHeader: String,
					Description: String,
					CategoryKey: String,
					ConditionId: 0,
					ParentItemType: 1,
					ParentItemId: 0,
					ParentItemHeader: String,
					ParentFriendlyURL: String,
					ParentMainMediaId: String,
					ParentMainMediaFriendlyURL: String,
					PostTypeId: 0,
					Location: 
					{
						Lon: String,
						Lat: String,
						GeoAddress: String,
						IsDeleted: False
					},
					MainMediaId: String,
					MainMediaFriendlyURL: String,
					ListPrice: 0,
					SalePrice: 0,
					DiscountRate: 0,
					AddCommisionYn: False,
					PublishYn: False,
					MapAvatar: String,
					FriendlyURL: String,
					AvgRate: 0,
					RateCount: 0,
					FollowCount: 0,
					ViewCount: 0,
					DidUserFollow: False,
					Score: 0,
					Distance: 0,
					StockType: 0,
					PriceType: 0,
					InStockYn: False,
					InStock: 0,
					AllowSaleYn: False,
					Campaingn: 
					{
						CampaignId: 0,
						CampaignCode: String,
						Description: String,
						Message: String,
						CampaignMessage: String,
						ItemId: 0,
						ItemType: 1,
						SaleQty: 0,
						MinimumQty: 0,
						InputSalePrice: 0,
						CSalePrice: 0,
						CTotalPrice: 0,
						CampaignType: 0,
						CDiscountType: 1,
						CDiscountQty: 0,
						CDiscountRate: 0,
						CDiscountAmt: 0,
						BeginDate: 0001-01-01,
						EndDate: 0001-01-01,
						LogoUrl: String,
						ShowPriceYn: False,
						CampaignApplied: False
					},
					Properties: 
					[
						{
							Key: String,
							Value: String
						}
					],
					CargoPrice: 0
				}
			]
		}
	],
	Result: False,
	ResMessage: String,
	Error: 
	{
		ErrorYn: False,
		ErrorCode: String,
		ErrorDescription: String
	},
	PageInfo: 
	{
		TotalRecordCount: 0,
		TotalPageCount: 0,
		CurrentPage: 0
	}
}