Cs_Service

<back to all web services

GetNachrichtRequest

The following routes are available for this service:
GET/rest/Nachricht
GET/rest/Nachricht/{guestId}
GetNachrichtRequest Parameters:
NameParameterData TypeRequiredDescription
GuestIdpathintNo
NachrichtResponse Parameters:
NameParameterData TypeRequiredDescription
dataformList<NachrichtResponseData>No
NachrichtResponseData Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
DatumformDateTime?No
UeberschriftformstringNo
TextformstringNo

To override the Content-type in your clients, use the 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/GetNachrichtRequest HTTP/1.1 
Host: 058.service.xn--hwstationr-y5a.de 
Content-Type: application/json
Content-Length: length

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

{"data":[{"Id":0,"Datum":"\/Date(-62135596800000-0000)\/","Ueberschrift":"String","Text":"String"}]}