POST api/entitydefinitions/{entityDefinitionId}/entitycategories/{entityCategoryId}/entityobjectlistinstances/criteriasearch/ids

Gets the ids of the EntityObjectListInstances that match specific search criteria.



Request Information

URI Parameters

NameDescriptionTypeAdditional information
entityDefinitionId

The id of the EntityDefinition associated with the EntityObjectList whose instances's ids to fetch.

integer

Required

entityCategoryId

The id of the EntityObjectList whose instances's ids to fetch.

integer

Required



Body Parameters

The criteria the EntityObjectListInstances must match.

Collection of EntityCriteriaListCriteriaViewModel
NameDescriptionTypeAdditional information
CompareValue

string

None.

EntityAttributeId

integer

None.

IsDateOfToday

boolean

None.

DateOfTodayDayOffset

integer

None.

ModifierId

integer

None.

RecursionPath

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "CompareValue": "sample string 1",
    "EntityAttributeId": 2,
    "IsDateOfToday": true,
    "DateOfTodayDayOffset": 4,
    "ModifierId": 5,
    "RecursionPath": [
      1,
      2
    ]
  },
  {
    "CompareValue": "sample string 1",
    "EntityAttributeId": 2,
    "IsDateOfToday": true,
    "DateOfTodayDayOffset": 4,
    "ModifierId": 5,
    "RecursionPath": [
      1,
      2
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfEntityCriteriaListCriteriaViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels">
  <EntityCriteriaListCriteriaViewModel>
    <CompareValue>sample string 1</CompareValue>
    <DateOfTodayDayOffset>4</DateOfTodayDayOffset>
    <EntityAttributeId>2</EntityAttributeId>
    <IsDateOfToday>true</IsDateOfToday>
    <ModifierId>5</ModifierId>
    <RecursionPath xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:long>1</d3p1:long>
      <d3p1:long>2</d3p1:long>
    </RecursionPath>
  </EntityCriteriaListCriteriaViewModel>
  <EntityCriteriaListCriteriaViewModel>
    <CompareValue>sample string 1</CompareValue>
    <DateOfTodayDayOffset>4</DateOfTodayDayOffset>
    <EntityAttributeId>2</EntityAttributeId>
    <IsDateOfToday>true</IsDateOfToday>
    <ModifierId>5</ModifierId>
    <RecursionPath xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:long>1</d3p1:long>
      <d3p1:long>2</d3p1:long>
    </RecursionPath>
  </EntityCriteriaListCriteriaViewModel>
</ArrayOfEntityCriteriaListCriteriaViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.



Response Information

Resource Description

The requested collection of EntityObjectListInstance ids matching the specified criteria.

Collection of integer

Response Formats

application/json, text/json

Sample:
[
  1,
  2
]

application/xml, text/xml

Sample:
<ArrayOflong xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <long>1</long>
  <long>2</long>
</ArrayOflong>