PUT api/DocumentAudits/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

DocumentAudit
NameDescriptionTypeAdditional information
Id

integer

None.

DocumentId

integer

None.

DocumentAuditTypeId

integer

None.

LogDate

date

None.

CreatedByID

integer

None.

Document

Document

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "DocumentId": 2,
  "DocumentAuditTypeId": 3,
  "LogDate": "2025-12-11T17:51:22.6185201+02:00",
  "CreatedByID": 5,
  "Document": {
    "$id": "2",
    "Id": 1,
    "UserId": "sample string 2",
    "Path": "sample string 3",
    "Name": "sample string 4",
    "Title": "sample string 5",
    "Description": "sample string 6",
    "CreatedDate": "2025-12-11T17:51:22.6185201+02:00",
    "UpdatedDate": "2025-12-11T17:51:22.6185201+02:00",
    "DeletedDate": "2025-12-11T17:51:22.6185201+02:00",
    "DocumentCategoryId": 8,
    "DocumentTypeId": 9,
    "DocumentExtensionId": 10,
    "DocumentType": {
      "$id": "3",
      "Id": 1,
      "DocumentTypeName": "sample string 2",
      "CreatedDate": "2025-12-11T17:51:22.6185201+02:00",
      "Documents": [
        {
          "$ref": "2"
        },
        {
          "$ref": "2"
        }
      ],
      "DocumentCategories": [
        {
          "$id": "4",
          "Id": 1,
          "CategoryName": "sample string 2",
          "DocumentTypeId": 3,
          "DocumentCategoryImageId": 1,
          "DocumentCategoryImage": {
            "$id": "5",
            "ID": 1,
            "Title": "sample string 2",
            "Description": "sample string 3",
            "Contents": "sample string 4",
            "Image": "QEA="
          },
          "DocumentType": {
            "$ref": "3"
          },
          "CategoryImage": {
            "$ref": "5"
          },
          "Documents": [
            {
              "$ref": "2"
            },
            {
              "$ref": "2"
            }
          ]
        },
        {
          "$ref": "4"
        }
      ]
    },
    "DocumentCategory": {
      "$ref": "4"
    },
    "DocumentExtension": {
      "$id": "6",
      "Id": 1,
      "Extension": "sample string 2",
      "Icon": "sample string 3",
      "Documents": [
        {
          "$ref": "2"
        },
        {
          "$ref": "2"
        }
      ]
    },
    "DocumentAudit": {
      "$ref": "1"
    }
  }
}

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

Response Information

Resource Description

None.