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": "348c2a01-b9dc-4b22-bead-3ab2126a9339",
"EstID": "6de74b72-237b-418a-8923-48b0ace755cd",
"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>6de74b72-237b-418a-8923-48b0ace755cd</EstID> <ID>348c2a01-b9dc-4b22-bead-3ab2126a9339</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": "48438d72-9a5c-41c7-967f-a2829f2d761d",
"EstID": "3714dafc-e185-43b5-a6d3-af730d979ad6",
"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>3714dafc-e185-43b5-a6d3-af730d979ad6</EstID> <ID>48438d72-9a5c-41c7-967f-a2829f2d761d</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>