POST Forms/Section?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
validateOnly

boolean

Default value is False

Body Parameters

FormSectionDto
NameDescriptionTypeAdditional information
FormSectionID

integer

None.

FormID

integer

None.

SectionName

string

None.

Type

FormSectionType

None.

Caption

string

None.

Introduction

string

None.

SortOrder

integer

None.

AnnotationType

FormAnnotationType

None.

NumberType

FormNumberType

None.

NumberText

string

None.

CalculatedNumber

string

None.

Tips

string

None.

RecordState

FormRecordState

None.

Created

FormAuditDataDto

None.

LastUpdated

FormAuditDataDto

None.

IsPartialData

boolean

None.

IsVisible

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "formSectionID": 1,
  "formID": 2,
  "sectionName": "sample string 3",
  "type": 1,
  "caption": "sample string 4",
  "introduction": "sample string 5",
  "sortOrder": 6,
  "annotationType": 1,
  "numberType": 1,
  "numberText": "sample string 7",
  "calculatedNumber": "sample string 8",
  "tips": "sample string 9",
  "recordState": 1,
  "created": {
    "dateUtc": "2024-12-04T08:16:59.7493804+00:00",
    "userName": "sample string 2"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:16:59.7493804+00:00",
    "userName": "sample string 2"
  },
  "isPartialData": true,
  "isVisible": true
}

application/xml, text/xml

Sample:
<FormSectionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlayaCare.Residential.Models.Forms">
  <AnnotationType>None</AnnotationType>
  <CalculatedNumber>sample string 8</CalculatedNumber>
  <Caption>sample string 4</Caption>
  <Created>
    <DateUtc>2024-12-04T08:16:59.7493804+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <FormID>2</FormID>
  <FormSectionID>1</FormSectionID>
  <Introduction>sample string 5</Introduction>
  <IsPartialData>true</IsPartialData>
  <IsVisible>true</IsVisible>
  <LastUpdated>
    <DateUtc>2024-12-04T08:16:59.7493804+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </LastUpdated>
  <NumberText>sample string 7</NumberText>
  <NumberType>None</NumberType>
  <Props xmlns:d2p1="http://schemas.datacontract.org/2004/07/AlayaCare.Residential.Common.Collections" i:nil="true" />
  <RecordState>Active</RecordState>
  <SectionName>sample string 3</SectionName>
  <SortOrder>6</SortOrder>
  <Tips>sample string 9</Tips>
  <Type>Page</Type>
</FormSectionDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
���An�0E��f�P9!@�5�nh%�{cO+K��'q�.z�^�vh7
�������㯏���v����Y��Ǫ�x3��C�U�;�E&��g(��=�;Z��@u��g
f�w�eb ~&�rU��>����7����O<�[C�����َ�jrs�lj�&�P2����2��&
�i�U=/�������J.��u�.Q?!�HACD��q\p*�7�m�"��m+�Lf��F{tx�߶�.��

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.