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.
PUT /client/OrderAssessment/Update HTTP/1.1
Host: api.helferportal.de
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
OrderAssessment:
{
OrderAssessmentId: 0,
AvoidHelper: False,
PreferHelper: False,
DescriptionText: String,
Anonym: False
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
OrderAssessmentId: 0,
OrderId: 0,
OrderSeriesId: 0,
PersonInNeedId: 0,
CreatedAt: 0001-01-01,
PersonGivingHelpId: 0,
AvoidHelper: False,
PreferHelper: False,
Text: String,
Origin: Admin,
Anonym: False
}