PUT api/forms/SaveAnswers

Request Information

URI Parameters

None.

Body Parameters

SaveIncompleteVisitAnswersInput
NameDescriptionTypeAdditional information
clientVisitId

integer

Required

categoryId

integer

Required

categoryNote

string

None.

listOfAnsweredQuestions

Collection of AnsweredQuestion

None.

base64Signatures

Collection of Base64Signature

None.

Request Formats

application/json, text/json

Sample:
{
  "clientVisitId": 1,
  "categoryId": 2,
  "categoryNote": "sample string 3",
  "listOfAnsweredQuestions": [
    {
      "questionId": 1,
      "saveAnswer": "sample string 2",
      "note": "sample string 3",
      "dxAxisCodeMapping": {
        "Type": "sample string 1",
        "AxisLevel": 2,
        "AxisId": 1,
        "Icd9Code": "sample string 3",
        "Icd10Code": "sample string 4",
        "DxDescription": "sample string 5"
      }
    },
    {
      "questionId": 1,
      "saveAnswer": "sample string 2",
      "note": "sample string 3",
      "dxAxisCodeMapping": {
        "Type": "sample string 1",
        "AxisLevel": 2,
        "AxisId": 1,
        "Icd9Code": "sample string 3",
        "Icd10Code": "sample string 4",
        "DxDescription": "sample string 5"
      }
    }
  ],
  "base64Signatures": [
    {
      "order": 64,
      "signature": "sample string 2",
      "dateTime": "2026-05-05T07:15:43.5277106-04:00",
      "printName": "sample string 3"
    },
    {
      "order": 64,
      "signature": "sample string 2",
      "dateTime": "2026-05-05T07:15:43.5277106-04:00",
      "printName": "sample string 3"
    }
  ]
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'CWI.Mobile.Domain.DTO.Base64Signature' cannot inherit from a type that is not marked with DataContractAttribute or SerializableAttribute. Consider marking the base type 'CWI.Mobile.Domain.DTO.Base64SignatureBase' with DataContractAttribute or SerializableAttribute, or removing them from the derived type.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'CWI.Mobile.Domain.DTO.Base64Signature' cannot inherit from a type that is not marked with DataContractAttribute or SerializableAttribute. Consider marking the base type 'CWI.Mobile.Domain.DTO.Base64SignatureBase' with DataContractAttribute or SerializableAttribute, or removing them from the derived type.

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 'SaveIncompleteVisitAnswersInput'.

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.