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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/oneway/UpdateNotificationRequest HTTP/1.1 
Host: api2.ghs-automotive.nl 
Content-Type: application/json
Content-Length: length

{"id":"String","isForAllCustomerGroups":false,"isForAllCompanyWarehouses":false,"isForAllCompanies":false,"content":"String","title":"String","expiryDate":"\/Date(-62135596800000-0000)\/","publishDate":"\/Date(-62135596800000-0000)\/"}