GET api/SurveyMonkeyIntegration/GetAllEncounterSurvey?caseno={caseno}&surveytype={surveytype}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
caseno | integer |
Required |
|
surveytype | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
AsapResponseOfListOfEncounterCaseSurveyDTOName | Description | Type | Additional information |
---|---|---|---|
isSuccess | boolean |
None. |
|
message | string |
None. |
|
jsonObj | Collection of EncounterCaseSurveyDTO |
None. |
|
totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "isSuccess": true, "message": "sample string 2", "jsonObj": [ { "CaseNo": 1, "EncounterId": 2, "Sequance": 3, "CaseSurveyId": 1, "SurveyURL": "sample string 4", "EncounterType": 5, "QRCodeImage": "sample string 6", "SurveyCompleted": true, "SurveyId": "sample string 7", "CollectorId": "sample string 8", "SurveyType": 9 }, { "CaseNo": 1, "EncounterId": 2, "Sequance": 3, "CaseSurveyId": 1, "SurveyURL": "sample string 4", "EncounterType": 5, "QRCodeImage": "sample string 6", "SurveyCompleted": true, "SurveyId": "sample string 7", "CollectorId": "sample string 8", "SurveyType": 9 } ], "totalCount": 3 }
application/xml, text/xml
Sample:
<AsapResponseOfArrayOfEncounterCaseSurveyDTO3NYuOdgi 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:EncounterCaseSurveyDTO> <d2p1:CaseNo>1</d2p1:CaseNo> <d2p1:CaseSurveyId>1</d2p1:CaseSurveyId> <d2p1:CollectorId>sample string 8</d2p1:CollectorId> <d2p1:EncounterId>2</d2p1:EncounterId> <d2p1:EncounterType>5</d2p1:EncounterType> <d2p1:QRCodeImage>sample string 6</d2p1:QRCodeImage> <d2p1:Sequance>3</d2p1:Sequance> <d2p1:SurveyCompleted>true</d2p1:SurveyCompleted> <d2p1:SurveyId>sample string 7</d2p1:SurveyId> <d2p1:SurveyType>9</d2p1:SurveyType> <d2p1:SurveyURL>sample string 4</d2p1:SurveyURL> </d2p1:EncounterCaseSurveyDTO> <d2p1:EncounterCaseSurveyDTO> <d2p1:CaseNo>1</d2p1:CaseNo> <d2p1:CaseSurveyId>1</d2p1:CaseSurveyId> <d2p1:CollectorId>sample string 8</d2p1:CollectorId> <d2p1:EncounterId>2</d2p1:EncounterId> <d2p1:EncounterType>5</d2p1:EncounterType> <d2p1:QRCodeImage>sample string 6</d2p1:QRCodeImage> <d2p1:Sequance>3</d2p1:Sequance> <d2p1:SurveyCompleted>true</d2p1:SurveyCompleted> <d2p1:SurveyId>sample string 7</d2p1:SurveyId> <d2p1:SurveyType>9</d2p1:SurveyType> <d2p1:SurveyURL>sample string 4</d2p1:SurveyURL> </d2p1:EncounterCaseSurveyDTO> </jsonObj> <message>sample string 2</message> <totalCount>3</totalCount> </AsapResponseOfArrayOfEncounterCaseSurveyDTO3NYuOdgi>