POST truformsubmission

Updates a submission. Only the "Integrated" property can be updated, all other properties are read-only. Setting the "Integrated" property to True will cause this submission to no longer appear in the list returned from GET truformsubmission. LEGACY NOTE: This function is not supported for TruForm legacy data.

Request Information

Parameters

NameDescriptionAdditional information
sub
See The Request body formats below for properties.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "ID": "d41e8a4b-a85b-47d1-9ae4-0812b9c5f932",
  "TruFormID": "96d9c129-605e-4301-8656-b5d907e2aa05",
  "DoctorOrPracticeName": "sample string 3",
  "ExternalID": "sample string 4",
  "Archived": true,
  "Integrated": true,
  "DateSubmitted": "2019-10-19T12:28:26.1248321Z",
  "UserEmail": "sample string 8",
  "UserFirstName": "sample string 9",
  "UserLastName": "sample string 10",
  "UserAppointment": "2019-10-19T12:28:26.1248321Z",
  "Submitted": true,
  "FieldsCompleted": 12,
  "FieldCount": 13,
  "PercentComplete": 14,
  "TypeName": "sample string 15",
  "TruFormName": "sample string 16",
  "RequiresDoctorSignature": true,
  "DoctorHasSigned": true,
  "Completed": true,
  "ViewStatus": "sample string 20",
  "AttachedFiles": [
    {
      "ID": "e8f54f5b-f916-4104-92fa-be9150d4ad2f",
      "CaseID": "bf39cdd1-d5bd-408a-9482-49c4e51cd40d",
      "Name": "sample string 2",
      "Extension": "sample string 3",
      "Size": 4,
      "DateCreated": "2019-10-19T12:28:26.1248321Z",
      "DateDeleted": "2019-10-19T12:28:26.1248321Z",
      "UserWhoAddedName": "sample string 6",
      "FileUrl": "sample string 7",
      "Shared": true
    },
    {
      "ID": "e8f54f5b-f916-4104-92fa-be9150d4ad2f",
      "CaseID": "bf39cdd1-d5bd-408a-9482-49c4e51cd40d",
      "Name": "sample string 2",
      "Extension": "sample string 3",
      "Size": 4,
      "DateCreated": "2019-10-19T12:28:26.1248321Z",
      "DateDeleted": "2019-10-19T12:28:26.1248321Z",
      "UserWhoAddedName": "sample string 6",
      "FileUrl": "sample string 7",
      "Shared": true
    },
    {
      "ID": "e8f54f5b-f916-4104-92fa-be9150d4ad2f",
      "CaseID": "bf39cdd1-d5bd-408a-9482-49c4e51cd40d",
      "Name": "sample string 2",
      "Extension": "sample string 3",
      "Size": 4,
      "DateCreated": "2019-10-19T12:28:26.1248321Z",
      "DateDeleted": "2019-10-19T12:28:26.1248321Z",
      "UserWhoAddedName": "sample string 6",
      "FileUrl": "sample string 7",
      "Shared": true
    }
  ]
}

text/html

Sample:
{"ID":"d41e8a4b-a85b-47d1-9ae4-0812b9c5f932","TruFormID":"96d9c129-605e-4301-8656-b5d907e2aa05","DoctorOrPracticeName":"sample string 3","ExternalID":"sample string 4","Archived":true,"Integrated":true,"DateSubmitted":"2019-10-19T12:28:26.1248321Z","UserEmail":"sample string 8","UserFirstName":"sample string 9","UserLastName":"sample string 10","UserAppointment":"2019-10-19T12:28:26.1248321Z","Submitted":true,"FieldsCompleted":12,"FieldCount":13,"PercentComplete":14,"TypeName":"sample string 15","TruFormName":"sample string 16","RequiresDoctorSignature":true,"DoctorHasSigned":true,"Completed":true,"ViewStatus":"sample string 20","AttachedFiles":[{"ID":"e8f54f5b-f916-4104-92fa-be9150d4ad2f","CaseID":"bf39cdd1-d5bd-408a-9482-49c4e51cd40d","Name":"sample string 2","Extension":"sample string 3","Size":4,"DateCreated":"2019-10-19T12:28:26.1248321Z","DateDeleted":"2019-10-19T12:28:26.1248321Z","UserWhoAddedName":"sample string 6","FileUrl":"sample string 7","Shared":true},{"ID":"e8f54f5b-f916-4104-92fa-be9150d4ad2f","CaseID":"bf39cdd1-d5bd-408a-9482-49c4e51cd40d","Name":"sample string 2","Extension":"sample string 3","Size":4,"DateCreated":"2019-10-19T12:28:26.1248321Z","DateDeleted":"2019-10-19T12:28:26.1248321Z","UserWhoAddedName":"sample string 6","FileUrl":"sample string 7","Shared":true},{"ID":"e8f54f5b-f916-4104-92fa-be9150d4ad2f","CaseID":"bf39cdd1-d5bd-408a-9482-49c4e51cd40d","Name":"sample string 2","Extension":"sample string 3","Size":4,"DateCreated":"2019-10-19T12:28:26.1248321Z","DateDeleted":"2019-10-19T12:28:26.1248321Z","UserWhoAddedName":"sample string 6","FileUrl":"sample string 7","Shared":true}]}

application/xml, text/xml

Sample:
<SubmissionDtoForList>
  <ID>d41e8a4b-a85b-47d1-9ae4-0812b9c5f932</ID>
  <TruFormID>96d9c129-605e-4301-8656-b5d907e2aa05</TruFormID>
  <DoctorOrPracticeName>sample string 3</DoctorOrPracticeName>
  <ExternalID>sample string 4</ExternalID>
  <Archived>true</Archived>
  <Integrated>true</Integrated>
  <DateSubmitted>2019-10-19T12:28:26.1248321Z</DateSubmitted>
  <UserEmail>sample string 8</UserEmail>
  <UserFirstName>sample string 9</UserFirstName>
  <UserLastName>sample string 10</UserLastName>
  <UserAppointment>2019-10-19T12:28:26.1248321Z</UserAppointment>
  <Submitted>true</Submitted>
  <FieldsCompleted>12</FieldsCompleted>
  <FieldCount>13</FieldCount>
  <PercentComplete>14</PercentComplete>
  <TypeName>sample string 15</TypeName>
  <TruFormName>sample string 16</TruFormName>
  <RequiresDoctorSignature>true</RequiresDoctorSignature>
  <DoctorHasSigned>true</DoctorHasSigned>
  <Completed>true</Completed>
  <ViewStatus>sample string 20</ViewStatus>
  <AttachedFiles>
    <ID>e8f54f5b-f916-4104-92fa-be9150d4ad2f</ID>
    <CaseID>bf39cdd1-d5bd-408a-9482-49c4e51cd40d</CaseID>
    <Name>sample string 2</Name>
    <Extension>sample string 3</Extension>
    <Size>4</Size>
    <DateCreated>2019-10-19T12:28:26.1248321Z</DateCreated>
    <DateDeleted>2019-10-19T12:28:26.1248321Z</DateDeleted>
    <UserWhoAddedName>sample string 6</UserWhoAddedName>
    <FileUrl>sample string 7</FileUrl>
    <Shared>true</Shared>
  </AttachedFiles>
  <AttachedFiles>
    <ID>e8f54f5b-f916-4104-92fa-be9150d4ad2f</ID>
    <CaseID>bf39cdd1-d5bd-408a-9482-49c4e51cd40d</CaseID>
    <Name>sample string 2</Name>
    <Extension>sample string 3</Extension>
    <Size>4</Size>
    <DateCreated>2019-10-19T12:28:26.1248321Z</DateCreated>
    <DateDeleted>2019-10-19T12:28:26.1248321Z</DateDeleted>
    <UserWhoAddedName>sample string 6</UserWhoAddedName>
    <FileUrl>sample string 7</FileUrl>
    <Shared>true</Shared>
  </AttachedFiles>
  <AttachedFiles>
    <ID>e8f54f5b-f916-4104-92fa-be9150d4ad2f</ID>
    <CaseID>bf39cdd1-d5bd-408a-9482-49c4e51cd40d</CaseID>
    <Name>sample string 2</Name>
    <Extension>sample string 3</Extension>
    <Size>4</Size>
    <DateCreated>2019-10-19T12:28:26.1248321Z</DateCreated>
    <DateDeleted>2019-10-19T12:28:26.1248321Z</DateDeleted>
    <UserWhoAddedName>sample string 6</UserWhoAddedName>
    <FileUrl>sample string 7</FileUrl>
    <Shared>true</Shared>
  </AttachedFiles>
</SubmissionDtoForList>