POST api/SurveyMonkeyIntegration/PostMSMQuestionnaire

Request Information

URI Parameters

None.

Body Parameters

MEQuestionnaireSurveyMonkeyDTO
NameDescriptionTypeAdditional information
Id

integer

None.

CompanyCode

string

String length: inclusive between 0 and 20

EmployeeEmail

string

String length: inclusive between 0 and 150

CaseNo

integer

None.

SurveyId

string

String length: inclusive between 0 and 100

CollectorId

string

String length: inclusive between 0 and 100

CollectorType

string

String length: inclusive between 0 and 100

SurveyURL

string

String length: inclusive between 0 and 200

MessageId

string

String length: inclusive between 0 and 100

ReceiptId

string

String length: inclusive between 0 and 100

IsSent

boolean

None.

SentDateTIme

date

None.

ValidFlag

boolean

None.

UserName

string

String length: inclusive between 0 and 61

SurveyLink

string

String length: inclusive between 0 and 200

SurveyCode

string

String length: inclusive between 0 and 100

IsSendEmail

boolean

None.

QRCodeImage

string

String length: inclusive between 0 and 8000

SurveyCompleted

boolean

None.

IsQuestionnaireProcessed

boolean

None.

ProcessedFailReason

string

String length: inclusive between 0 and 300

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CompanyCode": "sample string 2",
  "EmployeeEmail": "sample string 3",
  "CaseNo": 4,
  "SurveyId": "sample string 5",
  "CollectorId": "sample string 6",
  "CollectorType": "sample string 7",
  "SurveyURL": "sample string 8",
  "MessageId": "sample string 9",
  "ReceiptId": "sample string 10",
  "IsSent": true,
  "SentDateTIme": "2025-04-04T05:16:32.3967718-07:00",
  "ValidFlag": true,
  "UserName": "sample string 12",
  "SurveyLink": "sample string 13",
  "SurveyCode": "sample string 14",
  "IsSendEmail": true,
  "QRCodeImage": "sample string 15",
  "SurveyCompleted": true,
  "IsQuestionnaireProcessed": true,
  "ProcessedFailReason": "sample string 17"
}

application/xml, text/xml

Sample:
<MEQuestionnaireSurveyMonkeyDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.DTO.MedicalExam">
  <CaseNo>4</CaseNo>
  <CollectorId>sample string 6</CollectorId>
  <CollectorType>sample string 7</CollectorType>
  <CompanyCode>sample string 2</CompanyCode>
  <EmployeeEmail>sample string 3</EmployeeEmail>
  <Id>1</Id>
  <IsQuestionnaireProcessed>true</IsQuestionnaireProcessed>
  <IsSendEmail>true</IsSendEmail>
  <IsSent>true</IsSent>
  <MessageId>sample string 9</MessageId>
  <ProcessedFailReason>sample string 17</ProcessedFailReason>
  <QRCodeImage>sample string 15</QRCodeImage>
  <ReceiptId>sample string 10</ReceiptId>
  <SentDateTIme>2025-04-04T05:16:32.3967718-07:00</SentDateTIme>
  <SurveyCode>sample string 14</SurveyCode>
  <SurveyCompleted>true</SurveyCompleted>
  <SurveyId>sample string 5</SurveyId>
  <SurveyLink>sample string 13</SurveyLink>
  <SurveyURL>sample string 8</SurveyURL>
  <UserName>sample string 12</UserName>
  <ValidFlag>true</ValidFlag>
</MEQuestionnaireSurveyMonkeyDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AsapResponseOfString
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

string

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": "sample string 3",
  "totalCount": 4
}

application/xml, text/xml

Sample:
<AsapResponseOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common">
  <isSuccess>true</isSuccess>
  <jsonObj>sample string 3</jsonObj>
  <message>sample string 2</message>
  <totalCount>4</totalCount>
</AsapResponseOfstring>