Cs_Service

<back to all web services

GetLeistungsnachweisRequest

The following routes are available for this service:
GET/rest/Leistungsnachweis/{guestId}
GetLeistungsnachweisRequest Parameters:
NameParameterData TypeRequiredDescription
GuestIdpathintNo
LeistungsnachweisResponseData Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
GuestformintNo
DatumformDateTimeNo
SchichtformintNo1=früh, 2=spät, 3=nacht
AenderungVonformstringNo
AenderungAmformDateTimeNo
LeistungsnachweisformList<Leistungsnachweis>NoArray[] von Leistungsnachweisen
Leistungsnachweis Parameters:
NameParameterData TypeRequiredDescription
LeistungformintNo
TextformstringNo
KommentarformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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

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

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

{"Id":0,"Guest":0,"Datum":"\/Date(-62135596800000-0000)\/","Schicht":0,"AenderungVon":"String","AenderungAm":"\/Date(-62135596800000-0000)\/","Leistungsnachweis":[{"Leistung":0,"Text":"String","Kommentar":"String"}]}