POST api/estimate/{id}
Create an estimate
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
the unique id of the form/project |
integer |
Required |
Body Parameters
JOSN Object with estimate details
FeEstimateDetailsCreate| Name | Description | Type | Additional information |
|---|---|---|---|
| layoutID | integer |
None. |
|
| NumberOfPhases | integer |
None. |
|
| type | string |
None. |
|
| definedPhases | integer |
None. |
|
| phaseNames | Collection of string |
None. |
|
| fee | Collection of feeDetails |
None. |
|
| OOPS | Collection of oopDetails |
None. |
Request Formats
application/json, text/json, application/scim+json
Sample:
{
"layoutID": 1,
"NumberOfPhases": 2,
"type": "sample string 3",
"definedPhases": 4,
"phaseNames": [
"sample string 1",
"sample string 2"
],
"fee": [
{
"guid": "sample string 1",
"phase": 2,
"phaseRow": 3,
"title": "sample string 4",
"department": "sample string 5",
"role": "sample string 6",
"category": "sample string 7",
"hours": 8.1,
"startDate": "sample string 9",
"endDate": "sample string 10",
"extraColumn": "sample string 11",
"extraColumn2": "sample string 12",
"quantity": 13,
"total": 14.1,
"SellCost": 15.1
},
{
"guid": "sample string 1",
"phase": 2,
"phaseRow": 3,
"title": "sample string 4",
"department": "sample string 5",
"role": "sample string 6",
"category": "sample string 7",
"hours": 8.1,
"startDate": "sample string 9",
"endDate": "sample string 10",
"extraColumn": "sample string 11",
"extraColumn2": "sample string 12",
"quantity": 13,
"total": 14.1,
"SellCost": 15.1
}
],
"OOPS": [
{
"guid": "sample string 1",
"phase": 2,
"rsIndex": 3,
"title": "sample string 4",
"value": 5.1,
"quantity": 6,
"margin": 7.1,
"extra1": "sample string 8",
"extra2": "sample string 9",
"meta1": "sample string 10",
"meta2": "sample string 11",
"meta3": "sample string 12",
"meta4": "sample string 13",
"total": 14.1,
"SellCost": 15.1
},
{
"guid": "sample string 1",
"phase": 2,
"rsIndex": 3,
"title": "sample string 4",
"value": 5.1,
"quantity": 6,
"margin": 7.1,
"extra1": "sample string 8",
"extra2": "sample string 9",
"meta1": "sample string 10",
"meta2": "sample string 11",
"meta3": "sample string 12",
"meta4": "sample string 13",
"total": 14.1,
"SellCost": 15.1
}
]
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.