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 .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/GetLeistungsnachweisRequest 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

{
	Id: 0,
	Guest: 0,
	Datum: 0001-01-01,
	Schicht: 0,
	AenderungVon: String,
	AenderungAm: 0001-01-01,
	Leistungsnachweis: 
	[
		{
			Leistung: 0,
			Text: String,
			Kommentar: String
		}
	]
}