POST api/CustPackage/AddDisciplineInPackage

Request Information

URI Parameters

None.

Body Parameters

Discipline
NameDescriptionTypeAdditional information
custPackage_num

integer

None.

function_code

integer

None.

employeeOper

integer

None.

from_date

date

None.

to_date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "custPackage_num": 1,
  "function_code": 2,
  "employeeOper": 1,
  "from_date": "2024-11-21T11:47:08.708913+02:00",
  "to_date": "2024-11-21T11:47:08.708913+02:00"
}

application/xml, text/xml

Sample:
<Discipline xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.PackageMengement">
  <custPackage_num>1</custPackage_num>
  <employeeOper>1</employeeOper>
  <from_date>2024-11-21T11:47:08.708913+02:00</from_date>
  <function_code>2</function_code>
  <to_date>2024-11-21T11:47:08.708913+02:00</to_date>
</Discipline>

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

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.