The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /rit HTTP/1.1
Host: ebaliteapi.pieterbas.nl
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
AfvalstroomContractId: 0,
TransporteurReferentie: String,
Kenteken: String,
Afzender:
{
Naam: String,
Straat: String,
Huisnummer: 0,
Toevoeging: String,
Postcode: String,
Plaats: String
},
Herkomst:
{
Naam: String,
Straat: String,
Huisnummer: 0,
Toevoeging: String,
Postcode: String,
Plaats: String
},
VooraanmeldingReferentie: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
RitId: 0,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}