GET api/entitycriterialists/{entityCriteriaListId}

Gets a specific EntityCriteriaList.



Request Information

URI Parameters

NameDescriptionTypeAdditional information
entityCriteriaListId

The id of the EntityCriteriaList to get.

integer

Required



Body Parameters

None.



Response Information

Resource Description

The requested EntityCriteriaList, if it exists; null otherwise.

ReadEntityCriteriaListViewModel

NameDescriptionTypeAdditional information
Id

integer

None.

EntityDefinitionId

integer

None.

EntityCategoryId

integer

None.

Name

string

None.

Criteria

Collection of EntityCriteriaListCriteriaViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "EntityDefinitionId": 2,
  "EntityCategoryId": 1,
  "Name": "sample string 3",
  "Criteria": [
    {
      "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:
<ReadEntityCriteriaListViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels">
  <Criteria>
    <EntityCriteriaListCriteriaViewModel>
      <CompareValue>sample string 1</CompareValue>
      <DateOfTodayDayOffset>4</DateOfTodayDayOffset>
      <EntityAttributeId>2</EntityAttributeId>
      <IsDateOfToday>true</IsDateOfToday>
      <ModifierId>5</ModifierId>
      <RecursionPath xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:long>1</d4p1:long>
        <d4p1:long>2</d4p1:long>
      </RecursionPath>
    </EntityCriteriaListCriteriaViewModel>
    <EntityCriteriaListCriteriaViewModel>
      <CompareValue>sample string 1</CompareValue>
      <DateOfTodayDayOffset>4</DateOfTodayDayOffset>
      <EntityAttributeId>2</EntityAttributeId>
      <IsDateOfToday>true</IsDateOfToday>
      <ModifierId>5</ModifierId>
      <RecursionPath xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:long>1</d4p1:long>
        <d4p1:long>2</d4p1:long>
      </RecursionPath>
    </EntityCriteriaListCriteriaViewModel>
  </Criteria>
  <EntityCategoryId>1</EntityCategoryId>
  <EntityDefinitionId>2</EntityDefinitionId>
  <Id>1</Id>
  <Name>sample string 3</Name>
</ReadEntityCriteriaListViewModel>