POST api/EstimateItem
Request Information
URI Parameters
None.
Body Parameters
EstimateItem| Name | Description | Type | Additional 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. |
|
| Recno | integer |
None. |
|
| Sort | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": "e9fcf9ed-b794-455c-bde2-e6aff686f348",
"EstID": "5058c2c8-5633-4e7b-939b-2dd9330051ea",
"Section": 1,
"Item": 1,
"Subitem": 1,
"Description": "sample string 2",
"Qty": 1.1,
"Rate": 1.0,
"Amount": 1.0,
"line": 1,
"gcodeno": 1,
"Recno": 3,
"Sort": 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>5058c2c8-5633-4e7b-939b-2dd9330051ea</EstID> <ID>e9fcf9ed-b794-455c-bde2-e6aff686f348</ID> <Item>1</Item> <Qty>1.1</Qty> <Rate>1</Rate> <Recno>3</Recno> <Section>1</Section> <Sort>1</Sort> <Subitem>1</Subitem> <gcodeno>1</gcodeno> <line>1</line> </EstimateItem>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
EstimateItem| Name | Description | Type | Additional 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. |
|
| Recno | integer |
None. |
|
| Sort | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": "0af053b7-ab14-4390-9090-d2b75444888d",
"EstID": "4d6ef6b5-fec7-4312-b97a-6323f6d52ae7",
"Section": 1,
"Item": 1,
"Subitem": 1,
"Description": "sample string 2",
"Qty": 1.1,
"Rate": 1.0,
"Amount": 1.0,
"line": 1,
"gcodeno": 1,
"Recno": 3,
"Sort": 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>4d6ef6b5-fec7-4312-b97a-6323f6d52ae7</EstID> <ID>0af053b7-ab14-4390-9090-d2b75444888d</ID> <Item>1</Item> <Qty>1.1</Qty> <Rate>1</Rate> <Recno>3</Recno> <Section>1</Section> <Sort>1</Sort> <Subitem>1</Subitem> <gcodeno>1</gcodeno> <line>1</line> </EstimateItem>