POST api/customfieldgroup/{save}

Save a custom field group for a predefined type.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
save

string

None.

Body Parameters

SaveCustomFieldGroupCommandDataContract
NameDescriptionTypeAdditional information
Name

string

None.

Order

integer

None.

AppliesTo

CustomFieldGroupType

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Order": 2,
  "AppliesTo": 0,
  "Id": 3
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CustomFieldGroupDataContract
NameDescriptionTypeAdditional information
Name

string

None.

Fields

Collection of CustomFieldDataContract

None.

Order

integer

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Fields": [
    {
      "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"
      ],
      "Id": 4
    },
    {
      "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"
      ],
      "Id": 4
    }
  ],
  "Order": 2,
  "Id": 3
}