s1 API Host

<back to all web services

CreateNotificationRequest

The following routes are available for this service:
POST, OPTIONS/api/admin/notificationsAdds a new notification for given customer groupsUser has to be authenticated.
Parameters:
NameParameterData TypeRequiredDescription
CreateNotificationRequestbodyCreateNotificationRequestYesGive the required values in the body to add a notification for the given customer groups.

To override the Content-type in your clients 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 /jsv/oneway/CreateNotificationRequest HTTP/1.1 
Host: s1-api.fource.nl 
Content-Type: text/jsv
Content-Length: length

{
	isForAllCustomerGroups: False,
	isForAllCompanyWarehouses: False,
	isForAllCompanies: False,
	content: String,
	title: String,
	expiryDate: 0001-01-01,
	publishDate: 0001-01-01
}