POST api/participantresponse
Request Information
URI Parameters
None.
Body Parameters
ParticipantResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| participantId | integer |
None. |
|
| studyId | integer |
None. |
|
| questionId | integer |
None. |
|
| answerId | integer |
None. |
|
| answerText | string |
None. |
|
| attemptNumber | decimal number |
None. |
|
| isActive | boolean |
None. |
|
| questionOrder | integer |
None. |
|
| qustionType | string |
None. |
|
| freeText | string |
None. |
|
| result | Collection of ParticipantResultModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"participantId": 1,
"studyId": 2,
"questionId": 3,
"answerId": 4,
"answerText": "sample string 5",
"attemptNumber": 6.0,
"isActive": true,
"questionOrder": 8,
"qustionType": "sample string 9",
"freeText": "sample string 10",
"result": [
{
"participantId": 1,
"studyId": 2,
"attemptNumber": 3,
"preScreenerPass": true,
"questionnairePass": true,
"participantStatus": true,
"disclosurePass": true,
"when_To_Call": "sample string 8",
"isActive": true,
"validateFlag": true
},
{
"participantId": 1,
"studyId": 2,
"attemptNumber": 3,
"preScreenerPass": true,
"questionnairePass": true,
"participantStatus": true,
"disclosurePass": true,
"when_To_Call": "sample string 8",
"isActive": true,
"validateFlag": true
}
]
}
application/xml, text/xml
Sample:
<ParticipantResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECD_SFCData.Models">
<answerId>4</answerId>
<answerText>sample string 5</answerText>
<attemptNumber>6</attemptNumber>
<freeText>sample string 10</freeText>
<isActive>true</isActive>
<participantId>1</participantId>
<questionId>3</questionId>
<questionOrder>8</questionOrder>
<qustionType>sample string 9</qustionType>
<result>
<ParticipantResultModel>
<attemptNumber>3</attemptNumber>
<disclosurePass>true</disclosurePass>
<isActive>true</isActive>
<participantId>1</participantId>
<participantStatus>true</participantStatus>
<preScreenerPass>true</preScreenerPass>
<questionnairePass>true</questionnairePass>
<studyId>2</studyId>
<validateFlag>true</validateFlag>
<when_To_Call>sample string 8</when_To_Call>
</ParticipantResultModel>
<ParticipantResultModel>
<attemptNumber>3</attemptNumber>
<disclosurePass>true</disclosurePass>
<isActive>true</isActive>
<participantId>1</participantId>
<participantStatus>true</participantStatus>
<preScreenerPass>true</preScreenerPass>
<questionnairePass>true</questionnairePass>
<studyId>2</studyId>
<validateFlag>true</validateFlag>
<when_To_Call>sample string 8</when_To_Call>
</ParticipantResultModel>
</result>
<studyId>2</studyId>
</ParticipantResponseModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |