POST api/SurveyMonkeyIntegration/PostCOSSurvey
Request Information
URI Parameters
None.
Body Parameters
CaseSurveyDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CompanyCode | string |
String length: inclusive between 0 and 10 |
|
| CaseNo | integer |
None. |
|
| EncounterId | integer |
None. |
|
| SurveyId | string |
String length: inclusive between 0 and 100 |
|
| CollectorId | string |
String length: inclusive between 0 and 100 |
|
| 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 |
|
| IsSendEmail | boolean |
None. |
|
| SurveyUrl | string |
String length: inclusive between 0 and 4000 |
|
| EncounterSequance | integer |
None. |
|
| NotificationTypeId | integer |
None. |
|
| SurveyType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"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-10-30T12:40:21.1769744-07:00",
"ValidFlag": true,
"UserName": "sample string 10",
"IsSendEmail": true,
"SurveyUrl": "sample string 11",
"EncounterSequance": 1,
"NotificationTypeId": 1,
"SurveyType": 12
}
application/xml, text/xml
Sample:
<CaseSurveyDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL"> <CaseNo>3</CaseNo> <CollectorId>sample string 6</CollectorId> <CompanyCode>sample string 2</CompanyCode> <EncounterId>4</EncounterId> <EncounterSequance>1</EncounterSequance> <Id>1</Id> <IsSendEmail>true</IsSendEmail> <IsSent>true</IsSent> <MessageId>sample string 7</MessageId> <NotificationTypeId>1</NotificationTypeId> <ReceiptId>sample string 8</ReceiptId> <SentDateTIme>2025-10-30T12:40:21.1769744-07:00</SentDateTIme> <SurveyId>sample string 5</SurveyId> <SurveyType>12</SurveyType> <SurveyUrl>sample string 11</SurveyUrl> <UserName>sample string 10</UserName> <ValidFlag>true</ValidFlag> </CaseSurveyDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AsapResponseOfString| Name | Description | Type | Additional 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>