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 .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 /csv/oneway/CreateNotificationRequest HTTP/1.1 
Host: s1-api-tst.fource.nl 
Content-Type: text/csv
Content-Length: length

IsForAllCustomerGroups,IsForAllCompanyWarehouses,CustomerGroups,CompanyWarehouses,IsForAllCompanies,CompanyIds,Content,Title,ExpiryDate,PublishDate
False,False,,,False,,String,String,0001-01-01,0001-01-01