GET Article/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ArticleDtoName | Description | Type | Additional information |
---|---|---|---|
ArticleId | integer |
None. |
|
Title | string |
Required String length: inclusive between 0 and 1000 |
|
AltTitle | string |
Required String length: inclusive between 0 and 1000 |
|
Description | string |
String length: inclusive between 0 and 4000 |
|
Text | string |
Required |
|
CreateUserId | string |
Required String length: inclusive between 0 and 128 |
|
UpdateUserId | string |
Required String length: inclusive between 0 and 128 |
|
ImageUrl | string |
String length: inclusive between 0 and 4000 |
|
Images | Collection of string |
None. |
|
SeoTitle | string |
String length: inclusive between 0 and 500 |
|
SeoDescription | string |
String length: inclusive between 0 and 4000 |
|
Keywords | string |
String length: inclusive between 0 and 4000 |
|
IsApprove | boolean |
Required |
Response Formats
application/json, text/json
Sample:
{ "ArticleId": 1, "Title": "sample string 2", "AltTitle": "sample string 3", "Description": "sample string 4", "Text": "sample string 5", "CreateUserId": "sample string 6", "UpdateUserId": "sample string 7", "ImageUrl": "sample string 8", "Images": [ "sample string 1", "sample string 2" ], "SeoTitle": "sample string 9", "SeoDescription": "sample string 10", "Keywords": "sample string 11", "IsApprove": true }
application/xml, text/xml
Sample:
<ArticleDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PackageSite.Models.Dto"> <AltTitle>sample string 3</AltTitle> <ArticleId>1</ArticleId> <CreateUserId>sample string 6</CreateUserId> <Description>sample string 4</Description> <ImageUrl>sample string 8</ImageUrl> <Images xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Images> <IsApprove>true</IsApprove> <Keywords>sample string 11</Keywords> <SeoDescription>sample string 10</SeoDescription> <SeoTitle>sample string 9</SeoTitle> <Text>sample string 5</Text> <Title>sample string 2</Title> <UpdateUserId>sample string 7</UpdateUserId> </ArticleDto>