POST api/IC_CUSTOMER_HISTORY/SaveCloudCashToLog

Request Information

URI Parameters

None.

Body Parameters

Collection of ModelCash
NameDescriptionTypeAdditional information
CONTRAGENT

string

None.

GENERAL_DISCOUNT

string

None.

OPERATION_TYPE

string

None.

OPERATION_DATE

string

None.

CASH_AMOUNT

string

None.

CASH_NOTE

string

None.

STOCK

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "CONTRAGENT": "sample string 1",
    "GENERAL_DISCOUNT": "sample string 2",
    "OPERATION_TYPE": "sample string 3",
    "OPERATION_DATE": "sample string 4",
    "CASH_AMOUNT": "sample string 5",
    "CASH_NOTE": "sample string 6",
    "STOCK": "sample string 7"
  },
  {
    "CONTRAGENT": "sample string 1",
    "GENERAL_DISCOUNT": "sample string 2",
    "OPERATION_TYPE": "sample string 3",
    "OPERATION_DATE": "sample string 4",
    "CASH_AMOUNT": "sample string 5",
    "CASH_NOTE": "sample string 6",
    "STOCK": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfModelCash xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgdamSud.Models">
  <ModelCash>
    <CASH_AMOUNT>sample string 5</CASH_AMOUNT>
    <CASH_NOTE>sample string 6</CASH_NOTE>
    <CONTRAGENT>sample string 1</CONTRAGENT>
    <GENERAL_DISCOUNT>sample string 2</GENERAL_DISCOUNT>
    <OPERATION_DATE>sample string 4</OPERATION_DATE>
    <OPERATION_TYPE>sample string 3</OPERATION_TYPE>
    <STOCK>sample string 7</STOCK>
  </ModelCash>
  <ModelCash>
    <CASH_AMOUNT>sample string 5</CASH_AMOUNT>
    <CASH_NOTE>sample string 6</CASH_NOTE>
    <CONTRAGENT>sample string 1</CONTRAGENT>
    <GENERAL_DISCOUNT>sample string 2</GENERAL_DISCOUNT>
    <OPERATION_DATE>sample string 4</OPERATION_DATE>
    <OPERATION_TYPE>sample string 3</OPERATION_TYPE>
    <STOCK>sample string 7</STOCK>
  </ModelCash>
</ArrayOfModelCash>

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 'List`1'.

Response Information

Resource Description

None.