PUT FormTypes

Updates the given form type.

Request Information

URI Parameters

None.

Body Parameters

Form type to update

FormType
NameDescriptionTypeAdditional information
FormTypeId

globally unique identifier

None.

Name

string

None.

Description

string

None.

AssetType

AssetType

None.

FrequencyNeeded

integer

None.

ValueNeededDate

date

None.

Fields

Collection of FormTypeField

None.

SourceSystemId

string

None.

CompanyId

globally unique identifier

None.

CreateDate

date

None.

CreateUser

string

None.

LastModifiedDate

date

None.

LastModifiedUser

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FormTypeId": "61a10a9f-10d9-4c48-9b84-34bb4fc97f4a",
  "Name": "sample string 1",
  "Description": "sample string 2",
  "AssetType": {
    "AssetTypeId": "fa36383a-3843-4d69-9418-f85e23fc8481",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayColor": "sample string 3",
    "SourceSystemId": "sample string 4",
    "CompanyId": "9c666865-9361-45b7-9609-137c32d16b0e",
    "CreateDate": "2024-12-22T02:55:00.2929113-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2024-12-22T02:55:00.2929113-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "FrequencyNeeded": 1,
  "ValueNeededDate": "2024-12-22T02:55:00.2929113-08:00",
  "Fields": [
    {
      "FormTypeFieldId": "c949cbe9-4271-4d1d-9713-eb264324b924",
      "Section": {
        "FormTypeSectionId": "53ce6511-69dd-4dde-a185-deeae3b268cb",
        "Name": "sample string 1",
        "Label": "sample string 2",
        "DisplayOrder": 1,
        "IsRepeatable": true,
        "VisibleExpression": "sample string 4",
        "SourceSystemId": "sample string 5"
      },
      "Name": "sample string 1",
      "Label": "sample string 2",
      "Description": "sample string 3",
      "DataType": {
        "DataTypeId": "114146c8-d956-4252-89e8-8404136fd653",
        "Name": "sample string 1"
      },
      "Unit": {
        "UnitId": "830828e9-8cee-46bc-aeb7-9b594fb81ec4",
        "Code": "sample string 1",
        "Description": "sample string 2",
        "SourceSystemId": "sample string 3",
        "CompanyId": "a89d7e37-064a-4ffb-8b35-542ed4e70dd3",
        "CreateDate": "2024-12-22T02:55:00.2929113-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-12-22T02:55:00.2929113-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "DisplayOrder": 1,
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "HasValidValues": true,
      "ValidValues": [
        {
          "ValidValueId": "c4227dd4-e869-4e47-a718-e7dc78b87017",
          "FieldId": "035efbf2-1217-4835-9d96-898a4bb05606",
          "FieldName": "sample string 1",
          "FieldLabel": "sample string 2",
          "ValueText": "sample string 3",
          "LabelText": "sample string 4"
        },
        {
          "ValidValueId": "c4227dd4-e869-4e47-a718-e7dc78b87017",
          "FieldId": "035efbf2-1217-4835-9d96-898a4bb05606",
          "FieldName": "sample string 1",
          "FieldLabel": "sample string 2",
          "ValueText": "sample string 3",
          "LabelText": "sample string 4"
        }
      ],
      "ValueExpression": "sample string 5",
      "RequiredExpression": "sample string 6",
      "IsAttachment": true,
      "DefaultValueExpression": "sample string 8",
      "IsAccumulator": true,
      "IsMultiline": true,
      "IsRepeatable": true,
      "VisibleExpression": "sample string 12",
      "SourceSystemId": "sample string 13"
    },
    {
      "FormTypeFieldId": "c949cbe9-4271-4d1d-9713-eb264324b924",
      "Section": {
        "FormTypeSectionId": "53ce6511-69dd-4dde-a185-deeae3b268cb",
        "Name": "sample string 1",
        "Label": "sample string 2",
        "DisplayOrder": 1,
        "IsRepeatable": true,
        "VisibleExpression": "sample string 4",
        "SourceSystemId": "sample string 5"
      },
      "Name": "sample string 1",
      "Label": "sample string 2",
      "Description": "sample string 3",
      "DataType": {
        "DataTypeId": "114146c8-d956-4252-89e8-8404136fd653",
        "Name": "sample string 1"
      },
      "Unit": {
        "UnitId": "830828e9-8cee-46bc-aeb7-9b594fb81ec4",
        "Code": "sample string 1",
        "Description": "sample string 2",
        "SourceSystemId": "sample string 3",
        "CompanyId": "a89d7e37-064a-4ffb-8b35-542ed4e70dd3",
        "CreateDate": "2024-12-22T02:55:00.2929113-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-12-22T02:55:00.2929113-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "DisplayOrder": 1,
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "HasValidValues": true,
      "ValidValues": [
        {
          "ValidValueId": "c4227dd4-e869-4e47-a718-e7dc78b87017",
          "FieldId": "035efbf2-1217-4835-9d96-898a4bb05606",
          "FieldName": "sample string 1",
          "FieldLabel": "sample string 2",
          "ValueText": "sample string 3",
          "LabelText": "sample string 4"
        },
        {
          "ValidValueId": "c4227dd4-e869-4e47-a718-e7dc78b87017",
          "FieldId": "035efbf2-1217-4835-9d96-898a4bb05606",
          "FieldName": "sample string 1",
          "FieldLabel": "sample string 2",
          "ValueText": "sample string 3",
          "LabelText": "sample string 4"
        }
      ],
      "ValueExpression": "sample string 5",
      "RequiredExpression": "sample string 6",
      "IsAttachment": true,
      "DefaultValueExpression": "sample string 8",
      "IsAccumulator": true,
      "IsMultiline": true,
      "IsRepeatable": true,
      "VisibleExpression": "sample string 12",
      "SourceSystemId": "sample string 13"
    }
  ],
  "SourceSystemId": "sample string 3",
  "CompanyId": "84edcaf8-3783-4b51-8bc0-f63c4adae1c8",
  "CreateDate": "2024-12-22T02:55:00.2929113-08:00",
  "CreateUser": "sample string 5",
  "LastModifiedDate": "2024-12-22T02:55:00.2929113-08:00",
  "LastModifiedUser": "sample string 6"
}

Response Information

Resource Description

On success, the updated form type.

NameDescriptionTypeAdditional information
Data

FormType

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "FormTypeId": "5e53e8a2-96fe-457c-bbde-d5398e04712e",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "AssetType": {
      "AssetTypeId": "3134de1c-9ff0-457a-9cb9-4842ac93805f",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "6ec189b1-9858-474b-a305-5d4b4d7f6704",
      "CreateDate": "2024-12-22T02:55:00.2929113-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-12-22T02:55:00.2929113-08:00",
      "LastModifiedUser": "sample string 7"
    },
    "FrequencyNeeded": 1,
    "ValueNeededDate": "2024-12-22T02:55:00.2929113-08:00",
    "Fields": [
      {
        "FormTypeFieldId": "3476050c-cea9-49fc-9274-7d8c0386db33",
        "Section": {
          "FormTypeSectionId": "da6d549a-551b-4f9f-bd50-028fa2d6f10e",
          "Name": "sample string 1",
          "Label": "sample string 2",
          "DisplayOrder": 1,
          "IsRepeatable": true,
          "VisibleExpression": "sample string 4",
          "SourceSystemId": "sample string 5"
        },
        "Name": "sample string 1",
        "Label": "sample string 2",
        "Description": "sample string 3",
        "DataType": {
          "DataTypeId": "84de3915-bd3b-47a0-8053-4482af2e49e1",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "5c955389-446a-402d-bd95-0f5b1a5a7d72",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "f6c16b9e-c8f0-40b1-b9e3-4871281c4c50",
          "CreateDate": "2024-12-22T02:55:00.2929113-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-12-22T02:55:00.2929113-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "5266f1d1-0daf-4e2e-83d6-d347ae4e8185",
            "FieldId": "287c8047-a094-4141-a954-5b38b3e3bcfe",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "5266f1d1-0daf-4e2e-83d6-d347ae4e8185",
            "FieldId": "287c8047-a094-4141-a954-5b38b3e3bcfe",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          }
        ],
        "ValueExpression": "sample string 5",
        "RequiredExpression": "sample string 6",
        "IsAttachment": true,
        "DefaultValueExpression": "sample string 8",
        "IsAccumulator": true,
        "IsMultiline": true,
        "IsRepeatable": true,
        "VisibleExpression": "sample string 12",
        "SourceSystemId": "sample string 13"
      },
      {
        "FormTypeFieldId": "3476050c-cea9-49fc-9274-7d8c0386db33",
        "Section": {
          "FormTypeSectionId": "da6d549a-551b-4f9f-bd50-028fa2d6f10e",
          "Name": "sample string 1",
          "Label": "sample string 2",
          "DisplayOrder": 1,
          "IsRepeatable": true,
          "VisibleExpression": "sample string 4",
          "SourceSystemId": "sample string 5"
        },
        "Name": "sample string 1",
        "Label": "sample string 2",
        "Description": "sample string 3",
        "DataType": {
          "DataTypeId": "84de3915-bd3b-47a0-8053-4482af2e49e1",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "5c955389-446a-402d-bd95-0f5b1a5a7d72",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "f6c16b9e-c8f0-40b1-b9e3-4871281c4c50",
          "CreateDate": "2024-12-22T02:55:00.2929113-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-12-22T02:55:00.2929113-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "5266f1d1-0daf-4e2e-83d6-d347ae4e8185",
            "FieldId": "287c8047-a094-4141-a954-5b38b3e3bcfe",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "5266f1d1-0daf-4e2e-83d6-d347ae4e8185",
            "FieldId": "287c8047-a094-4141-a954-5b38b3e3bcfe",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          }
        ],
        "ValueExpression": "sample string 5",
        "RequiredExpression": "sample string 6",
        "IsAttachment": true,
        "DefaultValueExpression": "sample string 8",
        "IsAccumulator": true,
        "IsMultiline": true,
        "IsRepeatable": true,
        "VisibleExpression": "sample string 12",
        "SourceSystemId": "sample string 13"
      }
    ],
    "SourceSystemId": "sample string 3",
    "CompanyId": "13b7abad-d6d7-4af3-bb37-02405117045e",
    "CreateDate": "2024-12-22T02:55:00.2929113-08:00",
    "CreateUser": "sample string 5",
    "LastModifiedDate": "2024-12-22T02:55:00.2929113-08:00",
    "LastModifiedUser": "sample string 6"
  },
  "Total": 1,
  "Message": "sample string 1"
}