POST api/EstimateItem
Request Information
URI Parameters
None.
Body Parameters
EstimateItemName | 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. |
Request Formats
application/json, text/json
Sample:
{ "ID": "7e942493-9a23-4adf-85fb-b4c229e4ad1d", "EstID": "3b7acd20-a4ab-4a7b-94ae-9251da678dbc", "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>3b7acd20-a4ab-4a7b-94ae-9251da678dbc</EstID> <ID>7e942493-9a23-4adf-85fb-b4c229e4ad1d</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
EstimateItemName | 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. |
Response Formats
application/json, text/json
Sample:
{ "ID": "12b43ad9-2630-4763-b0fb-8fbb2f7ebb81", "EstID": "ab0d801e-7881-4a02-b152-fc8baac68665", "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>ab0d801e-7881-4a02-b152-fc8baac68665</EstID> <ID>12b43ad9-2630-4763-b0fb-8fbb2f7ebb81</ID> <Item>1</Item> <Qty>1.1</Qty> <Rate>1</Rate> <Section>1</Section> <Subitem>1</Subitem> <gcodeno>1</gcodeno> <line>1</line> </EstimateItem>