POST api/PriceListsController/ChengeByPriceList

Request Information

URI Parameters

None.

Body Parameters

ChangeByPriceListCriteria
NameDescriptionTypeAdditional information
from_date

date

None.

to_date

date

None.

business_branch_code

integer

None.

insur_code

integer

None.

district_code

integer

None.

price_group_code

integer

None.

surg_code

integer

None.

group_code

integer

None.

oper_codes

Collection of integer

None.

change_price

string

None.

change_tosefet

string

None.

change_price_0

string

None.

change_no_price

string

None.

price_discount

string

None.

branchName

string

None.

insurName

string

None.

distName

string

None.

priceGroupName

string

None.

groupName

string

None.

surgName

string

None.

ChangeType

string

None.

logName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "from_date": "2024-04-19T14:15:09.0454838+03:00",
  "to_date": "2024-04-19T14:15:09.0454838+03:00",
  "business_branch_code": 3,
  "insur_code": 4,
  "district_code": 5,
  "price_group_code": 6,
  "surg_code": 7,
  "group_code": 8,
  "oper_codes": [
    1,
    2
  ],
  "change_price": "sample string 9",
  "change_tosefet": "sample string 10",
  "change_price_0": "sample string 11",
  "change_no_price": "sample string 12",
  "price_discount": "sample string 13",
  "branchName": "sample string 14",
  "insurName": "sample string 15",
  "distName": "sample string 16",
  "priceGroupName": "sample string 17",
  "groupName": "sample string 18",
  "surgName": "sample string 19",
  "ChangeType": "sample string 20",
  "logName": "sample string 21"
}

application/xml, text/xml

Sample:
<PricesManagement.ChangeByPriceListCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Prices">
  <ChangeType>sample string 20</ChangeType>
  <logName>sample string 21</logName>
  <branchName>sample string 14</branchName>
  <business_branch_code>3</business_branch_code>
  <change_no_price>sample string 12</change_no_price>
  <change_price>sample string 9</change_price>
  <change_price_0>sample string 11</change_price_0>
  <change_tosefet>sample string 10</change_tosefet>
  <distName>sample string 16</distName>
  <district_code>5</district_code>
  <from_date>2024-04-19T14:15:09.0454838+03:00</from_date>
  <groupName>sample string 18</groupName>
  <group_code>8</group_code>
  <insurName>sample string 15</insurName>
  <insur_code>4</insur_code>
  <oper_codes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </oper_codes>
  <priceGroupName>sample string 17</priceGroupName>
  <price_discount>sample string 13</price_discount>
  <price_group_code>6</price_group_code>
  <surgName>sample string 19</surgName>
  <surg_code>7</surg_code>
  <to_date>2024-04-19T14:15:09.0454838+03:00</to_date>
</PricesManagement.ChangeByPriceListCriteria>

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

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.