POST api/PriceListsController/CopySurgPriceListByLine

Request Information

URI Parameters

None.

Body Parameters

SurgPay
NameDescriptionTypeAdditional information
surg_code

integer

None.

insur_code

integer

None.

oper_user_code1

integer

None.

oper_user_code2

integer

None.

percent

decimal number

None.

sumshekel

decimal number

None.

level

integer

None.

sumadd

decimal number

None.

percentadd

decimal number

None.

description

string

None.

keycode

integer

None.

staff_type

integer

None.

groups_num

integer

None.

branch_code

integer

None.

discaunt_group

integer

None.

date_actual

date

None.

district_code

integer

None.

per_hour

string

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

String length: inclusive between 0 and 1

department_code

integer

None.

occupation_code

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "surg_code": 1,
  "insur_code": 2,
  "oper_user_code1": 3,
  "oper_user_code2": 4,
  "percent": 5.1,
  "sumshekel": 6.1,
  "level": 7,
  "sumadd": 8.1,
  "percentadd": 9.1,
  "description": "sample string 10",
  "keycode": 11,
  "staff_type": 12,
  "groups_num": 13,
  "branch_code": 14,
  "discaunt_group": 15,
  "date_actual": "2024-05-02T22:27:08.462146+03:00",
  "district_code": 17,
  "per_hour": "sample string 18",
  "department_code": 1,
  "occupation_code": 1
}

application/xml, text/xml

Sample:
<SurgPay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <branch_code>14</branch_code>
  <date_actual>2024-05-02T22:27:08.462146+03:00</date_actual>
  <department_code>1</department_code>
  <description>sample string 10</description>
  <discaunt_group>15</discaunt_group>
  <district_code>17</district_code>
  <groups_num>13</groups_num>
  <insur_code>2</insur_code>
  <keycode>11</keycode>
  <level>7</level>
  <occupation_code>1</occupation_code>
  <oper_user_code1>3</oper_user_code1>
  <oper_user_code2>4</oper_user_code2>
  <per_hour>sample string 18</per_hour>
  <percent>5.1</percent>
  <percentadd>9.1</percentadd>
  <staff_type>12</staff_type>
  <sumadd>8.1</sumadd>
  <sumshekel>6.1</sumshekel>
  <surg_code>1</surg_code>
</SurgPay>

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

application/bson

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

Response Information

Resource Description

SurgPay
NameDescriptionTypeAdditional information
surg_code

integer

None.

insur_code

integer

None.

oper_user_code1

integer

None.

oper_user_code2

integer

None.

percent

decimal number

None.

sumshekel

decimal number

None.

level

integer

None.

sumadd

decimal number

None.

percentadd

decimal number

None.

description

string

None.

keycode

integer

None.

staff_type

integer

None.

groups_num

integer

None.

branch_code

integer

None.

discaunt_group

integer

None.

date_actual

date

None.

district_code

integer

None.

per_hour

string

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

String length: inclusive between 0 and 1

department_code

integer

None.

occupation_code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "surg_code": 1,
  "insur_code": 2,
  "oper_user_code1": 3,
  "oper_user_code2": 4,
  "percent": 5.1,
  "sumshekel": 6.1,
  "level": 7,
  "sumadd": 8.1,
  "percentadd": 9.1,
  "description": "sample string 10",
  "keycode": 11,
  "staff_type": 12,
  "groups_num": 13,
  "branch_code": 14,
  "discaunt_group": 15,
  "date_actual": "2024-05-02T22:27:08.4701458+03:00",
  "district_code": 17,
  "per_hour": "sample string 18",
  "department_code": 1,
  "occupation_code": 1
}

application/xml, text/xml

Sample:
<SurgPay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <branch_code>14</branch_code>
  <date_actual>2024-05-02T22:27:08.4701458+03:00</date_actual>
  <department_code>1</department_code>
  <description>sample string 10</description>
  <discaunt_group>15</discaunt_group>
  <district_code>17</district_code>
  <groups_num>13</groups_num>
  <insur_code>2</insur_code>
  <keycode>11</keycode>
  <level>7</level>
  <occupation_code>1</occupation_code>
  <oper_user_code1>3</oper_user_code1>
  <oper_user_code2>4</oper_user_code2>
  <per_hour>sample string 18</per_hour>
  <percent>5.1</percent>
  <percentadd>9.1</percentadd>
  <staff_type>12</staff_type>
  <sumadd>8.1</sumadd>
  <sumshekel>6.1</sumshekel>
  <surg_code>1</surg_code>
</SurgPay>

application/bson

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