POST api/PriceListsController/CopyFreeOperPriceList

Request Information

URI Parameters

None.

Body Parameters

CopyFreeOperCriteria
NameDescriptionTypeAdditional information
branch_code

integer

None.

branchName

string

None.

branch_code_to

integer

None.

toBranchName

string

None.

oper_codes

Collection of integer

None.

group_codes

Collection of integer

None.

insur_code

integer

None.

insurName

string

None.

firstGroup

string

None.

with_override

string

None.

to_branches_list

Collection of SimpleObj

None.

ChangeType

string

None.

logName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "branch_code": 1,
  "branchName": "sample string 2",
  "branch_code_to": 3,
  "toBranchName": "sample string 4",
  "oper_codes": [
    1,
    2
  ],
  "group_codes": [
    1,
    2
  ],
  "insur_code": 5,
  "insurName": "sample string 6",
  "firstGroup": "sample string 7",
  "with_override": "sample string 8",
  "to_branches_list": [
    {
      "DataCode": 1,
      "DataDescription": "sample string 2"
    },
    {
      "DataCode": 1,
      "DataDescription": "sample string 2"
    }
  ],
  "ChangeType": "sample string 9",
  "logName": "sample string 10"
}

application/xml, text/xml

Sample:
<PricesManagement.CopyFreeOperCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Prices">
  <ChangeType>sample string 9</ChangeType>
  <logName>sample string 10</logName>
  <branchName>sample string 2</branchName>
  <branch_code>1</branch_code>
  <branch_code_to>3</branch_code_to>
  <firstGroup>sample string 7</firstGroup>
  <group_codes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </group_codes>
  <insurName>sample string 6</insurName>
  <insur_code>5</insur_code>
  <oper_codes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </oper_codes>
  <toBranchName>sample string 4</toBranchName>
  <to_branches_list xmlns:d2p1="http://schemas.datacontract.org/2004/07/BLMedical">
    <d2p1:SimpleObj>
      <d2p1:DataCode>1</d2p1:DataCode>
      <d2p1:DataDescription>sample string 2</d2p1:DataDescription>
    </d2p1:SimpleObj>
    <d2p1:SimpleObj>
      <d2p1:DataCode>1</d2p1:DataCode>
      <d2p1:DataDescription>sample string 2</d2p1:DataDescription>
    </d2p1:SimpleObj>
  </to_branches_list>
  <with_override>sample string 8</with_override>
</PricesManagement.CopyFreeOperCriteria>

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

application/bson

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

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
[
  {},
  {}
]

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'System.Linq.EnumerableQuery`1[[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' with data contract name 'ArrayOfanyType:http://schemas.microsoft.com/2003/10/Serialization/Arrays' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'System.Linq.EnumerableQuery`1[[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' with data contract name 'ArrayOfanyType:http://schemas.microsoft.com/2003/10/Serialization/Arrays' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.

application/bson

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