POST api/forms/SaveAndSubmit

Execute the process for signing and submitting an incomplete visit.

Request Information

URI Parameters

None.

Body Parameters

SignAndSubmitIncompleteVisitInput
NameDescriptionTypeAdditional information
clientVisitTempId

integer

Required

locationId

integer

Required

diagnosisId

integer

None.

recipientId

integer

None.

timeIn

date

Required

timeOut

date

Required

emLevel

integer

None.

billingGroupId

integer

None.

supervisingPhysicianId

integer

None.

overrideWSupervising

boolean

None.

cotherapist

boolean

None.

isNonBillable

boolean

None.

isEmpOverride

boolean

None.

createERxGCode

boolean

None.

flexOnRate

decimal number

None.

flexOnUnit

decimal number

None.

scheduleId

integer

None.

base64Signatures

Collection of Base64Signature

None.

isOrphanVisit

boolean

None.

firstName

string

None.

lastName

string

None.

groupNotes

string

None.

AppVersion

string

None.

SignatureDateTime

date

None.

flexRatePerUnit

decimal number

None.

signSubLU1

integer

None.

signSubLU2

integer

None.

signSubLU3

integer

None.

signSubLU4

integer

None.

infoBlockingExceptionId

integer

None.

multipleDxDescriptions

Collection of DiagnosesIcd10ListItem

None.

Request Formats

application/json, text/json

Sample:
{
  "clientVisitTempId": 1,
  "locationId": 2,
  "diagnosisId": 1,
  "recipientId": 1,
  "timeIn": "2026-05-05T07:15:42.9247186-04:00",
  "timeOut": "2026-05-05T07:15:42.9247186-04:00",
  "emLevel": 1,
  "billingGroupId": 1,
  "supervisingPhysicianId": 1,
  "overrideWSupervising": true,
  "cotherapist": true,
  "isNonBillable": true,
  "isEmpOverride": true,
  "createERxGCode": true,
  "flexOnRate": 1.0,
  "flexOnUnit": 1.0,
  "scheduleId": 1,
  "base64Signatures": [
    {
      "order": 64,
      "signature": "sample string 2",
      "dateTime": "2026-05-05T07:15:42.9247186-04:00",
      "printName": "sample string 3"
    },
    {
      "order": 64,
      "signature": "sample string 2",
      "dateTime": "2026-05-05T07:15:42.9247186-04:00",
      "printName": "sample string 3"
    }
  ],
  "isOrphanVisit": true,
  "firstName": "sample string 6",
  "lastName": "sample string 7",
  "groupNotes": "sample string 8",
  "AppVersion": "sample string 9",
  "SignatureDateTime": "2026-05-05T07:15:42.9247186-04:00",
  "flexRatePerUnit": 1.0,
  "signSubLU1": 1,
  "signSubLU2": 1,
  "signSubLU3": 1,
  "signSubLU4": 1,
  "infoBlockingExceptionId": 1,
  "multipleDxDescriptions": [
    {
      "Description": "sample string 1",
      "Icd10Code": "sample string 2"
    },
    {
      "Description": "sample string 1",
      "Icd10Code": "sample string 2"
    }
  ]
}

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

Response Information

Resource Description

An Http response message with the folliwing status codes: 200 = success (always includes a clientVisitId), 400 = bad request (the request is malformed or with invalid data), 500 = something went wrong (the request was not processed)

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.