s1 API Host

<back to all web services

UpdateNotificationRequest

The following routes are available for this service:
PUT, OPTIONS/api/admin/notifications/{id}Edits a notificationUser has to be authenticated and admin.
Parameters:
NameParameterData TypeRequiredDescription
IdpathstringYesThe notification id
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/UpdateNotificationRequest HTTP/1.1 
Host: api2.ghs-automotive.nl 
Content-Type: text/csv
Content-Length: length

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