PUT api/PayoutModelApi/PutPayoutModel?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
PayoutModelApiName | Description | Type | Additional 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. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "Date": "2025-03-29T11:59:00.5180608+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": "2025-03-29T11:59:00.5180608+00:00", "ModifiedDateTime": "2025-03-29T11:59:00.5180608+00:00", "Closed": true }
application/xml, text/xml
Sample:
<PayoutModelApi xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ID>1</ID> <Date>2025-03-29T11:59:00.5180608+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>2025-03-29T11:59:00.5180608+00:00</CreatedDateTime> <ModifiedDateTime>2025-03-29T11:59:00.5180608+00:00</ModifiedDateTime> <Closed>true</Closed> </PayoutModelApi>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.