POST data/lookup/relationship/{id}

Gets lookup values for relationship by Id.

Request Information

URI

https://ofd-api.blueprintcpq.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": "24aaebf5-583f-49e9-a557-519b10d5541f",
    "Value": "sample string 2"
  },
  {
    "Filter": "24aaebf5-583f-49e9-a557-519b10d5541f",
    "Value": "sample string 2"
  }
]

text/html

Sample:
[{"Filter":"24aaebf5-583f-49e9-a557-519b10d5541f","Value":"sample string 2"},{"Filter":"24aaebf5-583f-49e9-a557-519b10d5541f","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>24aaebf5-583f-49e9-a557-519b10d5541f</Filter>
    <Value>sample string 2</Value>
  </RelationshipFilter>
  <RelationshipFilter>
    <Filter>24aaebf5-583f-49e9-a557-519b10d5541f</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>