POST api/PriceListsController/CopyMainPriceByInsurer

Request Information

URI Parameters

None.

Body Parameters

CopyMainLastPriceByInsurerCriteria
NameDescriptionTypeAdditional information
insur_code

integer

None.

district_code

integer

None.

business_branch_code

integer

None.

price_group_code

integer

None.

surg_code

integer

None.

group_codes

Collection of integer

None.

groups_count

integer

None.

date_actual

date

None.

percent

decimal number

None.

round

integer

None.

insur_code_to

integer

None.

district_code_to

integer

None.

business_branch_code_to

integer

None.

price_group_code_to

integer

None.

surg_code_to

integer

None.

insurName

string

None.

distName

string

None.

busBranchName

string

None.

priGroupName

string

None.

surgName

string

None.

insurName_To

string

None.

distName_To

string

None.

busBranchName_To

string

None.

priGroupName_To

string

None.

surgName_to

string

None.

FirstOperGroup

string

None.

ChangeType

string

None.

logName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "insur_code": 1,
  "district_code": 2,
  "business_branch_code": 3,
  "price_group_code": 4,
  "surg_code": 5,
  "group_codes": [
    1,
    2
  ],
  "groups_count": 6,
  "date_actual": "2020-06-06T19:15:30.447367+03:00",
  "percent": 8.0,
  "round": 9,
  "insur_code_to": 10,
  "district_code_to": 11,
  "business_branch_code_to": 12,
  "price_group_code_to": 13,
  "surg_code_to": 14,
  "insurName": "sample string 15",
  "distName": "sample string 16",
  "busBranchName": "sample string 17",
  "priGroupName": "sample string 18",
  "surgName": "sample string 19",
  "insurName_To": "sample string 20",
  "distName_To": "sample string 21",
  "busBranchName_To": "sample string 22",
  "priGroupName_To": "sample string 23",
  "surgName_to": "sample string 24",
  "FirstOperGroup": "sample string 25",
  "ChangeType": "sample string 26",
  "logName": "sample string 27"
}

application/xml, text/xml

Sample:
<PricesManagement.CopyMainLastPriceByInsurerCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Prices">
  <ChangeType>sample string 26</ChangeType>
  <logName>sample string 27</logName>
  <FirstOperGroup>sample string 25</FirstOperGroup>
  <busBranchName>sample string 17</busBranchName>
  <busBranchName_To>sample string 22</busBranchName_To>
  <business_branch_code>3</business_branch_code>
  <business_branch_code_to>12</business_branch_code_to>
  <date_actual>2020-06-06T19:15:30.447367+03:00</date_actual>
  <distName>sample string 16</distName>
  <distName_To>sample string 21</distName_To>
  <district_code>2</district_code>
  <district_code_to>11</district_code_to>
  <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>6</groups_count>
  <insurName>sample string 15</insurName>
  <insurName_To>sample string 20</insurName_To>
  <insur_code>1</insur_code>
  <insur_code_to>10</insur_code_to>
  <percent>8</percent>
  <priGroupName>sample string 18</priGroupName>
  <priGroupName_To>sample string 23</priGroupName_To>
  <price_group_code>4</price_group_code>
  <price_group_code_to>13</price_group_code_to>
  <round>9</round>
  <surgName>sample string 19</surgName>
  <surgName_to>sample string 24</surgName_to>
  <surg_code>5</surg_code>
  <surg_code_to>14</surg_code_to>
</PricesManagement.CopyMainLastPriceByInsurerCriteria>

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

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.