Click or drag to resize

ArticleDataControllerGetByID Method

Get article data item by ID

Namespace:  Velo.Web.Controllers
Assembly:  Velo.Web (in Velo.Web.dll) Version: 22.2.10.1 (22.2.10.450)
Syntax
public Article GetByID(
	string pID
)

Parameters

pID
Type: SystemString
Article ID

Return Value

Type: Article
Article data item
Examples
Syntax: GET:
api/ArticleData/GetByID/5

This example as JavaScript get a address data item

var lURL = getURLRoot() + 'api/ArticleData/GetByID/' + ArticleID;
var jgxhr = $.get(lURL)
    .success(function (data) {
        document.getElementById("Article").innerHTML = data.Description;
    })
    .error(function (data) {
        document.getElementById("Article").innerHTML = AlertInformationException(data);
    })
See Also