POST api/IC_EXPENCES/PostIC_EXPENCES

Request Information

URI Parameters

None.

Body Parameters

IC_EXPENCES
NameDescriptionTypeAdditional information
EXCENCES_ID

integer

None.

EXCENCES_GROUP_ID

integer

None.

EXPENCES_AMOUNT

decimal number

None.

EXPENCES_NOTE

string

None.

EXPENCES_DATE

string

None.

OPERATION_ID

integer

None.

IS_IN

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EXCENCES_ID": 1,
  "EXCENCES_GROUP_ID": 1,
  "EXPENCES_AMOUNT": 1.0,
  "EXPENCES_NOTE": "sample string 2",
  "EXPENCES_DATE": "sample string 3",
  "OPERATION_ID": 1,
  "IS_IN": 1
}

application/xml, text/xml

Sample:
<IC_EXPENCES xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgdamDondurma.Models">
  <EXCENCES_GROUP_ID>1</EXCENCES_GROUP_ID>
  <EXCENCES_ID>1</EXCENCES_ID>
  <EXPENCES_AMOUNT>1</EXPENCES_AMOUNT>
  <EXPENCES_DATE>sample string 3</EXPENCES_DATE>
  <EXPENCES_NOTE>sample string 2</EXPENCES_NOTE>
  <IS_IN>1</IS_IN>
  <OPERATION_ID>1</OPERATION_ID>
</IC_EXPENCES>

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

Response Information

Resource Description

IC_EXPENCES
NameDescriptionTypeAdditional information
EXCENCES_ID

integer

None.

EXCENCES_GROUP_ID

integer

None.

EXPENCES_AMOUNT

decimal number

None.

EXPENCES_NOTE

string

None.

EXPENCES_DATE

string

None.

OPERATION_ID

integer

None.

IS_IN

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "EXCENCES_ID": 1,
  "EXCENCES_GROUP_ID": 1,
  "EXPENCES_AMOUNT": 1.0,
  "EXPENCES_NOTE": "sample string 2",
  "EXPENCES_DATE": "sample string 3",
  "OPERATION_ID": 1,
  "IS_IN": 1
}

application/xml, text/xml

Sample:
<IC_EXPENCES xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgdamDondurma.Models">
  <EXCENCES_GROUP_ID>1</EXCENCES_GROUP_ID>
  <EXCENCES_ID>1</EXCENCES_ID>
  <EXPENCES_AMOUNT>1</EXPENCES_AMOUNT>
  <EXPENCES_DATE>sample string 3</EXPENCES_DATE>
  <EXPENCES_NOTE>sample string 2</EXPENCES_NOTE>
  <IS_IN>1</IS_IN>
  <OPERATION_ID>1</OPERATION_ID>
</IC_EXPENCES>