PUT api/ExpenseModelApi/PutExpenseModel?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
ExpenseModelApiName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Date | date |
None. |
|
ExpenseDepartmentName | string |
None. |
|
ExpenseDepartmentType | 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-28T19:37:10.6485735+00:00", "ExpenseDepartmentName": "sample string 3", "ExpenseDepartmentType": "sample string 4", "DriverID": 5, "DriverName": "sample string 6", "OwnerID": 7, "OwnerName": "sample string 8", "TruckID": 9, "TruckName": "sample string 10", "Amount": 11.1, "Note": "sample string 12", "CreatedDateTime": "2025-03-28T19:37:10.6485735+00:00", "ModifiedDateTime": "2025-03-28T19:37:10.6485735+00:00", "Closed": true }
application/xml, text/xml
Sample:
<ExpenseModelApi xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ID>1</ID> <Date>2025-03-28T19:37:10.6485735+00:00</Date> <ExpenseDepartmentName>sample string 3</ExpenseDepartmentName> <ExpenseDepartmentType>sample string 4</ExpenseDepartmentType> <DriverID>5</DriverID> <DriverName>sample string 6</DriverName> <OwnerID>7</OwnerID> <OwnerName>sample string 8</OwnerName> <TruckID>9</TruckID> <TruckName>sample string 10</TruckName> <Amount>11.1</Amount> <Note>sample string 12</Note> <CreatedDateTime>2025-03-28T19:37:10.6485735+00:00</CreatedDateTime> <ModifiedDateTime>2025-03-28T19:37:10.6485735+00:00</ModifiedDateTime> <Closed>true</Closed> </ExpenseModelApi>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.