Surveys

5.11 Survey Answers

Json Schema (for use with MS Power Automate)

{
  "type": "object",
  "properties": {
    "subjectType": {
      "type": "string"
    },
    "changeType": {
      "type": "string"
    },
    "subjectFrontEndUrl": {
      "type": "string"
    },
    "timeStamp": {
      "type": "string"
    },
    "data": {
      "type": "object",
      "properties": {
        "Id": {
          "type": "integer"
        },
        "SurveyId": {
          "type": "integer"
        },
        "SurveyTypeQuestion": {
          "type": "string"
        },
        "SurveyTypeQuestionId": {
          "type": "integer"
        },
        "CreatedAt": {
          "type": "string"
        },
        "ModifiedAt": {
          "type": "string"
        },
        "CreatedByPerson": {
          "type": "object",
          "properties": {
            "PersonId": {
              "type": "integer"
            },
            "FirstName": {
              "type": "string"
            },
            "FamilyName": {
              "type": "string"
            },
            "Email": {
              "type": "string"
            }
          }
        },
        "ModifiedByPerson": {
          "type": "object",
          "properties": {
            "PersonId": {
              "type": "integer"
            },
            "FirstName": {
              "type": "string"
            },
            "FamilyName": {
              "type": "string"
            },
            "Email": {
              "type": "string"
            }
          }
        },
        "Response": {
          "type": "string"
        },
        "TextualResponse": {
          "type": "string"
        },
        "RespondingPersonId": {
          "type": "integer"
        },
        "PersonRoleId": {
          "type": "integer"
        },
        "PersonDepartmentId": {
          "type": "integer"
        },
        "PersonSiteId": {
          "type": "integer"
        },
        "IsDeleted": {
          "type": "boolean"
        }
      }
    },
    "differences": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          },
          "oldValue": {
            "type": "string"
          },
          "newValue": {
            "type": "string"
          }
        },
        "required": [
          "path",
          "oldValue",
          "newValue"
        ]
      }
    }
  }
}