POST api/CustPackageForDebit/Save

Request Information

URI Parameters

None.

Body Parameters

CustPackageEmployee4Debit
NameDescriptionTypeAdditional 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.

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": "2024-11-21T11:52:17.7876753+02:00",
  "toDate": "2024-11-21T11:52:17.7876753+02:00",
  "status": "sample string 3",
  "reasonStatus_code": 1
}

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>2024-11-21T11:52:17.7876753+02:00</fromDate>
  <function_code>1</function_code>
  <package_num>1</package_num>
  <reasonStatus_code>1</reasonStatus_code>
  <status>sample string 3</status>
  <toDate>2024-11-21T11:52:17.7876753+02:00</toDate>
</CustPackageEmployee4Debit>

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

application/bson

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

Response Information

Resource Description

Object

None.

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.