Features - Connectors Framework - Inbound REST API - Estimates
View Estimate
Overview
Retrieve a estimate's information of the client
URL Format
https://{domain}/api/rest/{clientId}/{versionNumber}/estimate/{estimateId}/view.html?token=XXXXXXXX&userId={userId}
Arguments
clientId
required
MobiWork assigned unique ID of the company
versionNumber
required
Version number of MobiWork API SDK release. Current version is: 10.0.78
token
required
Part of URL as a request parameter and is required in every call to verify access to API calls
estimateId
required
The identifier of the estimate to be retrieved
userId
optional
If provided, this User ID will be taken as a logged in user. If not provided we use an active global administrator ID
Return
Returns a estimate Object if valid arguments are provided. Returns an error if not a valid request
Request Body XSD
None
Response Body XSD
Curl Example
HTTP Method: GET
Request: curl -k -X GET "https://www.mobiwork.com/api/rest/12014/10.0.78/estimate/501266/view.html?token=COJL8X2FKSLMMRTYCH2B"
Response: <?xml version="1.0" encoding="UTF-8" ?>
<response version="5.0.141" statusCode="1">
<estimate>
<mobiworkEstimateId>123< /mobiworkEstimateId>
<externalId>null</externalId>
<description>test</description>
<status>Status 1</status>
<categoryId>4< /categoryId>
<category>Category 1</category>
<address>
<addressId>12345</addressId>
<address1>160 Congress Park Dr</address1>
< address2>!</address2>
<city>Delray Beach</city>
<state>Florida</state>
<zipCode>33445</zipCode>
<countryId>1</countryId>
< latitude>26.4582132</latitude>
<longitude>-80.0940502</longitude>
<name>Primary</name>
<baseDistance>123</baseDistance>
</address>
<quoteNumber>null</quoteNumber>
<dueDate>2018/01/04</dueDate>
</estimate>
</response>