Skip to content

surveyResults

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/surveyResults/{period-in-hours}/{survey-id}

GET
Get survey results for surveys with the specified ID and that have been completed in the period specified.  This only returns Site Attributes currently.

available response representations:
  • 200 - application/json

{
    siteSurveys:[
        { id:'345',
          status:1,
          siteRef:'abc123',
          jobRef:'J09XNK',
          performedOn:'23/09/2011',
          attributeGroups:[
              { name:'rob-test',
                attributes:[
                    { name:'Actual Void Date',
                      value:'12/2/2009'
                    },    
                    { name:'Date Keys Received',
                      value:'12/3/2009'
                    }
                ]
              }
          ]
        }
    ],

    result:'success',
    result_msg:''
}


See the Asset Management API matrix for the full list of endpoints in this category.