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

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,
  "billing_required": "sample string 7"
}

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 7</billing_required>
  <insur_code>4</insur_code>
  <item_code>3</item_code>
  <line_code>1</line_code>
  <oper_code>2</oper_code>
  <quantity>6</quantity>
  <surg_code>5</surg_code>
</BillOfMaterial>

application/x-www-form-urlencoded

Sample:

Sample not available.

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

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,
  "billing_required": "sample string 7"
}

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 7</billing_required>
  <insur_code>4</insur_code>
  <item_code>3</item_code>
  <line_code>1</line_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.