POST Forms/Category?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
validateOnly

boolean

Default value is False

Body Parameters

FormCategoryDto
NameDescriptionTypeAdditional information
FormCategoryID

integer

None.

FormClass

FormClass

None.

CategoryName

string

None.

SortOrder

integer

None.

RecordState

FormRecordState

None.

Created

FormAuditDataDto

None.

LastUpdated

FormAuditDataDto

None.

Request Formats

application/json, text/json

Sample:
{
  "formCategoryID": 1,
  "formClass": 1,
  "categoryName": "sample string 2",
  "sortOrder": 3,
  "recordState": 1,
  "created": {
    "dateUtc": "2024-12-04T08:09:20.8077628+00:00",
    "userName": "sample string 2"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:09:20.8077628+00:00",
    "userName": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<FormCategoryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlayaCare.Residential.Models.Forms">
  <CategoryName>sample string 2</CategoryName>
  <Created>
    <DateUtc>2024-12-04T08:09:20.8077628+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <FormCategoryID>1</FormCategoryID>
  <FormClass>Client</FormClass>
  <LastUpdated>
    <DateUtc>2024-12-04T08:09:20.8077628+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </LastUpdated>
  <RecordState>Active</RecordState>
  <SortOrder>3</SortOrder>
</FormCategoryDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
���1�@E�B�u1�J���F�v$&��ٵ0��Yx$��Fl��������.N��	�8��w@����x���ox0�7��r�\�&Ѡ�;	G�,@+µ{
�5ׅ��@#�(�PG�F���N1?cI�!���b��"!F�ͳ��9)��B5����7�ȡ

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.