TheSpiritProject REST API

With the use of this API, you can fetch the all the assesment list for a domain.

Method: POST

URI: /getAssessment

Authentication: Require a valid access token to use this API

*Required HEADER
Parameters Type Description
token* String This token required to use this API. You can get the token using authenticate API.
*Required POST fields(All post data is in json format entered in raw payload.)
Parameters Type Description
domain* Integer Enter the domain under which you find the Assessment List.


With the use of this API, you can fetch the all the report list data for download.

Method: POST

URI: /getRawReport

Authentication: Require a valid access token to use this API

*Required HEADER
Parameters Type Description
token* String This token required to use this API. You can get the token using authenticate API.
*Required POST fields(All post data is in json format entered in raw payload.)
Parameters Type Description
assessment_id* Integer Enter the Asswssment id whose report you want to fetch.
start* String Enter the starting date from where you fetch the results. Format should in YYYY-mm-dd format.
end* String Enter the end date till you fetch the results. Format should in YYYY-mm-dd format.
key* Integer Enter the key that should be diffrentatite the reports types.
"yes"=>Get Survey List
"no"=>Get Client Keys
"download_revised"=>Get Revised Survey List.