RedirectServicesSaveRedirect Method |
Namespace: IngeniuxCMService
Object containing information to create/update a Redirect entry
///{
"data": {
"From": "/support/contactus",
"To": "http://www.ingeniux.com/contactus",
"SelectedTgtIds": ["PublishingTargets/1"],
"ID": "redirects/1"
}
}Listing of all Redirect entries
{
"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"
}]
}
}If the "Id" property of the input parameter is not provided, we are saving a new redirect entry