PUT api/PatientQuestionnaires/{id}?collectionDate={collectionDate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

collectionDate

date

None.

Body Parameters

PatientQuestionnaire
NameDescriptionTypeAdditional information
ID

integer

None.

CPI

string

None.

DIV_ID

integer

None.

CYCLE

integer

None.

QID

integer

None.

ENTR_BY

string

None.

ENTR_DATE

date

None.

OLD_CYCLE

integer

None.

OLD_QID

integer

None.

Values

Collection of PatientQuestionnaireValue

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "CPI": "sample string 2",
  "DIV_ID": 3,
  "CYCLE": 4,
  "QID": 5,
  "ENTR_BY": "sample string 6",
  "ENTR_DATE": "2025-08-29T02:59:24.5471278+00:00",
  "OLD_CYCLE": 1,
  "OLD_QID": 1,
  "Values": [
    {
      "ID": 1,
      "PAT_QUESTIONNAIRE_ID": 2,
      "VALUE": "sample string 3",
      "OPTION_ID": 1,
      "CHECKED": true,
      "OLD": 1,
      "COLLECTION_DATE": "2025-08-29T02:59:24.5471278+00:00",
      "Option": {
        "OptionID": 1,
        "QID": 2,
        "OptionDescription": "sample string 3",
        "OptionAltID": "sample string 4",
        "OpenChild": true,
        "OpenIDs": "sample string 6",
        "PopUp": true,
        "Type_Msg": "sample string 8",
        "Formula": "sample string 9",
        "LastStep": true,
        "SEQ": 11,
        "OptionCode": "sample string 12",
        "OLD": 1,
        "ACTIVE": true
      }
    },
    {
      "ID": 1,
      "PAT_QUESTIONNAIRE_ID": 2,
      "VALUE": "sample string 3",
      "OPTION_ID": 1,
      "CHECKED": true,
      "OLD": 1,
      "COLLECTION_DATE": "2025-08-29T02:59:24.5471278+00:00",
      "Option": {
        "OptionID": 1,
        "QID": 2,
        "OptionDescription": "sample string 3",
        "OptionAltID": "sample string 4",
        "OpenChild": true,
        "OpenIDs": "sample string 6",
        "PopUp": true,
        "Type_Msg": "sample string 8",
        "Formula": "sample string 9",
        "LastStep": true,
        "SEQ": 11,
        "OptionCode": "sample string 12",
        "OLD": 1,
        "ACTIVE": true
      }
    }
  ]
}

application/octet-stream

Sample:
{"ID":1,"CPI":"sample string 2","DIV_ID":3,"CYCLE":4,"QID":5,"ENTR_BY":"sample string 6","ENTR_DATE":"2025-08-29T02:59:24.5471278+00:00","OLD_CYCLE":1,"OLD_QID":1,"Values":[{"ID":1,"PAT_QUESTIONNAIRE_ID":2,"VALUE":"sample string 3","OPTION_ID":1,"CHECKED":true,"OLD":1,"COLLECTION_DATE":"2025-08-29T02:59:24.5471278+00:00","Option":{"OptionID":1,"QID":2,"OptionDescription":"sample string 3","OptionAltID":"sample string 4","OpenChild":true,"OpenIDs":"sample string 6","PopUp":true,"Type_Msg":"sample string 8","Formula":"sample string 9","LastStep":true,"SEQ":11,"OptionCode":"sample string 12","OLD":1,"ACTIVE":true}},{"ID":1,"PAT_QUESTIONNAIRE_ID":2,"VALUE":"sample string 3","OPTION_ID":1,"CHECKED":true,"OLD":1,"COLLECTION_DATE":"2025-08-29T02:59:24.5471278+00:00","Option":{"OptionID":1,"QID":2,"OptionDescription":"sample string 3","OptionAltID":"sample string 4","OpenChild":true,"OpenIDs":"sample string 6","PopUp":true,"Type_Msg":"sample string 8","Formula":"sample string 9","LastStep":true,"SEQ":11,"OptionCode":"sample string 12","OLD":1,"ACTIVE":true}}]}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PatientQuestionnaire'.

Response Information

Resource Description

None.