POST data/lookup/relationship/{id}

Gets lookup values for relationship by Id.

Request Information

URI

https://eurotherm-web-api.xaitcpq.net/data/lookup/relationship/{id}?share={share}

URI Parameters

NameDescriptionTypeAdditional information
id

Relationship Identifier.

globally unique identifier

Required

share

Optional share identifier.

globally unique identifier

None.

Body Parameters

Filters to filter data by

Collection of RelationshipFilter
NameDescriptionTypeAdditional information
Filter

globally unique identifier

None.

Value

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Filter": "e28b8303-9d29-44ee-9106-179bfd4f5d0a",
    "Value": "sample string 2"
  },
  {
    "Filter": "e28b8303-9d29-44ee-9106-179bfd4f5d0a",
    "Value": "sample string 2"
  }
]

text/html

Sample:
[{"Filter":"e28b8303-9d29-44ee-9106-179bfd4f5d0a","Value":"sample string 2"},{"Filter":"e28b8303-9d29-44ee-9106-179bfd4f5d0a","Value":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfRelationshipFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.DataModels">
  <RelationshipFilter>
    <Filter>e28b8303-9d29-44ee-9106-179bfd4f5d0a</Filter>
    <Value>sample string 2</Value>
  </RelationshipFilter>
  <RelationshipFilter>
    <Filter>e28b8303-9d29-44ee-9106-179bfd4f5d0a</Filter>
    <Value>sample string 2</Value>
  </RelationshipFilter>
</ArrayOfRelationshipFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The lookup values.

Collection of LookupValue
NameDescriptionTypeAdditional information
Id

Object

None.

HumanReadableValue

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": {},
    "HumanReadableValue": "sample string 2"
  },
  {
    "Id": {},
    "HumanReadableValue": "sample string 2"
  }
]

text/html

Sample:
[{"Id":{},"HumanReadableValue":"sample string 2"},{"Id":{},"HumanReadableValue":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfLookupValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.DataModels">
  <LookupValue>
    <HumanReadableValue>sample string 2</HumanReadableValue>
    <Id />
  </LookupValue>
  <LookupValue>
    <HumanReadableValue>sample string 2</HumanReadableValue>
    <Id />
  </LookupValue>
</ArrayOfLookupValue>