GET api/Provider/Patient/AllSurveys?patientID={patientID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
patientID

integer

Required

Body Parameters

None.

Response Information

Resource Description

ActionResultViewModelOfIEnumerableOfSurveyListViewModel
NameDescriptionTypeAdditional information
StatusCode

integer

None.

Success

boolean

None.

Message

string

None.

Result

Collection of SurveyListViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1,
  "Success": true,
  "Message": "sample string 3",
  "Result": [
    {
      "SurveyTypeID": 64,
      "CreatedDate": "2025-05-17T19:36:57.9841002+00:00",
      "SubmittedDate": "sample string 2"
    },
    {
      "SurveyTypeID": 64,
      "CreatedDate": "2025-05-17T19:36:57.9841002+00:00",
      "SubmittedDate": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<ActionResultViewModelOfArrayOfSurveyListViewModeldj8jxsKO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Consensus.Ortho.Web.ViewModels.ResultViewModels">
  <Message>sample string 3</Message>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/Consensus.Ortho.Services.ViewModels.ProviderViewModels">
    <d2p1:SurveyListViewModel>
      <d2p1:CreatedDate>2025-05-17T19:36:57.9841002+00:00</d2p1:CreatedDate>
      <d2p1:SubmittedDate>sample string 2</d2p1:SubmittedDate>
      <d2p1:SurveyTypeID>64</d2p1:SurveyTypeID>
    </d2p1:SurveyListViewModel>
    <d2p1:SurveyListViewModel>
      <d2p1:CreatedDate>2025-05-17T19:36:57.9841002+00:00</d2p1:CreatedDate>
      <d2p1:SubmittedDate>sample string 2</d2p1:SubmittedDate>
      <d2p1:SurveyTypeID>64</d2p1:SurveyTypeID>
    </d2p1:SurveyListViewModel>
  </Result>
  <StatusCode>1</StatusCode>
  <Success>true</Success>
</ActionResultViewModelOfArrayOfSurveyListViewModeldj8jxsKO>