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

HTTP + JSV

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

POST /jsv/reply/GetNachrichtRequest HTTP/1.1 
Host: 058.service.xn--hwstationr-y5a.de 
Content-Type: text/jsv
Content-Length: length

{
	GuestId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	data: 
	[
		{
			Id: 0,
			Datum: 0001-01-01,
			Ueberschrift: String,
			Text: String
		}
	]
}