POST api/MarshalLogs

Request Information

URI Parameters

None.

Body Parameters

MarshalLog
NameDescriptionTypeAdditional information
id

integer

None.

DateCreated

date

None.

DriverId

integer

None.

ClientId

integer

None.

DateLeft

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "DateCreated": "2021-11-30T22:37:11.1913381+02:00",
  "DriverId": 1,
  "ClientId": 1,
  "DateLeft": "2021-11-30T22:37:11.1913381+02:00"
}

application/xml, text/xml

Sample:
<MarshalLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaITBackend.Models">
  <ClientId>1</ClientId>
  <DateCreated>2021-11-30T22:37:11.1913381+02:00</DateCreated>
  <DateLeft>2021-11-30T22:37:11.1913381+02:00</DateLeft>
  <DriverId>1</DriverId>
  <id>1</id>
</MarshalLog>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MarshalLog
NameDescriptionTypeAdditional information
id

integer

None.

DateCreated

date

None.

DriverId

integer

None.

ClientId

integer

None.

DateLeft

date

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "DateCreated": "2021-11-30T22:37:11.1913381+02:00",
  "DriverId": 1,
  "ClientId": 1,
  "DateLeft": "2021-11-30T22:37:11.1913381+02:00"
}

application/xml, text/xml

Sample:
<MarshalLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaITBackend.Models">
  <ClientId>1</ClientId>
  <DateCreated>2021-11-30T22:37:11.1913381+02:00</DateCreated>
  <DateLeft>2021-11-30T22:37:11.1913381+02:00</DateLeft>
  <DriverId>1</DriverId>
  <id>1</id>
</MarshalLog>