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
MessageTemplateTypequeryMessageTemplateTypesNo
MessageTemplateCodequerystringNo
MessageParametersqueryDictionary<string, string>No
RelatedIdquerystringNo
RelatedRecordquerystringNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
APIKeyformstringNo
isAdminformboolNo
CmdformstringNo
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
Buyer1
StoreUser2
StoreAdmin4
Admin8
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
SellerStartShippmentAdditionalCargo131
ApproveTransAdditionalCargoByBuyerToSeller132
RejectTransAdditionalCargoByBuyerToSeller133
ShipReturnAdditionalCargoBySellerToBuyer136
ApproveReturnAdditionalCargoByBuyerToSeller137
RejectReturnAdditionalCargoByBuyerToSeller138
BB_Test201
BB_AddService202
BB_AssignServiceToStoreUser203
BB_ApproveService204
BB_CancelService205
BB_CancelServiceByStore206
BB_ServiceWaitingKeyByHand207
BB_ServiceWaitingKeyByShipping208
BB_ServiceKeyObtainedByShipping209
BB_ServiceKeyNotObtained210
BB_ServiceCargoNotDelivered211
BB_CancelServiceByET212
BB_ServiceStarted213
BB_ServiceFinished214
BB_ServiceApproveReport215
BB_ServiceAcceptReport216
BB_ServiceReceiveKey217
BB_ServiceReturnKey218
BB_ServiceReturnKeyToOwner219
BB_ServiceOfferExpiring220
BB_AddOffer221
BB_AssignOfferToStoreUser222
BB_ApproveOffer223
BB_CancelOffer224
BB_CancelOfferByStore225
BB_OfferWaitingKeyByHand226
BB_OfferWaitingKeyByShipping227
BB_OfferKeyObtainedByShipping228
BB_OfferKeyNotObtained229
BB_OfferCargoNotDelivered230
BB_OfferTaskStarted231
BB_OfferReceiveKey232
BB_OfferReturnKey233
BB_OfferTaskFinished234
BB_OfferApproveReport235
BB_OfferAcceptReport236
BB_OfferRejectReport237
BB_OfferExpiring238
BB_OfferReturnKeyToOwner239
BB_ServiceWaitingKeyFromHome240
BB_ServiceWaitingKeyFromAddress241
BB_OfferWaitingKeyFromHome242
BB_OfferWaitingKeyFromAddress243
BB_ServiceWaitingKeyByHand2244
BB_ServiceWaitingKeyByShipping2245
BB_ServiceWaitingKeyFromHome2246
BB_ServiceWaitingKeyFromAddress2247
BB_OfferWaitingKeyByHand2248
BB_OfferWaitingKeyByShipping2249
BB_OfferWaitingKeyFromHome2250
BB_OfferWaitingKeyFromAddress2251
BB_ServiceNewAltOfferAdded252
MessageTemplateTypes Enum:
NameValue
Email1
SMS2
FCM3
Document4
GUI11
API12
TicketDesk21

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

HTTP + CSV

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/csv
Content-Type: text/csv
Content-Length: length

{"ServiceId":0,"Targets":1,"NotificationTypes":1,"MessageTemplateType":1,"MessageTemplateCode":"String","MessageParameters":{"String":"String"},"RelatedId":"String","RelatedRecord":"String","start":"\/Date(-62135596800000-0000)\/","DeviceUUID":"String","APIKey":"String","isAdmin":false,"Cmd":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

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