Click or drag to resize

AddressDataControllerGetByID Method

Get address 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 Address GetByID(
	string pID
)

Parameters

pID
Type: SystemString
Address ID

Return Value

Type: Address
Address data item
Examples
Syntax: GET:
api/AddressData/GetByID/5

This example as JavaScript get a address data item

var lURL = getURLRoot() + 'api/AddressData/GetByID/' + ReportAddressID;
var jgxhr = $.get(lURL)
    .success(function (data) {
        document.getElementById("AddressLabel").innerHTML = data.Label;
    })
    .error(function (data) {
        document.getElementById("AddressLabel").innerHTML = AlertInformationException(data);
    })
See Also