POST api/tblOItms

Request Information

URI Parameters

None.

Body Parameters

tblOItm
NameDescriptionTypeAdditional information
id

integer

None.

OrdId

integer

None.

MatId

integer

None.

Qty

decimal number

None.

Prc

decimal number

None.

Tot

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "OrdId": 2,
  "MatId": 3,
  "Qty": 4.1,
  "Prc": 5.1,
  "Tot": 6.1
}

application/xml, text/xml

Sample:
<tblOItm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Classes">
  <MatId>3</MatId>
  <OrdId>2</OrdId>
  <Prc>5.1</Prc>
  <Qty>4.1</Qty>
  <Tot>6.1</Tot>
  <id>1</id>
</tblOItm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

tblOItm
NameDescriptionTypeAdditional information
id

integer

None.

OrdId

integer

None.

MatId

integer

None.

Qty

decimal number

None.

Prc

decimal number

None.

Tot

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "OrdId": 2,
  "MatId": 3,
  "Qty": 4.1,
  "Prc": 5.1,
  "Tot": 6.1
}

application/xml, text/xml

Sample:
<tblOItm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Classes">
  <MatId>3</MatId>
  <OrdId>2</OrdId>
  <Prc>5.1</Prc>
  <Qty>4.1</Qty>
  <Tot>6.1</Tot>
  <id>1</id>
</tblOItm>