GET api/v1/structure?hash={hash}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
hash | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
StructureObjName | Description | Type | Additional information |
---|---|---|---|
Categories | Collection of CategoryBase |
None. |
|
Articles | Collection of ArticleBase |
None. |
|
SosContact | SosContactObj |
None. |
|
About | string |
None. |
|
Hash | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Categories": [ { "$id": "2", "Id": 1, "ParentId": 2, "Name": "sample string 3", "Description": "sample string 4", "Hash": 5, "IsDeleted": true }, { "$ref": "2" } ], "Articles": [ { "$id": "3", "Id": 1, "CategoryId": 2, "Name": "sample string 3", "ShortDescription": "sample string 4", "Hash": 5, "IsDeleted": true }, { "$ref": "3" } ], "SosContact": { "$id": "4", "BaseContacts": [ { "$id": "5", "Id": 1, "ArcticleId": 2, "Type": 1, "Name": "sample string 3", "Address": "sample string 4", "Phone": "sample string 5", "Email": "sample string 6", "WebSite": "sample string 7", "Lat": 1.1, "Lng": 1.1, "Hash": 8, "IsDeleted": true }, { "$ref": "5" } ], "SocContacts": [ { "$ref": "5" }, { "$ref": "5" } ] }, "About": "sample string 1", "Hash": 2 }
application/xml, text/xml
Sample:
<StructureObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LawNavigatorCore.Objects"> <About>sample string 1</About> <Articles> <ArticleBase> <CategoryId>2</CategoryId> <Hash>5</Hash> <Id>1</Id> <IsDeleted>true</IsDeleted> <Name>sample string 3</Name> <ShortDescription>sample string 4</ShortDescription> </ArticleBase> <ArticleBase> <CategoryId>2</CategoryId> <Hash>5</Hash> <Id>1</Id> <IsDeleted>true</IsDeleted> <Name>sample string 3</Name> <ShortDescription>sample string 4</ShortDescription> </ArticleBase> </Articles> <Categories xmlns:d2p1="http://schemas.datacontract.org/2004/07/LawNavigatorServer.Objects"> <d2p1:CategoryBase> <d2p1:Description>sample string 4</d2p1:Description> <d2p1:Hash>5</d2p1:Hash> <d2p1:Id>1</d2p1:Id> <d2p1:IsDeleted>true</d2p1:IsDeleted> <d2p1:Name>sample string 3</d2p1:Name> <d2p1:ParentId>2</d2p1:ParentId> </d2p1:CategoryBase> <d2p1:CategoryBase> <d2p1:Description>sample string 4</d2p1:Description> <d2p1:Hash>5</d2p1:Hash> <d2p1:Id>1</d2p1:Id> <d2p1:IsDeleted>true</d2p1:IsDeleted> <d2p1:Name>sample string 3</d2p1:Name> <d2p1:ParentId>2</d2p1:ParentId> </d2p1:CategoryBase> </Categories> <Hash>2</Hash> <SosContact> <BaseContacts> <ContactObj> <Address>sample string 4</Address> <ArcticleId>2</ArcticleId> <Email>sample string 6</Email> <Hash>8</Hash> <Id>1</Id> <IsDeleted>true</IsDeleted> <Lat>1.1</Lat> <Lng>1.1</Lng> <Name>sample string 3</Name> <Phone>sample string 5</Phone> <Type>article</Type> <WebSite>sample string 7</WebSite> </ContactObj> <ContactObj> <Address>sample string 4</Address> <ArcticleId>2</ArcticleId> <Email>sample string 6</Email> <Hash>8</Hash> <Id>1</Id> <IsDeleted>true</IsDeleted> <Lat>1.1</Lat> <Lng>1.1</Lng> <Name>sample string 3</Name> <Phone>sample string 5</Phone> <Type>article</Type> <WebSite>sample string 7</WebSite> </ContactObj> </BaseContacts> <SocContacts> <ContactObj> <Address>sample string 4</Address> <ArcticleId>2</ArcticleId> <Email>sample string 6</Email> <Hash>8</Hash> <Id>1</Id> <IsDeleted>true</IsDeleted> <Lat>1.1</Lat> <Lng>1.1</Lng> <Name>sample string 3</Name> <Phone>sample string 5</Phone> <Type>article</Type> <WebSite>sample string 7</WebSite> </ContactObj> <ContactObj> <Address>sample string 4</Address> <ArcticleId>2</ArcticleId> <Email>sample string 6</Email> <Hash>8</Hash> <Id>1</Id> <IsDeleted>true</IsDeleted> <Lat>1.1</Lat> <Lng>1.1</Lng> <Name>sample string 3</Name> <Phone>sample string 5</Phone> <Type>article</Type> <WebSite>sample string 7</WebSite> </ContactObj> </SocContacts> </SosContact> </StructureObj>