GET api/ApnAdmin/Lookup?name={name}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
name

string

Required

Body Parameters

None.

Response Information

Resource Description

ApiResultOfListOfLookupItem
NameDescriptionTypeAdditional information
Response

ApiResponse

None.

Data

Collection of LookupItem

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": {
    "Success": true,
    "ErrorMessage": "sample string 2"
  },
  "Data": [
    {
      "Id": "sample string 1",
      "Text": "sample string 2",
      "Extra": {
        "sample string 1": {},
        "sample string 3": {}
      }
    },
    {
      "Id": "sample string 1",
      "Text": "sample string 2",
      "Extra": {
        "sample string 1": {},
        "sample string 3": {}
      }
    }
  ]
}

application/xml, text/xml

Sample:
<ApiResultOfArrayOfLookupItem289WtATZ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions.Admin">
    <d2p1:LookupItem>
      <d2p1:Extra xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </d2p1:Extra>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:Text>sample string 2</d2p1:Text>
    </d2p1:LookupItem>
    <d2p1:LookupItem>
      <d2p1:Extra xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </d2p1:Extra>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:Text>sample string 2</d2p1:Text>
    </d2p1:LookupItem>
  </Data>
  <Response>
    <ErrorMessage>sample string 2</ErrorMessage>
    <Success>true</Success>
  </Response>
</ApiResultOfArrayOfLookupItem289WtATZ>