PUT api/Expense/UpdateExpense

Request Information

URI Parameters

None.

Body Parameters

Expense
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

IDNO

string

None.

ExpenseType

string

None.

Amount

string

None.

Mobile

string

None.

Email

string

None.

Status

string

None.

Date

string

None.

Photo

string

None.

ApprovedBy

string

None.

CreatedBy

string

None.

CreatedDate

string

None.

UpdatedBy

string

None.

UpdatedDate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "IDNO": "sample string 3",
  "ExpenseType": "sample string 4",
  "Amount": "sample string 5",
  "Mobile": "sample string 6",
  "Email": "sample string 7",
  "Status": "sample string 8",
  "Date": "sample string 9",
  "Photo": "sample string 10",
  "ApprovedBy": "sample string 11",
  "CreatedBy": "sample string 12",
  "CreatedDate": "sample string 13",
  "UpdatedBy": "sample string 14",
  "UpdatedDate": "sample string 15"
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"Name":"sample string 2","IDNO":"sample string 3","ExpenseType":"sample string 4","Amount":"sample string 5","Mobile":"sample string 6","Email":"sample string 7","Status":"sample string 8","Date":"sample string 9","Photo":"sample string 10","ApprovedBy":"sample string 11","CreatedBy":"sample string 12","CreatedDate":"sample string 13","UpdatedBy":"sample string 14","UpdatedDate":"sample string 15"}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Expense'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.