TemplateCategory/Id/Update

From Oxygen.next Wiki

Jump to: navigation, search

Contents

[edit] Description

Updates the TemplateCategory with the given Id

[edit] Summary

URL: https://api.oxygennext.com/TemplateCategory/Id/Update.format
Formats: Xml, Json
Requires Authentication (about Authentication): true
HTTP Method(s): POST
API rate limited (about Rate Limiting): true

[edit] Parameters

Id = Id(Guid) of the TemplateCategory

Request

XML Example (truncated)

<?xml version="1.0" encoding="utf-8" ?>
<TemplateCategory>
    <Name>Template City</Name>
</TemplateCategory>

Response

XML Example (truncated)

<?xml version="1.0" encoding="utf-8" ?>
<TemplateCategory>
    <TemplateCategoryLink readonly="true">http://api.oxygennext.com/TemplateCategory/4a3e1576-4075-4e8e-9cec-de200cd133a0</TemplateCategoryLink>
    <Created>12/10/2009 5:29:35 PM</Created>
    <Name>Template City</Name>
    <Move>http://api.oxygennext.com/TemplateCategory/4a3e1576-4075-4e8e-9cec-de200cd133a0/MoveTo/{targetGuid}</Move>
    <Copy>http://api.oxygennext.com/TemplateCategory/4a3e1576-4075-4e8e-9cec-de200cd133a0/CopyTo/{targetGuid}</Copy>
    <Templates>http://api.oxygennext.com/TemplateCategory/4a3e1576-4075-4e8e-9cec-de200cd133a0/Templates</Templates>
    <Delete>http://api.oxygennext.com/TemplateCategory/4a3e1576-4075-4e8e-9cec-de200cd133a0/Delete</Delete>
</TemplateCategory>

[edit] Usage examples

cURL (about cURL):
curl -u user:password https://api.oxygennext.com/TemplateCategory/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/Update

Do you have an example to share in the language of your choice? Please share!


Personal tools