Documentation > Access API > AssetController > accessapi/Asset/Move

accessapi/Asset/Move

Move an asset to a specified folder in the CMS.

POST

https://cms.crownpeak.com/[Your Instance]/cpt_webservice/accessapi/Asset/Move


Request Information

URI Parameters

None.

Body Parameters

The parameters sent as post data.

AssetMoveRequest

NameDescriptionType
assetId

System.Int32
destinationFolderId

System.Int32

Request Formats

application/json

Sample:

            
            {
              "assetId": 4559,
              "destinationFolderId": 2342
            }
            
            



Response Information

Resource Description

Response Formats

application/json

Sample:

            
            {
              "asset": {
                "fullPath": null,
                "iconType": "Asset",
                "isFlagged": false,
                "iconTypeValue": null,
                "isWcoIntegrated": false,
                "permissionList": "0100011111100001110011110000100010001011000100001110000000000111000000011100000111000001000000000001000000",
                "hasCSharpInput": true,
                "id": 4559,
                "taskCount": 0,
                "error_code": 0,
                "branchId": 2524,
                "label": "401(k) Plans",
                "type": 2,
                "folder_id": 2342,
                "workflow_id": 11,
                "workflow_step": 5,
                "version_id": 13335,
                "status_user_id": 11,
                "status": 783,
                "status_date": "2014-10-09T15:36:46.88",
                "owner_user_id": 0,
                "creator_user_id": 11,
                "storage_id": null,
                "extension": "",
                "create_date": "2014-02-17T16:40:40",
                "modified_user_id": 11,
                "modified_date": "2014-10-29T09:50:51.527",
                "checkout_user_id": 0,
                "checkout_date": "2014-10-06T15:57:26.077",
                "error_msg": null,
                "size": 2344,
                "template_id": 1917,
                "template_label": "Content Page",
                "acl_id": 806,
                "change_date": "2014-10-29T09:50:51.527",
                "change_user_id": 11,
                "child_id": 4559,
                "base_model_id": 2274,
                "model_id": null,
                "deploy_id": 0,
                "is_deleted": null,
                "is_hidden": null,
                "publish_date": "2014-10-09T15:36:59",
                "publish_user_id": 11,
                "template_language": 1,
                "subtype": 0,
                "statusName": "Stage",
                "statusColor": "BCE9C9",
                "ownedBy": null,
                "createdBy": "CrownPeak Admin",
                "modifiedBy": "CrownPeak Admin",
                "lastPublishedBy": "CrownPeak Admin",
                "statusChangedBy": "CrownPeak Admin",
                "changedBy": "CrownPeak Admin",
                "checkedOutBy": null,
                "templateSubType": null,
                "isQueued": false,
                "hasPeriodicSchedule": false,
                "hasWorkflowSchedule": false,
                "approvedWorkflowFilters": [
                  33
                ]
              },
              "resultCode": "conWS_Success",
              "errorMessage": "",
              "internalCode": 0
            }
            
            

Connect with Crownpeak