Documentation > Access API > AssetController > accessapi/Asset/Branch/{id}
accessapi/Asset/Branch/{id}
Creates a branch from the specified asset. The asset created as a result is returned.
POST
https://cms.crownpeak.com/[Your Instance]/cpt_webservice/accessapi/Asset/Branch/{id}Request Information
URI Parameters
Name | Description | Type |
---|---|---|
id |
Asset Id |
id |
Body Parameters
None.
Response Information
Resource Description
AssetBranchResponse
Name | Description | Type |
---|---|---|
asset | CrownPeakApp.Model.WorklistAsset | |
ResultCode | eResultCodes | |
ErrorMessage | System.String | |
InternalCode | System.Int32 | |
IsSuccessful | System.Boolean |
Response Formats
application/json
Sample:
{ "asset": { "fullPath": null, "iconType": "Asset", "isFlagged": false, "iconTypeValue": null, "isWcoIntegrated": false, "permissionList": "0100000000000000000010100000100010001011100100000000000000000111000000011100000111000000000000000001000000", "hasCSharpInput": true, "id": 2318, "taskCount": 0, "error_code": 0, "branchId": 2318, "label": "401(K) Plans", "type": 2, "folder_id": 1801, "workflow_id": 11, "workflow_step": 6, "version_id": 11122, "status_user_id": 11, "status": 785, "status_date": "2013-09-18T14:11:15.127", "owner_user_id": 0, "creator_user_id": 11, "storage_id": null, "extension": "", "create_date": "2011-11-22T09:45:14", "modified_user_id": 11, "modified_date": "2014-02-04T17:15:02.807", "checkout_user_id": 0, "checkout_date": "2014-02-04T17:15:05.877", "error_msg": null, "size": 1976, "template_id": 1917, "template_label": "Content Page", "acl_id": 806, "change_date": "2014-02-04T18:49:53.243", "change_user_id": 11, "child_id": 2318, "base_model_id": 2274, "model_id": null, "deploy_id": 0, "is_deleted": true, "is_hidden": null, "publish_date": "2014-02-04T18:30:09", "publish_user_id": 11, "template_language": 1, "subtype": 0, "statusName": "Live", "statusColor": "75DB92", "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 }