GET api/PayoutModelApi/GetPayouts

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of PayoutModelApi
NameDescriptionTypeAdditional information
ID

integer

None.

Date

date

None.

PayoutType

string

None.

DriverID

integer

None.

DriverName

string

None.

OwnerID

integer

None.

OwnerName

string

None.

TruckID

integer

None.

TruckName

string

None.

Amount

decimal number

None.

Note

string

None.

CreatedDateTime

date

None.

ModifiedDateTime

date

None.

Closed

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Date": "2023-11-28T10:52:04.5496016+00:00",
    "PayoutType": "sample string 3",
    "DriverID": 4,
    "DriverName": "sample string 5",
    "OwnerID": 6,
    "OwnerName": "sample string 7",
    "TruckID": 8,
    "TruckName": "sample string 9",
    "Amount": 10.1,
    "Note": "sample string 11",
    "CreatedDateTime": "2023-11-28T10:52:04.5496016+00:00",
    "ModifiedDateTime": "2023-11-28T10:52:04.5496016+00:00",
    "Closed": true
  },
  {
    "ID": 1,
    "Date": "2023-11-28T10:52:04.5496016+00:00",
    "PayoutType": "sample string 3",
    "DriverID": 4,
    "DriverName": "sample string 5",
    "OwnerID": 6,
    "OwnerName": "sample string 7",
    "TruckID": 8,
    "TruckName": "sample string 9",
    "Amount": 10.1,
    "Note": "sample string 11",
    "CreatedDateTime": "2023-11-28T10:52:04.5496016+00:00",
    "ModifiedDateTime": "2023-11-28T10:52:04.5496016+00:00",
    "Closed": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfPayoutModelApi xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PayoutModelApi>
    <ID>1</ID>
    <Date>2023-11-28T10:52:04.5496016+00:00</Date>
    <PayoutType>sample string 3</PayoutType>
    <DriverID>4</DriverID>
    <DriverName>sample string 5</DriverName>
    <OwnerID>6</OwnerID>
    <OwnerName>sample string 7</OwnerName>
    <TruckID>8</TruckID>
    <TruckName>sample string 9</TruckName>
    <Amount>10.1</Amount>
    <Note>sample string 11</Note>
    <CreatedDateTime>2023-11-28T10:52:04.5496016+00:00</CreatedDateTime>
    <ModifiedDateTime>2023-11-28T10:52:04.5496016+00:00</ModifiedDateTime>
    <Closed>true</Closed>
  </PayoutModelApi>
  <PayoutModelApi>
    <ID>1</ID>
    <Date>2023-11-28T10:52:04.5496016+00:00</Date>
    <PayoutType>sample string 3</PayoutType>
    <DriverID>4</DriverID>
    <DriverName>sample string 5</DriverName>
    <OwnerID>6</OwnerID>
    <OwnerName>sample string 7</OwnerName>
    <TruckID>8</TruckID>
    <TruckName>sample string 9</TruckName>
    <Amount>10.1</Amount>
    <Note>sample string 11</Note>
    <CreatedDateTime>2023-11-28T10:52:04.5496016+00:00</CreatedDateTime>
    <ModifiedDateTime>2023-11-28T10:52:04.5496016+00:00</ModifiedDateTime>
    <Closed>true</Closed>
  </PayoutModelApi>
</ArrayOfPayoutModelApi>