POST api/FpIncome

Post list of Income operations.

Request Information

URI Parameters

None.

Body Parameters

Collection of IncomeOperationInput
NameDescriptionTypeAdditional information
id

integer

None.

outer_id

string

None.

id_fp_income

integer

None.

income_name

You can use string to find expense by name

string

None.

id_currency

integer

None.

currency_name

You can use string to find expense by name

string

None.

date_operation

date

None.

description

string

None.

amount

decimal number

None.

id_company

integer

None.

outer_id_company

string

None.

id_document

integer

None.

outer_id_document

string

None.

is_return

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "outer_id": "sample string 2",
    "id_fp_income": 1,
    "income_name": "sample string 3",
    "id_currency": 1,
    "currency_name": "sample string 4",
    "date_operation": "2024-11-16T04:44:29.6403605+00:00",
    "description": "sample string 6",
    "amount": 7.0,
    "id_company": 1,
    "outer_id_company": "sample string 8",
    "id_document": 1,
    "outer_id_document": "sample string 9",
    "is_return": true
  },
  {
    "id": 1,
    "outer_id": "sample string 2",
    "id_fp_income": 1,
    "income_name": "sample string 3",
    "id_currency": 1,
    "currency_name": "sample string 4",
    "date_operation": "2024-11-16T04:44:29.6403605+00:00",
    "description": "sample string 6",
    "amount": 7.0,
    "id_company": 1,
    "outer_id_company": "sample string 8",
    "id_document": 1,
    "outer_id_document": "sample string 9",
    "is_return": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfIncomeOperationInput xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <IncomeOperationInput>
    <id>1</id>
    <outer_id>sample string 2</outer_id>
    <id_fp_income>1</id_fp_income>
    <income_name>sample string 3</income_name>
    <id_currency>1</id_currency>
    <currency_name>sample string 4</currency_name>
    <date_operation>2024-11-16T04:44:29.6403605+00:00</date_operation>
    <description>sample string 6</description>
    <amount>7</amount>
    <id_company>1</id_company>
    <outer_id_company>sample string 8</outer_id_company>
    <id_document>1</id_document>
    <outer_id_document>sample string 9</outer_id_document>
    <is_return>true</is_return>
  </IncomeOperationInput>
  <IncomeOperationInput>
    <id>1</id>
    <outer_id>sample string 2</outer_id>
    <id_fp_income>1</id_fp_income>
    <income_name>sample string 3</income_name>
    <id_currency>1</id_currency>
    <currency_name>sample string 4</currency_name>
    <date_operation>2024-11-16T04:44:29.6403605+00:00</date_operation>
    <description>sample string 6</description>
    <amount>7</amount>
    <id_company>1</id_company>
    <outer_id_company>sample string 8</outer_id_company>
    <id_document>1</id_document>
    <outer_id_document>sample string 9</outer_id_document>
    <is_return>true</is_return>
  </IncomeOperationInput>
</ArrayOfIncomeOperationInput>

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.