POST api/Expense/SaveExpense

Request Information

URI Parameters

None.

Body Parameters

clsExpenses
NameDescriptionTypeAdditional information
LedgerID

string

None.

LedgerName

string

None.

ExpenseDate

string

None.

Amount

string

None.

ExpenseTypeID

string

None.

Remarks

string

None.

UserID

string

None.

FromDate

string

None.

ToDate

string

None.

ExpenseID

string

None.

FileName

string

None.

ExpenseDocID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LedgerID": "sample string 1",
  "LedgerName": "sample string 2",
  "ExpenseDate": "sample string 3",
  "Amount": "sample string 4",
  "ExpenseTypeID": "sample string 5",
  "Remarks": "sample string 6",
  "UserID": "sample string 7",
  "FromDate": "sample string 8",
  "ToDate": "sample string 9",
  "ExpenseID": "sample string 10",
  "FileName": "sample string 11",
  "ExpenseDocID": "sample string 12"
}

application/xml, text/xml

Sample:
<clsExpenses xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SevenDot_BLL.Model">
  <Amount>sample string 4</Amount>
  <ExpenseDate>sample string 3</ExpenseDate>
  <ExpenseDocID>sample string 12</ExpenseDocID>
  <ExpenseID>sample string 10</ExpenseID>
  <ExpenseTypeID>sample string 5</ExpenseTypeID>
  <FileName>sample string 11</FileName>
  <FromDate>sample string 8</FromDate>
  <LedgerID>sample string 1</LedgerID>
  <LedgerName>sample string 2</LedgerName>
  <Remarks>sample string 6</Remarks>
  <ToDate>sample string 9</ToDate>
  <UserID>sample string 7</UserID>
</clsExpenses>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.