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

HTTP + XML

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

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

<GetNachrichtRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/plg_Nachricht">
  <GuestId>0</GuestId>
</GetNachrichtRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<NachrichtResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/plg_Nachricht">
  <data>
    <NachrichtResponseData>
      <Datum>0001-01-01T00:00:00</Datum>
      <Id>0</Id>
      <Text>String</Text>
      <Ueberschrift>String</Ueberschrift>
    </NachrichtResponseData>
  </data>
</NachrichtResponse>