POST api/PriceListsController/AddSimpleStaffPrice
Request Information
URI Parameters
None.
Body Parameters
SimpleStaffPriceListName | Description | Type | Additional information |
---|---|---|---|
key_code | integer |
Required |
|
insur_code | integer |
Required |
|
district_code | integer |
Required |
|
business_branch_code | integer |
Required |
|
oper_code | integer |
Required |
|
group_num | integer |
Required |
|
employee_code | integer |
Required |
|
occupation_code | integer |
Required |
|
from_date | date |
Required |
|
to_date | date |
Required |
|
percent | decimal number |
None. |
|
sum | decimal number |
None. |
|
interface_code | string |
String length: inclusive between 0 and 10 |
|
old_code | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "key_code": 1, "insur_code": 2, "district_code": 3, "business_branch_code": 4, "oper_code": 5, "group_num": 6, "employee_code": 7, "occupation_code": 8, "from_date": "2024-11-21T11:58:48.6946589+02:00", "to_date": "2024-11-21T11:58:48.6946589+02:00", "percent": 11.0, "sum": 12.0, "interface_code": "sample string 13", "old_code": 1 }
application/xml, text/xml
Sample:
<SimpleStaffPriceList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog"> <business_branch_code>4</business_branch_code> <district_code>3</district_code> <employee_code>7</employee_code> <from_date>2024-11-21T11:58:48.6946589+02:00</from_date> <group_num>6</group_num> <insur_code>2</insur_code> <interface_code>sample string 13</interface_code> <key_code>1</key_code> <occupation_code>8</occupation_code> <old_code>1</old_code> <oper_code>5</oper_code> <percent>11</percent> <sum>12</sum> <to_date>2024-11-21T11:58:48.6946589+02:00</to_date> </SimpleStaffPriceList>
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.