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": "06095444-d621-49e6-96f5-b7c4010b05ef",
"EstID": "19d8f866-9c66-41ed-83b6-e8e0eb909cf8",
"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>19d8f866-9c66-41ed-83b6-e8e0eb909cf8</EstID> <ID>06095444-d621-49e6-96f5-b7c4010b05ef</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": "938558e6-09b4-4a81-a78a-9bfec99d97c3",
"EstID": "ccca96e2-91b3-4d61-b949-a70bd36e6b55",
"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>ccca96e2-91b3-4d61-b949-a70bd36e6b55</EstID> <ID>938558e6-09b4-4a81-a78a-9bfec99d97c3</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>