POST api/CustPackageForDebit/Save?updateAllPackages={updateAllPackages}&updateVisitsToo={updateVisitsToo}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| updateAllPackages | boolean |
Default value is False |
|
| updateVisitsToo | boolean |
Default value is False |
Body Parameters
CustPackageEmployee4Debit| Name | Description | Type | Additional information |
|---|---|---|---|
| custPackageEmployee4Debit_num | integer |
None. |
|
| custPackageEmployee_num | integer |
Required |
|
| package_num | integer |
None. |
|
| EmployeeOper | integer |
None. |
|
| function_code | integer |
None. |
|
| firstEnter_code | integer |
None. |
|
| debit_line_code | integer |
None. |
|
| fromDate | date |
None. |
|
| toDate | date |
None. |
|
| status | string |
Matching regular expression pattern: ^[yn]{1}$ String length: inclusive between 0 and 1 |
|
| reasonStatus_code | integer |
None. |
|
| isAdded | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"custPackageEmployee4Debit_num": 1,
"custPackageEmployee_num": 2,
"package_num": 1,
"EmployeeOper": 1,
"function_code": 1,
"firstEnter_code": 1,
"debit_line_code": 1,
"fromDate": "2026-04-17T13:22:06.4317075+03:00",
"toDate": "2026-04-17T13:22:06.4317075+03:00",
"status": "sample string 3",
"reasonStatus_code": 1,
"isAdded": true
}
application/xml, text/xml
Sample:
<CustPackageEmployee4Debit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog"> <EmployeeOper>1</EmployeeOper> <custPackageEmployee4Debit_num>1</custPackageEmployee4Debit_num> <custPackageEmployee_num>2</custPackageEmployee_num> <debit_line_code>1</debit_line_code> <firstEnter_code>1</firstEnter_code> <fromDate>2026-04-17T13:22:06.4317075+03:00</fromDate> <function_code>1</function_code> <isAdded>true</isAdded> <package_num>1</package_num> <reasonStatus_code>1</reasonStatus_code> <status>sample string 3</status> <toDate>2026-04-17T13:22:06.4317075+03:00</toDate> </CustPackageEmployee4Debit>
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.