POST api/customfield/values/save

Saving a list of custom fields to an entity

Request Information

URI Parameters

None.

Body Parameters

Collection of Dezrez.Core.DataContracts.External.Api.Custom.Command.SaveCustomField.SaveCustomFieldValueCommandSaveDataContract
NameDescriptionTypeAdditional information
CustomFieldId

integer

None.

Value

Object

None.

Id

integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
[
  {
    "CustomFieldId": 1,
    "Value": {},
    "Id": 3
  },
  {
    "CustomFieldId": 1,
    "Value": {},
    "Id": 3
  }
]

Response Information

Resource Description

Collection of Dezrez.Core.DataContracts.External.Api.Custom.Command.SaveCustomField.CustomFieldValueDataContract
NameDescriptionTypeAdditional information
Type

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

None.

Name

string

None.

Value

Object

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Type": {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    },
    "Name": "sample string 1",
    "Value": {}
  },
  {
    "Type": {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    },
    "Name": "sample string 1",
    "Value": {}
  }
]