GET api/locations/{locationId}?lang={lang}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
locationId | integer |
Required |
|
lang | string |
None. |
Body Parameters
None.
Response Information
Resource Description
ResponseResultOfLocationDetailInfoName | Description | Type | Additional information |
---|---|---|---|
Data | LocationDetailInfo |
None. |
|
Message | string |
None. |
|
Status | integer |
None. |
|
Page | PageInfo |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "Id": 1, "Title": "sample string 2", "Content": "sample string 3", "KeyWords": "sample string 4", "Description": "sample string 5", "IconUrl": "sample string 6", "IsShow": true, "CrumbLists": [ { "Id": 1, "Url": "sample string 2", "Name": "sample string 3", "TagName": "sample string 4" }, { "Id": 1, "Url": "sample string 2", "Name": "sample string 3", "TagName": "sample string 4" } ], "SupTypeLists": [ { "Id": 1, "Name": "sample string 2", "IconUrl": "sample string 3", "Url": "sample string 4", "TagName": "sample string 5" }, { "Id": 1, "Name": "sample string 2", "IconUrl": "sample string 3", "Url": "sample string 4", "TagName": "sample string 5" } ] }, "Message": "sample string 1", "Status": 2, "Page": { "PageIndex": 1, "PageTotal": 2, "DataTotal": 3, "PostSize": 4, "TagSize": 5, "ThemeSize": 6 } }
application/xml, text/xml
Sample:
<ResponseResultOfLocationDetailInfoFGpyGZd1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlogAdmin.Models"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BlogAdmin.Models.Location"> <d2p1:Content>sample string 3</d2p1:Content> <d2p1:CrumbLists> <CrumbInfo> <Id>1</Id> <Name>sample string 3</Name> <TagName>sample string 4</TagName> <Url>sample string 2</Url> </CrumbInfo> <CrumbInfo> <Id>1</Id> <Name>sample string 3</Name> <TagName>sample string 4</TagName> <Url>sample string 2</Url> </CrumbInfo> </d2p1:CrumbLists> <d2p1:Description>sample string 5</d2p1:Description> <d2p1:IconUrl>sample string 6</d2p1:IconUrl> <d2p1:Id>1</d2p1:Id> <d2p1:IsShow>true</d2p1:IsShow> <d2p1:KeyWords>sample string 4</d2p1:KeyWords> <d2p1:SupTypeLists> <SubTypeInfo> <IconUrl>sample string 3</IconUrl> <Id>1</Id> <Name>sample string 2</Name> <TagName>sample string 5</TagName> <Url>sample string 4</Url> </SubTypeInfo> <SubTypeInfo> <IconUrl>sample string 3</IconUrl> <Id>1</Id> <Name>sample string 2</Name> <TagName>sample string 5</TagName> <Url>sample string 4</Url> </SubTypeInfo> </d2p1:SupTypeLists> <d2p1:Title>sample string 2</d2p1:Title> </Data> <Message>sample string 1</Message> <Page> <DataTotal>3</DataTotal> <PageIndex>1</PageIndex> <PageTotal>2</PageTotal> <PostSize>4</PostSize> <TagSize>5</TagSize> <ThemeSize>6</ThemeSize> </Page> <Status>2</Status> </ResponseResultOfLocationDetailInfoFGpyGZd1>