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": "34b557e4-2521-4bfa-b3f2-f3a2a770730e",
"EstID": "ffa70b26-91eb-4f81-9c13-9849901f0565",
"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>ffa70b26-91eb-4f81-9c13-9849901f0565</EstID> <ID>34b557e4-2521-4bfa-b3f2-f3a2a770730e</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": "606b8abd-18f0-4e93-ba11-64ad849c48e9",
"EstID": "c98ec907-2606-4a07-a16a-5685ffeff0c7",
"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>c98ec907-2606-4a07-a16a-5685ffeff0c7</EstID> <ID>606b8abd-18f0-4e93-ba11-64ad849c48e9</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>