POST api/EstimateItem

Request Information

URI Parameters

None.

Body Parameters

EstimateItem
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

EstID

globally unique identifier

None.

Section

integer

None.

Item

integer

None.

Subitem

integer

None.

Description

string

None.

Qty

decimal number

None.

Rate

decimal number

None.

Amount

decimal number

None.

line

integer

None.

gcodeno

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": "5459396a-fa05-433c-9f5b-ad1e6327d67a",
  "EstID": "a8e8e389-e84c-4afd-8540-21f1f2378b4c",
  "Section": 1,
  "Item": 1,
  "Subitem": 1,
  "Description": "sample string 2",
  "Qty": 1.1,
  "Rate": 1.0,
  "Amount": 1.0,
  "line": 1,
  "gcodeno": 1
}

application/xml, text/xml

Sample:
<EstimateItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Estimate.Models">
  <Amount>1</Amount>
  <Description>sample string 2</Description>
  <EstID>a8e8e389-e84c-4afd-8540-21f1f2378b4c</EstID>
  <ID>5459396a-fa05-433c-9f5b-ad1e6327d67a</ID>
  <Item>1</Item>
  <Qty>1.1</Qty>
  <Rate>1</Rate>
  <Section>1</Section>
  <Subitem>1</Subitem>
  <gcodeno>1</gcodeno>
  <line>1</line>
</EstimateItem>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

EstimateItem
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

EstID

globally unique identifier

None.

Section

integer

None.

Item

integer

None.

Subitem

integer

None.

Description

string

None.

Qty

decimal number

None.

Rate

decimal number

None.

Amount

decimal number

None.

line

integer

None.

gcodeno

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": "28cf49bf-39d2-42ac-bb7a-11b2495466b1",
  "EstID": "27048959-f07d-4c71-a218-0a8cc568ff34",
  "Section": 1,
  "Item": 1,
  "Subitem": 1,
  "Description": "sample string 2",
  "Qty": 1.1,
  "Rate": 1.0,
  "Amount": 1.0,
  "line": 1,
  "gcodeno": 1
}

application/xml, text/xml

Sample:
<EstimateItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Estimate.Models">
  <Amount>1</Amount>
  <Description>sample string 2</Description>
  <EstID>27048959-f07d-4c71-a218-0a8cc568ff34</EstID>
  <ID>28cf49bf-39d2-42ac-bb7a-11b2495466b1</ID>
  <Item>1</Item>
  <Qty>1.1</Qty>
  <Rate>1</Rate>
  <Section>1</Section>
  <Subitem>1</Subitem>
  <gcodeno>1</gcodeno>
  <line>1</line>
</EstimateItem>