GET api.ashx/v2/articles/types/{id}.{json|xml}
Request Parameters
Name | Type | Location | Description | Required | Default | Options |
---|---|---|---|---|---|---|
id | Guid | Path | Article Type's unique identifier. | Required |
Example Requests
Widget Javascript
jQuery.telligent.evolution.get({ url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/articles/types/{id}.json', data: { 'id': '49fec544-6df7-4a82-872b-f8be586d5e9e' } }).then(function(response) { // use response });
Example Responses
JSON
{ "ArticleTypes": [ { "Id": 6, "Name": "name", "ImageUrl": "imageurl" }, { "Id": 25, "Name": "name", "ImageUrl": "imageurl" } ], "Errors": [ "string", "string" ] }
XML
<?xml version="1.0" encoding="utf-16"?> <Response> <ArticleTypes> <ArticleType> <Id>6</Id> <Name>name</Name> <ImageUrl>imageurl</ImageUrl> </ArticleType> <ArticleType> <Id>25</Id> <Name>name</Name> <ImageUrl>imageurl</ImageUrl> </ArticleType> </ArticleTypes> <Errors> <Message>string</Message> <Message>string</Message> </Errors> </Response>