POST api/Accounts/AddBillOfMaterial

Request Information

URI Parameters

None.

Body Parameters

BillOfMaterial
NameDescriptionTypeAdditional information
line_code

integer

None.

oper_code

integer

Required

item_code

integer

Required

insur_code

integer

Required

surg_code

integer

Required

quantity

integer

Required

interface_code

string

String length: inclusive between 0 and 10

old_code

integer

None.

billing_required

string

Required

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

Request Formats

application/json, text/json

Sample:
{
  "line_code": 1,
  "oper_code": 2,
  "item_code": 3,
  "insur_code": 4,
  "surg_code": 5,
  "quantity": 6,
  "interface_code": "sample string 7",
  "old_code": 1,
  "billing_required": "sample string 8"
}

application/xml, text/xml

Sample:
<BillOfMaterial xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <billing_required>sample string 8</billing_required>
  <insur_code>4</insur_code>
  <interface_code>sample string 7</interface_code>
  <item_code>3</item_code>
  <line_code>1</line_code>
  <old_code>1</old_code>
  <oper_code>2</oper_code>
  <quantity>6</quantity>
  <surg_code>5</surg_code>
</BillOfMaterial>

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

application/bson

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

Response Information

Resource Description

BillOfMaterial
NameDescriptionTypeAdditional information
line_code

integer

None.

oper_code

integer

Required

item_code

integer

Required

insur_code

integer

Required

surg_code

integer

Required

quantity

integer

Required

interface_code

string

String length: inclusive between 0 and 10

old_code

integer

None.

billing_required

string

Required

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

Response Formats

application/json, text/json

Sample:
{
  "line_code": 1,
  "oper_code": 2,
  "item_code": 3,
  "insur_code": 4,
  "surg_code": 5,
  "quantity": 6,
  "interface_code": "sample string 7",
  "old_code": 1,
  "billing_required": "sample string 8"
}

application/xml, text/xml

Sample:
<BillOfMaterial xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <billing_required>sample string 8</billing_required>
  <insur_code>4</insur_code>
  <interface_code>sample string 7</interface_code>
  <item_code>3</item_code>
  <line_code>1</line_code>
  <old_code>1</old_code>
  <oper_code>2</oper_code>
  <quantity>6</quantity>
  <surg_code>5</surg_code>
</BillOfMaterial>

application/bson

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