completeSurvey¶
Supported, no replacement yet
This endpoint remains fully supported. No replacement exists in the new API yet, and no action is needed. When a replacement ships you will get 12 months' notice, and this site will be updated.
Reference¶
/rest/assetmgmt/survey/completeSurvey/{site-survey-id}
POST
This API will update the status of a Survey to Complete and, depending on whether the survey requires approval, post the survey results.
available response representations:
- 200 - application/json
{
siteSurvey:
{ id:'345', // The site survey id of the completed survey (should match {site-survey-id} )
status:1 // The site survey status of the survey (e.g. complete or approved) },
result:'success',
result_msg:''
}See the Asset Management API matrix for the full list of endpoints in this category.