POST api/Participant

Request Information

URI Parameters

None.

Body Parameters

ParticipantModel
NameDescriptionTypeAdditional information
participantId

integer

None.

firstName

string

None.

lastName

string

None.

emailId

string

None.

phone

string

None.

dob

date

None.

gender

string

None.

height

decimal number

None.

weight

decimal number

None.

when_To_Call

string

None.

isActive

boolean

None.

wristCircumference

decimal number

None.

studyId

integer

None.

attemptCount

integer

None.

bmi

decimal number

None.

isMock

boolean

None.

age

integer

None.

adminid

string

None.

dynamicvalues

Collection of ParticipantDynamicValuesModel

None.

participantResponses

Collection of ParticipantResponseModel

None.

Request Formats

application/json, text/json

Sample:
{
  "participantResponses": [
    {
      "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
        }
      ]
    },
    {
      "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
        }
      ]
    }
  ],
  "participantId": 1,
  "firstName": "sample string 2",
  "lastName": "sample string 3",
  "emailId": "sample string 4",
  "phone": "sample string 5",
  "dob": "2024-11-26T13:29:20.6846167-05:00",
  "gender": "sample string 7",
  "height": 8.1,
  "weight": 9.1,
  "when_To_Call": "sample string 10",
  "isActive": true,
  "wristCircumference": 11.1,
  "studyId": 12,
  "attemptCount": 13,
  "bmi": 14.1,
  "isMock": true,
  "age": 16,
  "adminid": "sample string 17",
  "dynamicvalues": [
    {
      "D_Value": "sample string 1",
      "D_Option": "sample string 2"
    },
    {
      "D_Value": "sample string 1",
      "D_Option": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<ParticipantModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECD_SFCData.Models">
  <adminid>sample string 17</adminid>
  <age>16</age>
  <attemptCount>13</attemptCount>
  <bmi>14.1</bmi>
  <dob>2024-11-26T13:29:20.6846167-05:00</dob>
  <dynamicvalues>
    <ParticipantDynamicValuesModel>
      <D_Option>sample string 2</D_Option>
      <D_Value>sample string 1</D_Value>
    </ParticipantDynamicValuesModel>
    <ParticipantDynamicValuesModel>
      <D_Option>sample string 2</D_Option>
      <D_Value>sample string 1</D_Value>
    </ParticipantDynamicValuesModel>
  </dynamicvalues>
  <emailId>sample string 4</emailId>
  <firstName>sample string 2</firstName>
  <gender>sample string 7</gender>
  <height>8.1</height>
  <isActive>true</isActive>
  <isMock>true</isMock>
  <lastName>sample string 3</lastName>
  <participantId>1</participantId>
  <participantResponses>
    <ParticipantResponseModel>
      <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>
    <ParticipantResponseModel>
      <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>
  </participantResponses>
  <phone>sample string 5</phone>
  <studyId>12</studyId>
  <weight>9.1</weight>
  <when_To_Call>sample string 10</when_To_Call>
  <wristCircumference>11.1</wristCircumference>
</ParticipantModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.