POST api/Admin/AddExpenseDetail

Request Information

URI Parameters

None.

Body Parameters

modaddexpensedetail
NameDescriptionTypeAdditional information
vendorid

string

None.

userid

string

None.

expenseid

string

None.

vendername

string

None.

receipt

string

None.

totalgst

string

None.

finalamount

string

None.

expense

Collection of modaddexpense

None.

Request Formats

application/json, text/json

Sample:
{
  "vendorid": "sample string 1",
  "userid": "sample string 2",
  "expenseid": "sample string 3",
  "vendername": "sample string 4",
  "receipt": "sample string 5",
  "totalgst": "sample string 6",
  "finalamount": "sample string 7",
  "expense": [
    {
      "itemname": "sample string 1",
      "price": "sample string 2",
      "quantity": "sample string 3",
      "gstpercentage": "sample string 4",
      "totalamount": "sample string 5"
    },
    {
      "itemname": "sample string 1",
      "price": "sample string 2",
      "quantity": "sample string 3",
      "gstpercentage": "sample string 4",
      "totalamount": "sample string 5"
    }
  ]
}

text/html

Sample:
{"vendorid":"sample string 1","userid":"sample string 2","expenseid":"sample string 3","vendername":"sample string 4","receipt":"sample string 5","totalgst":"sample string 6","finalamount":"sample string 7","expense":[{"itemname":"sample string 1","price":"sample string 2","quantity":"sample string 3","gstpercentage":"sample string 4","totalamount":"sample string 5"},{"itemname":"sample string 1","price":"sample string 2","quantity":"sample string 3","gstpercentage":"sample string 4","totalamount":"sample string 5"}]}

application/xml, text/xml

Sample:
<modaddexpensedetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MNBSchoolManagemantApi.Models">
  <expense>
    <modaddexpense>
      <gstpercentage>sample string 4</gstpercentage>
      <itemname>sample string 1</itemname>
      <price>sample string 2</price>
      <quantity>sample string 3</quantity>
      <totalamount>sample string 5</totalamount>
    </modaddexpense>
    <modaddexpense>
      <gstpercentage>sample string 4</gstpercentage>
      <itemname>sample string 1</itemname>
      <price>sample string 2</price>
      <quantity>sample string 3</quantity>
      <totalamount>sample string 5</totalamount>
    </modaddexpense>
  </expense>
  <expenseid>sample string 3</expenseid>
  <finalamount>sample string 7</finalamount>
  <receipt>sample string 5</receipt>
  <totalgst>sample string 6</totalgst>
  <userid>sample string 2</userid>
  <vendername>sample string 4</vendername>
  <vendorid>sample string 1</vendorid>
</modaddexpensedetail>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json, text/html

Sample:

Sample not available.