RedirectServicesListRedirects Method Ingeniux CMS Web Services API

Retrieves the collection of Redirect entries for all Publishing Targets

Namespace: IngeniuxCMService
Assembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 9.0.565.0 (9.0.565)
Syntax

public XHRServiceResponseGeneric<RedirectListing> ListRedirects()

Return Value

Type: XHRServiceResponseGenericRedirectListing

Collection of Redirect entries

Examples

Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "Redirects": [{
            "ID": "redirects\/1",
            "Name": "redirects\/1",
            "From": "\/support\/contactus",
            "Notes": "Requested by Jane Doe. Delete after June 1, 2014",
            "SelectedTgtIDs": "PublishingTargets\/1",
            "SelectedTgtNames": "Live",
            "To": "http:\/\/www.ingeniux.com\/contactus"
        }, {
            "ID": "redirects\/2",
            "Name": "redirects\/2",
            "From": "\/support\/contactus",
            "Notes": "",
            "SelectedTgtIDs": "PublishingTargets\/33",
            "SelectedTgtNames": "Staging",
            "To": "http:\/\/test.ingeniux.com\/contactus"
        }]
    }
}
See Also

Reference