Needio.Services

<back to all web services

UpdateStoreCustomsRequest

Requires Authentication
Required role:Approved
The following routes are available for this service:
All Verbs/Store/UpdateStoreCustoms/
UpdateStoreCustomsRequest Parameters:
NameParameterData TypeRequiredDescription
StoreCustomsqueryStoreCustomDtoNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
APIKeyformstringNo
isAdminformboolNo
CmdformstringNo
UpdateStoreCustomsResponse Parameters:
NameParameterData TypeRequiredDescription
StoreCustomsformStoreCustomDtoNo
UseOpenHoursformboolNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
BasePageInfo Parameters:
NameParameterData TypeRequiredDescription
TotalRecordCountformintNo
TotalPageCountformintNo
CurrentPageformintNo
StoreCustomDto Parameters:
NameParameterData TypeRequiredDescription
StoreIdformintNo
StoreCustomIdformintNo
ExternalYnformboolNo
ExtProviderIdformExternalProvidersNo
ExtProviderformstringNo
SecretKeyformstringNo
ApiKeyformstringNo
ChatMethodformChatMethodsNo
TransTrackMethodformTransactionTrackMethodsNo
NotificationMethodformNotificationMethodsNo
StockCodeControlYnformboolNo
CargoCostApplyMethodsformCargoCostApplyMethodsNo
PreferedShipmentTypeformShipmentTypesNo
PreferedShipmentMethodIdformShippingCompanies?No
PreferedReturnShipmentTypeformShipmentTypesNo
PreferedReturnShipmentMethodIdformShippingCompanies?No
PreferedReturnShipmentDescriptionformstringNo
ExtensionDataformstringNo
ExtApiKeyformstringNo
ExtSecretKeyformstringNo
ExtStoreCodeformstringNo
OpenHoursformWeekOpenHoursNo
ExternalProviders Enum:
NameValue
Needion0
Ayensoft1
Entegra2
Jetteknoloji3
Propars4
StockMount11
Xml12
API13
ChatMethods Enum:
NameValue
NoChat0
Platform1
External2
TransactionTrackMethods Enum:
NameValue
Platform1
External2
NotificationMethods Enum:
NameValue
None0
OnlyFCM1
All2
CargoCostApplyMethods Enum:
NameValue
Global0
AllOrders1
OrderBased2
StorePointBased3
StorePointAndOrderBased4
NoCostApply9
ShipmentTypes Enum:
NameValue
None0
Online1
Manual2
External3
ShippingCompanies Enum:
NameValue
YurticiKargo1
ArasKargo2
UPSKargo3
MNGKargo4
SuratKargo5
DHLKargo6
PTTKargo8
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
DBAction Enum:
NameValue
None0
Insert1
Update2
Delete3
UpdateStoreCustomsResponse Parameters:
NameParameterData TypeRequiredDescription
StoreCustomsformStoreCustomDtoNo
UseOpenHoursformboolNo

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/UpdateStoreCustoms/ HTTP/1.1 
Host: baseservices.needion.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	StoreCustoms: 
	{
		StoreId: 0,
		StoreCustomId: 0,
		ExternalYn: False,
		ExtProviderId: 0,
		ExtProvider: String,
		SecretKey: String,
		ApiKey: String,
		ChatMethod: 0,
		TransTrackMethod: 1,
		NotificationMethod: 0,
		StockCodeControlYn: False,
		CargoCostApplyMethods: 0,
		PreferedShipmentType: 0,
		PreferedShipmentMethodId: 0,
		PreferedReturnShipmentType: 0,
		PreferedReturnShipmentMethodId: 0,
		PreferedReturnShipmentDescription: String,
		ExtensionData: String,
		ExtApiKey: String,
		ExtSecretKey: String,
		ExtStoreCode: String,
		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
		}
	},
	start: 0001-01-01,
	DeviceUUID: String,
	APIKey: String,
	isAdmin: False,
	Cmd: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	StoreCustoms: 
	{
		StoreId: 0,
		StoreCustomId: 0,
		ExternalYn: False,
		ExtProviderId: 0,
		ExtProvider: String,
		SecretKey: String,
		ApiKey: String,
		ChatMethod: 0,
		TransTrackMethod: 1,
		NotificationMethod: 0,
		StockCodeControlYn: False,
		CargoCostApplyMethods: 0,
		PreferedShipmentType: 0,
		PreferedShipmentMethodId: 0,
		PreferedReturnShipmentType: 0,
		PreferedReturnShipmentMethodId: 0,
		PreferedReturnShipmentDescription: String,
		ExtensionData: String,
		ExtApiKey: String,
		ExtSecretKey: String,
		ExtStoreCode: String,
		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
		}
	},
	UseOpenHours: False,
	Result: False,
	ResMessage: String,
	Error: 
	{
		ErrorYn: False,
		ErrorCode: String,
		ErrorDescription: String
	},
	PageInfo: 
	{
		TotalRecordCount: 0,
		TotalPageCount: 0,
		CurrentPage: 0
	}
}