GET api/SurveyMonkeyIntegration/GetCOSSurvey?q={q}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
q

string

Required

Body Parameters

None.

Response Information

Resource Description

AsapResponseOfListOfCaseSurveyDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

Collection of CaseSurveyDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": [
    {
      "Id": 1,
      "CompanyCode": "sample string 2",
      "CaseNo": 3,
      "EncounterId": 4,
      "SurveyId": "sample string 5",
      "CollectorId": "sample string 6",
      "MessageId": "sample string 7",
      "ReceiptId": "sample string 8",
      "IsSent": true,
      "SentDateTIme": "2025-04-04T05:21:23.804507-07:00",
      "ValidFlag": true,
      "UserName": "sample string 10",
      "IsSendEmail": true,
      "SurveyUrl": "sample string 11",
      "EncounterSequance": 1,
      "NotificationTypeId": 1,
      "SurveyType": 12
    },
    {
      "Id": 1,
      "CompanyCode": "sample string 2",
      "CaseNo": 3,
      "EncounterId": 4,
      "SurveyId": "sample string 5",
      "CollectorId": "sample string 6",
      "MessageId": "sample string 7",
      "ReceiptId": "sample string 8",
      "IsSent": true,
      "SentDateTIme": "2025-04-04T05:21:23.804507-07:00",
      "ValidFlag": true,
      "UserName": "sample string 10",
      "IsSendEmail": true,
      "SurveyUrl": "sample string 11",
      "EncounterSequance": 1,
      "NotificationTypeId": 1,
      "SurveyType": 12
    }
  ],
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfArrayOfCaseSurveyDTO3NYuOdgi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common">
  <isSuccess>true</isSuccess>
  <jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
    <d2p1:CaseSurveyDTO>
      <d2p1:CaseNo>3</d2p1:CaseNo>
      <d2p1:CollectorId>sample string 6</d2p1:CollectorId>
      <d2p1:CompanyCode>sample string 2</d2p1:CompanyCode>
      <d2p1:EncounterId>4</d2p1:EncounterId>
      <d2p1:EncounterSequance>1</d2p1:EncounterSequance>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsSendEmail>true</d2p1:IsSendEmail>
      <d2p1:IsSent>true</d2p1:IsSent>
      <d2p1:MessageId>sample string 7</d2p1:MessageId>
      <d2p1:NotificationTypeId>1</d2p1:NotificationTypeId>
      <d2p1:ReceiptId>sample string 8</d2p1:ReceiptId>
      <d2p1:SentDateTIme>2025-04-04T05:21:23.804507-07:00</d2p1:SentDateTIme>
      <d2p1:SurveyId>sample string 5</d2p1:SurveyId>
      <d2p1:SurveyType>12</d2p1:SurveyType>
      <d2p1:SurveyUrl>sample string 11</d2p1:SurveyUrl>
      <d2p1:UserName>sample string 10</d2p1:UserName>
      <d2p1:ValidFlag>true</d2p1:ValidFlag>
    </d2p1:CaseSurveyDTO>
    <d2p1:CaseSurveyDTO>
      <d2p1:CaseNo>3</d2p1:CaseNo>
      <d2p1:CollectorId>sample string 6</d2p1:CollectorId>
      <d2p1:CompanyCode>sample string 2</d2p1:CompanyCode>
      <d2p1:EncounterId>4</d2p1:EncounterId>
      <d2p1:EncounterSequance>1</d2p1:EncounterSequance>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsSendEmail>true</d2p1:IsSendEmail>
      <d2p1:IsSent>true</d2p1:IsSent>
      <d2p1:MessageId>sample string 7</d2p1:MessageId>
      <d2p1:NotificationTypeId>1</d2p1:NotificationTypeId>
      <d2p1:ReceiptId>sample string 8</d2p1:ReceiptId>
      <d2p1:SentDateTIme>2025-04-04T05:21:23.804507-07:00</d2p1:SentDateTIme>
      <d2p1:SurveyId>sample string 5</d2p1:SurveyId>
      <d2p1:SurveyType>12</d2p1:SurveyType>
      <d2p1:SurveyUrl>sample string 11</d2p1:SurveyUrl>
      <d2p1:UserName>sample string 10</d2p1:UserName>
      <d2p1:ValidFlag>true</d2p1:ValidFlag>
    </d2p1:CaseSurveyDTO>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfArrayOfCaseSurveyDTO3NYuOdgi>