| Required role: | superadmin |
| PUT | /transporteur |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Transporteur | body | TransporteurDto | No | |
| Account | body | AccountDto | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Naam | form | string | No | |
| Status | form | ActiveStatusDto | No | |
| LicentieCode | form | string | No | |
| ApiKey | form | string | No | |
| OverheidsAdres | form | string | No | |
| OverheidsHuisnummer | form | int | No | |
| OverheidsToevoeging | form | string | No | |
| OverheidsPostcode | form | string | No | |
| OverheidsPlaats | form | string | No | |
| VIHB | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Gebruikersnaam | form | string | No | |
| form | string | No | ||
| Wachtwoord | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /transporteur HTTP/1.1
Host: ebaliteapi.pieterbas.nl
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Transporteur:
{
Id: 0,
Naam: String,
Status: Actief,
LicentieCode: String,
ApiKey: String,
OverheidsAdres: String,
OverheidsHuisnummer: 0,
OverheidsToevoeging: String,
OverheidsPostcode: String,
OverheidsPlaats: String,
VIHB: String
},
Account:
{
Id: 0,
Gebruikersnaam: String,
Email: String,
Wachtwoord: String
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}