POST api/ArticleType

Request Information

URI Parameters

None.

Body Parameters

ArticleType
NameDescriptionTypeAdditional information
Parent_Id

integer

None.

Title

string

None.

Singular

string

None.

Plural

string

None.

IsActive

boolean

None.

HasCategory

boolean

None.

HasManagement

boolean

None.

Type_InMenu

boolean

None.

Category_InMenu

boolean

None.

Article_InMenu

boolean

None.

Type_UrlFormat

string

None.

Category_UrlFormat

string

None.

Article_UrlFormat

string

None.

HasProperty

boolean

None.

Priority

integer

None.

MenuIcon

string

None.

Key

string

None.

Modules

Collection of Object

None.

Files

Collection of Object

None.

Tabs

Collection of Object

None.

Child

Collection of ArticleType

None.

Parent

ArticleType

None.

ArticleCategories

Collection of ArticleCategory

None.

ArticleProperties

Collection of ArticleProperty

None.

DynamicProperties

Collection of ArticleProperty

None.

Id

integer

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'ArNikAPI.DomainClasses.Articles.ArticleType'. Path 'Child'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'ArNikAPI.DomainClasses.Articles.ArticleType'. Path 'Child'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[ArNikAPI.DomainClasses.Articles.ArticleProperty, ArNikAPI.DomainClasses, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[ArNikAPI.DomainClasses.Articles.ArticleProperty, ArNikAPI.DomainClasses, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ArticleType'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.