PUT api/PriceListsController/ChangeMainPriceListByPercent

Request Information

URI Parameters

None.

Body Parameters

ChangeMainPriceByPercentCriteria
NameDescriptionTypeAdditional information
insur_code

integer

None.

insur_name

string

None.

district_code

integer

None.

district_name

string

None.

business_branch_code

integer

None.

business_branch_name

string

None.

price_group_code

integer

None.

price_group_name

string

None.

surg_code

integer

None.

surg_name

string

None.

percent

decimal number

None.

round

integer

None.

group_codes

Collection of integer

None.

FirstOperGroup

string

None.

groups_count

integer

None.

date_actual

date

None.

ChangeType

string

None.

logName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "insur_code": 1,
  "insur_name": "sample string 2",
  "district_code": 3,
  "district_name": "sample string 4",
  "business_branch_code": 5,
  "business_branch_name": "sample string 6",
  "price_group_code": 7,
  "price_group_name": "sample string 8",
  "surg_code": 9,
  "surg_name": "sample string 10",
  "percent": 11.0,
  "round": 12,
  "group_codes": [
    1,
    2
  ],
  "FirstOperGroup": "sample string 13",
  "groups_count": 14,
  "date_actual": "2024-03-28T16:29:26.6891932+03:00",
  "ChangeType": "sample string 16",
  "logName": "sample string 17"
}

application/xml, text/xml

Sample:
<PricesManagement.ChangeMainPriceByPercentCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Prices">
  <ChangeType>sample string 16</ChangeType>
  <logName>sample string 17</logName>
  <FirstOperGroup>sample string 13</FirstOperGroup>
  <business_branch_code>5</business_branch_code>
  <business_branch_name>sample string 6</business_branch_name>
  <date_actual>2024-03-28T16:29:26.6891932+03:00</date_actual>
  <district_code>3</district_code>
  <district_name>sample string 4</district_name>
  <group_codes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </group_codes>
  <groups_count>14</groups_count>
  <insur_code>1</insur_code>
  <insur_name>sample string 2</insur_name>
  <percent>11</percent>
  <price_group_code>7</price_group_code>
  <price_group_name>sample string 8</price_group_name>
  <round>12</round>
  <surg_code>9</surg_code>
  <surg_name>sample string 10</surg_name>
</PricesManagement.ChangeMainPriceByPercentCriteria>

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

application/bson

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>

application/bson

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