POST api/case/addexpensestype

Request Information

URI Parameters

None.

Body Parameters

tbl_ExpenseTypes_MasterVM
NameDescriptionTypeAdditional information
ID

integer

None.

BusinessAccountID

integer

None.

ExpenseType

string

None.

Active

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "BusinessAccountID": 1,
  "ExpenseType": "sample string 2",
  "Active": 1
}

application/xml, text/xml

Sample:
<tbl_ExpenseTypes_MasterVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Case_Management_DAL.ViewModel">
  <Active>1</Active>
  <BusinessAccountID>1</BusinessAccountID>
  <ExpenseType>sample string 2</ExpenseType>
  <ID>1</ID>
</tbl_ExpenseTypes_MasterVM>

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 'tbl_ExpenseTypes_MasterVM'.

Response Information

Resource Description

ErrorClass
NameDescriptionTypeAdditional information
Msg

string

None.

Status

string

None.

IsSuccess

boolean

None.

retrn

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "Status": "sample string 2",
  "IsSuccess": true,
  "retrn": {}
}

application/xml, text/xml

Sample:
<ErrorClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MMC_WebAPI.Utilities">
  <IsSuccess>true</IsSuccess>
  <Msg>sample string 1</Msg>
  <Status>sample string 2</Status>
  <retrn />
</ErrorClass>