TemplateCategory/Id/CopyTo/StationOrStationGroupId
From Oxygen.next Wiki
Contents |
[edit] Description
Copies a TemplateCategory to the another Station or StationGroup
[edit] Summary
URL: https://api.oxygennext.com/TemplateCategory/Id/CopyTo/targetId.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) from the TemplateCategory
targetId = Id(Guid) from the target Station or StationGroup
Response
XML Example (truncated)
<?xml version="1.0" encoding="utf-8" ?> <TemplateCategory> <TemplateCategoryLink readonly="true">http://api.oxygennext.com/TemplateCategory/dc4e832e-6928-4bae-91da-3af41e93e488</TemplateCategoryLink> <Created>12/2/2009 1:01:47 PM</Created> <Name>Gauter Feed</Name> <Move>http://api.oxygennext.com/TemplateCategory/dc4e832e-6928-4bae-91da-3af41e93e488/MoveTo/{targetGuid}</Move> <Delete>http://api.oxygennext.com/TemplateCategory/dc4e832e-6928-4bae-91da-3af41e93e488/Delete</Delete> <Templates>http://api.oxygennext.com/TemplateCategory/dc4e832e-6928-4bae-91da-3af41e93e488/Templates</Templates> <Copy>http://api.oxygennext.com/TemplateCategory/dc4e832e-6928-4bae-91da-3af41e93e488/CopyTo/{targetGuid}</Copy> </TemplateCategory>
[edit] Usage examples
cURL (about cURL):
curl -u user:password http://api.oxygennext.com/TemplateCategory/9b5f92fa-3435-4394-a9c8-ee3683f14334/CopyTo/4a7452ac-6g5a-424a-bf1a-73eb628480ca
Do you have an example to share in the language of your choice? Please share!
