PUT api/Forms/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Document
NameDescriptionTypeAdditional information
Id

integer

None.

UserId

string

None.

Path

string

None.

Name

string

None.

Title

string

None.

Description

string

None.

CreatedDate

date

None.

UpdatedDate

date

None.

DeletedDate

date

None.

DocumentCategoryId

integer

None.

DocumentTypeId

integer

None.

DocumentExtensionId

integer

None.

DocumentType

DocumentType

None.

DocumentCategory

DocumentCategory

None.

DocumentExtension

DocumentExtension

None.

DocumentAudit

DocumentAudit

None.

Request Formats

application/json, text/json

Sample:
{
  "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:52:44.8389814+02:00",
  "UpdatedDate": "2025-12-11T17:52:44.8389814+02:00",
  "DeletedDate": "2025-12-11T17:52:44.8389814+02:00",
  "DocumentCategoryId": 8,
  "DocumentTypeId": 9,
  "DocumentExtensionId": 10,
  "DocumentType": {
    "$id": "2",
    "Id": 1,
    "DocumentTypeName": "sample string 2",
    "CreatedDate": "2025-12-11T17:52:44.8389814+02:00",
    "Documents": [
      {
        "$ref": "1"
      },
      {
        "$ref": "1"
      }
    ],
    "DocumentCategories": [
      {
        "$id": "3",
        "Id": 1,
        "CategoryName": "sample string 2",
        "DocumentTypeId": 3,
        "DocumentCategoryImageId": 1,
        "DocumentCategoryImage": {
          "$id": "4",
          "ID": 1,
          "Title": "sample string 2",
          "Description": "sample string 3",
          "Contents": "sample string 4",
          "Image": "QEA="
        },
        "DocumentType": {
          "$ref": "2"
        },
        "CategoryImage": {
          "$ref": "4"
        },
        "Documents": [
          {
            "$ref": "1"
          },
          {
            "$ref": "1"
          }
        ]
      },
      {
        "$ref": "3"
      }
    ]
  },
  "DocumentCategory": {
    "$ref": "3"
  },
  "DocumentExtension": {
    "$id": "5",
    "Id": 1,
    "Extension": "sample string 2",
    "Icon": "sample string 3",
    "Documents": [
      {
        "$ref": "1"
      },
      {
        "$ref": "1"
      }
    ]
  },
  "DocumentAudit": {
    "$id": "6",
    "Id": 1,
    "DocumentId": 2,
    "DocumentAuditTypeId": 3,
    "LogDate": "2025-12-11T17:52:44.8389814+02:00",
    "CreatedByID": 5,
    "Document": {
      "$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 'Document'.

Response Information

Resource Description

None.