POST api/Expenses/InsertExpenses
Request Information
URI Parameters
None.
Body Parameters
ExpensesDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| UserId | integer |
None. |
|
| UserName | string |
None. |
|
| InstanceName | string |
None. |
|
| Category | string |
None. |
|
| Amount | decimal number |
None. |
|
| Remarks | string |
None. |
|
| RaisedDate | date |
None. |
|
| StatusId | integer |
None. |
|
| AttachmentUrl | string |
None. |
|
| CreatedDate | date |
None. |
|
| UpdatedBy | integer |
None. |
|
| UpdatedDate | date |
None. |
|
| IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"UserId": 2,
"UserName": "sample string 3",
"InstanceName": "sample string 4",
"Category": "sample string 5",
"Amount": 6.0,
"Remarks": "sample string 7",
"RaisedDate": "2026-11-12T09:54:29.4963169+05:30",
"StatusId": 9,
"AttachmentUrl": "sample string 10",
"CreatedDate": "2026-11-12T09:54:29.4973165+05:30",
"UpdatedBy": 1,
"UpdatedDate": "2026-11-12T09:54:29.4983335+05:30",
"IsActive": true
}
application/xml, text/xml
Sample:
<ExpensesDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Geovista.Entity"> <Amount>6</Amount> <AttachmentUrl>sample string 10</AttachmentUrl> <Category>sample string 5</Category> <CreatedDate>2026-11-12T09:54:29.4973165+05:30</CreatedDate> <Id>1</Id> <InstanceName>sample string 4</InstanceName> <IsActive>true</IsActive> <RaisedDate>2026-11-12T09:54:29.4963169+05:30</RaisedDate> <Remarks>sample string 7</Remarks> <StatusId>9</StatusId> <UpdatedBy>1</UpdatedBy> <UpdatedDate>2026-11-12T09:54:29.4983335+05:30</UpdatedDate> <UserId>2</UserId> <UserName>sample string 3</UserName> </ExpensesDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.