GET api/LkpData/lkp_hub/{cd}
Lookup table Data- Find lkp_hub by ID
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
cd | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ResultOflkp_hubDTOAndStringName | Description | Type | Additional information |
---|---|---|---|
DataList | Collection of lkp_hubDTO |
None. |
|
ErrorList | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "DataList": [ { "hub_cd": "sample string 1", "hub_name": "sample string 2", "hub_desc": "sample string 3", "country_cd": "sample string 4", "active_date": "2024-11-20T14:16:16.109509-05:00", "inactive_date": "2024-11-20T14:16:16.109509-05:00" }, { "hub_cd": "sample string 1", "hub_name": "sample string 2", "hub_desc": "sample string 3", "country_cd": "sample string 4", "active_date": "2024-11-20T14:16:16.109509-05:00", "inactive_date": "2024-11-20T14:16:16.109509-05:00" } ], "ErrorList": [ "sample string 1", "sample string 2" ] }
text/xml
Sample:
<ResultOflkp_hubDTOstringbSRV2x7M xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FERC.DataCol.MBR.WebAPI.Common"> <DataList xmlns:d2p1="http://schemas.datacontract.org/2004/07/FERC.DataCol.MBR.WebAPI.DTO"> <d2p1:lkp_hubDTO> <d2p1:active_date>2024-11-20T14:16:16.109509-05:00</d2p1:active_date> <d2p1:country_cd>sample string 4</d2p1:country_cd> <d2p1:hub_cd>sample string 1</d2p1:hub_cd> <d2p1:hub_desc>sample string 3</d2p1:hub_desc> <d2p1:hub_name>sample string 2</d2p1:hub_name> <d2p1:inactive_date>2024-11-20T14:16:16.109509-05:00</d2p1:inactive_date> </d2p1:lkp_hubDTO> <d2p1:lkp_hubDTO> <d2p1:active_date>2024-11-20T14:16:16.109509-05:00</d2p1:active_date> <d2p1:country_cd>sample string 4</d2p1:country_cd> <d2p1:hub_cd>sample string 1</d2p1:hub_cd> <d2p1:hub_desc>sample string 3</d2p1:hub_desc> <d2p1:hub_name>sample string 2</d2p1:hub_name> <d2p1:inactive_date>2024-11-20T14:16:16.109509-05:00</d2p1:inactive_date> </d2p1:lkp_hubDTO> </DataList> <ErrorList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ErrorList> </ResultOflkp_hubDTOstringbSRV2x7M>