POST Forms/EntryAuditLog?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
validateOnly

boolean

Default value is False

Body Parameters

FormEntryAuditLogDto
NameDescriptionTypeAdditional information
AuditLogID

integer

None.

FormEntryID

integer

None.

AuditType

FormAuditType

None.

Created

FormAuditDataExDto

None.

Changes

Collection of FormEntryAuditLogChangeDto

None.

Request Formats

application/json, text/json

Sample:
{
  "auditLogID": 1,
  "formEntryID": 2,
  "auditType": 1,
  "created": {
    "userID": 1,
    "dateUtc": "2024-12-04T07:57:04.5585492+00:00",
    "userName": "sample string 3"
  },
  "changes": [
    {
      "auditLogChangeID": 1,
      "auditLogID": 2,
      "parentType": 1,
      "parentKey": "sample string 3",
      "oldValue": "sample string 4",
      "newValue": "sample string 5",
      "created": {
        "userID": 1,
        "dateUtc": "2024-12-04T07:57:04.5585492+00:00",
        "userName": "sample string 3"
      },
      "summary": "Changed from (sample string 4) to (sample string 5)"
    },
    {
      "auditLogChangeID": 1,
      "auditLogID": 2,
      "parentType": 1,
      "parentKey": "sample string 3",
      "oldValue": "sample string 4",
      "newValue": "sample string 5",
      "created": {
        "userID": 1,
        "dateUtc": "2024-12-04T07:57:04.5585492+00:00",
        "userName": "sample string 3"
      },
      "summary": "Changed from (sample string 4) to (sample string 5)"
    }
  ]
}

application/xml, text/xml

Sample:
<FormEntryAuditLogDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlayaCare.Residential.Models.Forms">
  <AuditLogID>1</AuditLogID>
  <AuditType>Edit</AuditType>
  <Changes>
    <FormEntryAuditLogChangeDto>
      <AuditLogChangeID>1</AuditLogChangeID>
      <AuditLogID>2</AuditLogID>
      <Created>
        <DateUtc>2024-12-04T07:57:04.5585492+00:00</DateUtc>
        <UserName>sample string 3</UserName>
        <UserID>1</UserID>
      </Created>
      <NewValue>sample string 5</NewValue>
      <OldValue>sample string 4</OldValue>
      <ParentKey>sample string 3</ParentKey>
      <ParentType>Entry</ParentType>
    </FormEntryAuditLogChangeDto>
    <FormEntryAuditLogChangeDto>
      <AuditLogChangeID>1</AuditLogChangeID>
      <AuditLogID>2</AuditLogID>
      <Created>
        <DateUtc>2024-12-04T07:57:04.5585492+00:00</DateUtc>
        <UserName>sample string 3</UserName>
        <UserID>1</UserID>
      </Created>
      <NewValue>sample string 5</NewValue>
      <OldValue>sample string 4</OldValue>
      <ParentKey>sample string 3</ParentKey>
      <ParentType>Entry</ParentType>
    </FormEntryAuditLogChangeDto>
  </Changes>
  <Created>
    <DateUtc>2024-12-04T07:57:04.5585492+00:00</DateUtc>
    <UserName>sample string 3</UserName>
    <UserID>1</UserID>
  </Created>
  <FormEntryID>2</FormEntryID>
</FormEntryAuditLogDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
��1n1E�bMʂ�c��(���A������V���ȑr��]$�I�*������|}|AU�.�M@2�9o�6��<���Wu�����"j�G��ˎN�k܂F�
X��J1����x|Ğ(��B�,.�I��)$!����3�R�^���m�h��[��W*��
؎s��g�
����g5O���Ǧ��8<T�(�n��d�!�;�.��^����߼ks����

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.