GET api/v1/article?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ArticleObj
NameDescriptionTypeAdditional information
Description

string

None.

Attachments

Collection of AttachmentObj

None.

Contacts

Collection of ContactObj

None.

Id

integer

None.

CategoryId

integer

None.

Name

string

None.

ShortDescription

string

None.

Hash

integer

None.

IsDeleted

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Description": "sample string 1",
  "Attachments": [
    {
      "$id": "2",
      "Id": 1,
      "Name": "sample string 2",
      "Description": "sample string 3",
      "Type": "sample string 4",
      "Hash": 5,
      "IsDeleted": true
    },
    {
      "$ref": "2"
    }
  ],
  "Contacts": [
    {
      "$id": "3",
      "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": "3"
    }
  ],
  "Id": 2,
  "CategoryId": 3,
  "Name": "sample string 4",
  "ShortDescription": "sample string 5",
  "Hash": 6,
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<ArticleObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LawNavigatorCore.Objects">
  <CategoryId>3</CategoryId>
  <Hash>6</Hash>
  <Id>2</Id>
  <IsDeleted>true</IsDeleted>
  <Name>sample string 4</Name>
  <ShortDescription>sample string 5</ShortDescription>
  <Attachments>
    <AttachmentObj>
      <Description>sample string 3</Description>
      <Hash>5</Hash>
      <Id>1</Id>
      <IsDeleted>true</IsDeleted>
      <Name>sample string 2</Name>
      <Type>sample string 4</Type>
    </AttachmentObj>
    <AttachmentObj>
      <Description>sample string 3</Description>
      <Hash>5</Hash>
      <Id>1</Id>
      <IsDeleted>true</IsDeleted>
      <Name>sample string 2</Name>
      <Type>sample string 4</Type>
    </AttachmentObj>
  </Attachments>
  <Contacts>
    <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>
  </Contacts>
  <Description>sample string 1</Description>
</ArticleObj>