POST api/Invoices/Update
Request Information
URI Parameters
None.
Body Parameters
InvoicesModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| User_Id | integer |
None. |
|
| Invoice_Date | date |
None. |
|
| Amount | decimal number |
None. |
|
| Description | string |
None. |
|
| IsActive | boolean |
Required |
|
| CreatedBy | string |
Required |
|
| CreatedDate | date |
Required |
|
| UpdatedBy | string |
None. |
|
| UpdatedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"User_Id": 2,
"Invoice_Date": "2025-12-11T04:34:03.1929173+05:30",
"Amount": 4.1,
"Description": "sample string 5",
"IsActive": true,
"CreatedBy": "sample string 7",
"CreatedDate": "2025-12-11T04:34:03.1929173+05:30",
"UpdatedBy": "sample string 9",
"UpdatedDate": "2025-12-11T04:34:03.1929173+05:30"
}
application/xml, text/xml
Sample:
<InvoicesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PropertyRMS.Model"> <Amount>4.1</Amount> <CreatedBy>sample string 7</CreatedBy> <CreatedDate>2025-12-11T04:34:03.1929173+05:30</CreatedDate> <Description>sample string 5</Description> <Id>1</Id> <Invoice_Date>2025-12-11T04:34:03.1929173+05:30</Invoice_Date> <IsActive>true</IsActive> <UpdatedBy>sample string 9</UpdatedBy> <UpdatedDate>2025-12-11T04:34:03.1929173+05:30</UpdatedDate> <User_Id>2</User_Id> </InvoicesModel>
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.