POST api/TablesManagement/ADVat?pType={pType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pType

string

Required

Body Parameters

VatForClient
NameDescriptionTypeAdditional information
vat

decimal number

None.

vat_group_code

integer

None.

date_actual

date

None.

Request Formats

application/json, text/json

Sample:
{
  "vat": 1.0,
  "vat_group_code": 2,
  "date_actual": "2024-10-16T00:00:00+03:00"
}

application/xml, text/xml

Sample:
<VatForClient xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.TablesManagement">
  <date_actual>2024-10-16T00:00:00+03:00</date_actual>
  <vat>1</vat>
  <vat_group_code>2</vat_group_code>
</VatForClient>

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

application/bson

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

Response Information

Resource Description

VatByDate
NameDescriptionTypeAdditional information
vat

decimal number

None.

date_actual

date

None.

vat_group_code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "vat": 1.0,
  "date_actual": "2024-10-16T00:40:12.4268448+03:00",
  "vat_group_code": 3
}

application/xml, text/xml

Sample:
<VatByDate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <date_actual>2024-10-16T00:40:12.4268448+03:00</date_actual>
  <vat>1</vat>
  <vat_group_code>3</vat_group_code>
</VatByDate>

application/bson

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