POST api/customfield/updatestatus

Update the System Status of custom field. i.e. Active or Deleted

Request Information

URI Parameters

None.

Body Parameters

Dezrez.Core.DataContracts.External.Api.Custom.Query.Get.UpdateCustomFieldCommandDataContract
NameDescriptionTypeAdditional information
CustomFieldId

integer

None.

SystemStatus

string

None.

Id

integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "CustomFieldId": 1,
  "SystemStatus": "sample string 2",
  "Id": 3
}

Response Information

Resource Description

Dezrez.Core.DataContracts.External.Api.Custom.Query.Get.CustomFieldDataContract
NameDescriptionTypeAdditional information
Type

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

ControlType

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

Name

string

None.

Validator

string

None.

Order

integer

None.

Options

Collection of string

None.

SystemStatus

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Type": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "ControlType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "Name": "sample string 1",
  "Validator": "sample string 2",
  "Order": 3,
  "Options": [
    "sample string 1",
    "sample string 2"
  ],
  "SystemStatus": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "Id": 4
}