PoC for REST API implementation of Triple-S
Testing Get /Surveys/{surveyId}/Metadata user survey id: 1e6cb0a1-2289-4650-9148-9fc3e6e129b2
Testing Post /Surveys/Interviews sample json to use
{
"surveyId": "",
"start": 0,
"maxLength": 400,
"completeOnly": false,
"variables" : ["2","3","15"],
"interviewIdents": [ "403", "408" ],
"date": "2020-01-01T03:00:00.000Z"
}
json conditions of Posting:
- (Start == null && MaxLength != null || Start != null && MaxLength == null) will return Invalid paging arguments
- date: is filtered as >=
- interviewIdents: is filtered as contains
- the rest uses equals to condition