POST api/CustomFieldValue/Save

Request Information

URI Parameters

None.

Body Parameters

CustomFieldValue
NameDescriptionTypeAdditional information
CustomFieldValueId

integer

None.

CustomFieldId

integer

None.

ElementName

string

None.

ElementId

integer

None.

Value

string

None.

DateSaved

date

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "CustomFieldValueId": 1,
  "CustomFieldId": 2,
  "ElementName": "sample string 3",
  "ElementId": 4,
  "Value": "sample string 5",
  "DateSaved": "2024-10-30T05:13:39.6422775-07:00"
}

application/xml, text/xml

Sample:
<CustomFieldValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NiceAPI.Managers">
  <CustomFieldId>2</CustomFieldId>
  <CustomFieldValueId>1</CustomFieldValueId>
  <DateSaved>2024-10-30T05:13:39.6422775-07:00</DateSaved>
  <ElementId>4</ElementId>
  <ElementName>sample string 3</ElementName>
  <Value>sample string 5</Value>
</CustomFieldValue>

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 'CustomFieldValue'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json, text/html

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>