POST api/TablesManagement/SaveFinanceInsur

Request Information

URI Parameters

None.

Body Parameters

FinanceInsur
NameDescriptionTypeAdditional information
finance_code

integer

None.

agreement_name

string

String length: inclusive between 0 and 40

insur_code

integer

None.

budget

decimal number

None.

used

decimal number

None.

start_date

date

None.

end_date

date

None.

active

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

Request Formats

application/json, text/json

Sample:
{
  "finance_code": 1,
  "agreement_name": "sample string 2",
  "insur_code": 1,
  "budget": 1.1,
  "used": 1.1,
  "start_date": "2024-11-21T11:38:17.1922482+02:00",
  "end_date": "2024-11-21T11:38:17.1922482+02:00",
  "active": "sample string 3"
}

application/xml, text/xml

Sample:
<FinanceInsur xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <active>sample string 3</active>
  <agreement_name>sample string 2</agreement_name>
  <budget>1.1</budget>
  <end_date>2024-11-21T11:38:17.1922482+02:00</end_date>
  <finance_code>1</finance_code>
  <insur_code>1</insur_code>
  <start_date>2024-11-21T11:38:17.1922482+02:00</start_date>
  <used>1.1</used>
</FinanceInsur>

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

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

FinanceInsur
NameDescriptionTypeAdditional information
finance_code

integer

None.

agreement_name

string

String length: inclusive between 0 and 40

insur_code

integer

None.

budget

decimal number

None.

used

decimal number

None.

start_date

date

None.

end_date

date

None.

active

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

Response Formats

application/json, text/json

Sample:
{
  "finance_code": 1,
  "agreement_name": "sample string 2",
  "insur_code": 1,
  "budget": 1.1,
  "used": 1.1,
  "start_date": "2024-11-21T11:38:17.207881+02:00",
  "end_date": "2024-11-21T11:38:17.207881+02:00",
  "active": "sample string 3"
}

application/xml, text/xml

Sample:
<FinanceInsur xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <active>sample string 3</active>
  <agreement_name>sample string 2</agreement_name>
  <budget>1.1</budget>
  <end_date>2024-11-21T11:38:17.207881+02:00</end_date>
  <finance_code>1</finance_code>
  <insur_code>1</insur_code>
  <start_date>2024-11-21T11:38:17.207881+02:00</start_date>
  <used>1.1</used>
</FinanceInsur>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.