Needio.Services

<back to all web services

SendServiceNotificationRequest

Requires Authentication
Required role:Approved
The following routes are available for this service:
All Verbs/ServiceMan/SendServiceNotification
SendServiceNotificationRequest Parameters:
NameParameterData TypeRequiredDescription
ServiceIdqueryintNo
TargetsqueryNotificationTargetsNo
NotificationTypesqueryNotificationTypesNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
APIKeyformstringNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
BasePageInfo Parameters:
NameParameterData TypeRequiredDescription
TotalRecordCountformintNo
TotalPageCountformintNo
CurrentPageformintNo
NotificationTargets Enum:
NameValue
Buyer0
Saler1
SalerAdmin2
Admin4
NotificationTypes Enum:
NameValue
Common1
NewMessage2
HelpDesk3
DailyReport11
TransRejectedBySaler12
TransApprovedBySaler13
NewTransaction14
TransactionIsRated15
PostIsExpried16
CampaingIsEnding17
TransApprovedByAdmin32
TransRejectedByAdmin33
NewPost51
PriceChange52
RememberTransApprove53
RememberTransRate54
TransApprovedByBuyer55
TransRejectedByBuyer56
TransCancelledByBuyer57
TransExtendShippingDate58
TransAutoRejectForNoCargo59
TransRememberForCargo60
Advertisement61
NewCampaign62
SalerStartShippment63
ReturnCreatedByBuyer71
ReturnRequestApprovedBySaler72
ReturnRequestRejectedBySaler73
ReturnRequestCancelByBuyer74
ReturnApprovedByAdmin75
ReturnRejectedByAdmin76
BuyerStartShippment77
ReturnApprovedBySaler78
ReturnRejectedBySaler79
PostSendApprove80
PostSave81
PostApprove82
PostReject83
PostIsUpdated84
PostPublish85
PostUnpublished86
StoreSendApprove90
StoreSave91
StoreApprove92
StoreReject93
StoreIsUpdated94
StorePublish95
StoreUnpublished96
FollowUser101
FollowStore102
FollowPost103
ReturnAutoRejectForNoCargo104
ReturnRequestRemember105
ReturnRequestApprovedByAdmin106
ReturnRequestAutoApproved107
ReturnRememberDelivery108
ReturnRequestRejectedByAdmin109
ReturnAutoApproved110
ReturnAutoRejectForNoInStore111
PostLowPrice120
PostLowStock121
PostRestock122
ImportFile123
BulkMessages124
DeliveryProblem125
ApproveReturnCargoBySaler126
AddInvoiceForTransaction127
AutoApproveReturnCargoBySalerNotification128
RejectReturnCargoBySaler129
BasketRemember130

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

{
	ServiceId: 0,
	Targets: 0,
	NotificationTypes: 1,
	start: 2021-10-20T20:18:50.7496946+03:00,
	DeviceUUID: String,
	APIKey: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Result: False,
	ResMessage: String,
	Error: 
	{
		ErrorYn: False,
		ErrorCode: String,
		ErrorDescription: String
	},
	PageInfo: 
	{
		TotalRecordCount: 0,
		TotalPageCount: 0,
		CurrentPage: 0
	}
}