StationGroup/id/CopyTo/targetId
From Oxygen.next Wiki
Contents |
[edit] Description
Copies a StationGroup to the another Team
[edit] Summary
URL: https://api.oxygennext.com/StationGroup/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 StationGroup
targetId = Id(Guid) from the target Team
<?xml version="1.0" encoding="utf-8" ?> <StationGroup> <StationGroupLink readonly="true">http://api.oxygennext.com/StationGroup/5c8790f0-d250-438c-97a5-2d8393af2c05</StationGroupLink> <Name>California</Name> <ParentTeam readonly="true">http://api.oxygennext.com/Team/33cd5db3-2d41-4b74-a648-c54b9b83edb6</ParentTeam> <TemplateCategories>http://api.oxygennext.com/StationGroup/5c8790f0-d250-438c-97a5-2d8393af2c05/TemplateCategories</TemplateCategories> <Delete>http://api.oxygennext.com/StationGroup/5c8790f0-d250-438c-97a5-2d8393af2c05/Delete</Delete> <Categories>http://api.oxygennext.com/StationGroup/5c8790f0-d250-438c-97a5-2d8393af2c05/Categories</Categories> <TimerEvents>http://api.oxygennext.com/StationGroup/5c8790f0-d250-438c-97a5-2d8393af2c05/TimerEvents/12-2-2009/To/12-9-2009</TimerEvents> <ChildStations>http://api.oxygennext.com/StationGroup/5c8790f0-d250-438c-97a5-2d8393af2c05/Stations</ChildStations> <ChildStationGroups>http://api.oxygennext.com/StationGroup/5c8790f0-d250-438c-97a5-2d8393af2c05/StationGroups</ChildStationGroups> <MessageFeeds>http://api.oxygennext.com/StationGroup/5c8790f0-d250-438c-97a5-2d8393af2c05/MessageFeeds</MessageFeeds> <Copy>http://api.oxygennext.com/StationGroup/5c8790f0-d250-438c-97a5-2d8393af2c05/CopyTo/{targetGuid}</Copy> <Move>http://api.oxygennext.com/StationGroup/5c8790f0-d250-438c-97a5-2d8393af2c05/MoveTo/{targetGuid}</Move> </StationGroup>
[edit] Usage examples
cURL (about cURL):
curl -u user:password http://api.oxygennext.com/StationGroup/a39d626f-5d46-440f-9aca-14fb30c28f37/CopyTo/4a7452ac-6g5a-424a-bf1a-73eb628480ca
Do you have an example to share in the language of your choice? Please share!
