s1 API Host

<back to all web services

GetNotificationRequest

The following routes are available for this service:
GET, OPTIONS/api/admin/notifications/{id}Gets the specified notifications.User has to be authenticated and admin.
Parameters:
NameParameterData TypeRequiredDescription
IdpathstringYesThe id of the notification

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/reply/GetNotificationRequest HTTP/1.1 
Host: api-beta.ghs-automotive.nl 
Content-Type: application/json
Content-Length: length

{"id":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"notification":{"publishDate":"\/Date(-62135596800000-0000)\/","expiryDate":"\/Date(-62135596800000-0000)\/","title":"String","content":"String","isForAllCustomerGroups":false,"isForAllCompanyWarehouses":false,"isForAllCompanies":false,"id":"String"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String"}]}}