POST api/ListItem/Validate

Request Information

URI Parameters

None.

Body Parameters

WorkPoint365.WebAPI.Model.Controllers.ListItem.ValidateFieldValueRequest
NameDescriptionTypeAdditional information
businessModuleId

The ID of the business module.

globally unique identifier

None.

entityId

The ID of the business module entity on which entity site the list is found.

integer

None.

list

The web relative url or ID of the list on the entity site.

string

None.

itemId

The ID of the list item to exclude from the uniqueness check (the item being updated).

integer

None.

fieldName

The internal name of the field to validate for unique values.

string

None.

fieldValue

The value of the field to validate for unique values.

Object

None.

Request Formats

application/json, text/json

Sample:
{
  "businessModuleId": "86bb171b-3fdf-4433-9bcb-0f2e6b9cd836",
  "entityId": 2,
  "list": "sample string 3",
  "itemId": 1,
  "fieldName": "sample string 4",
  "fieldValue": {}
}

application/xml, text/xml

Sample:
<ValidateFieldValueRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPoint365.WebAPI.Model.Controllers.ListItem">
  <BusinessModuleId>86bb171b-3fdf-4433-9bcb-0f2e6b9cd836</BusinessModuleId>
  <EntityId>2</EntityId>
  <FieldName>sample string 4</FieldName>
  <FieldValue />
  <ItemId>1</ItemId>
  <List>sample string 3</List>
</ValidateFieldValueRequest>

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.