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

accessapi/Asset/Paged

Returns a list of assets which is filtered by the criteria specified in req.

POST

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


Request Information

URI Parameters

None.

Body Parameters

The parameters sent as post data.

AssetPagedRequest

NameDescriptionType
assetId

System.Int32
assetIdToFindPage

System.Int32
currentPage

System.Int32
ignoreFilter

System.Boolean
ignoreSort

System.Boolean
orderType

CrownPeakApp.Model.OrderType
pageSize

System.Int32
saveSort

System.Boolean
sortColumn

System.String
visibilityType

CrownPeakApp.Model.VisibilityType

Request Formats

application/json

Sample:

            
            {
              "assetId": 0,
              "currentPage": 0,
              "pageSize": 1,
              "sortColumn": "",
              "orderType": "Ascending",
              "visibilityType": "Normal",
              "ignoreFilter": true,
              "ignoreSort": true
            }
            
            



Response Information

Resource Description

AssetPagedResponse

NameDescriptionType
assets

CrownPeakApp.Model.WorklistAsset[]
deletedCount

System.Int32
hiddenCount

System.Int32
normalCount

System.Int32
ResultCode

eResultCodes
currentPage

System.Int32
ErrorMessage

System.String
InternalCode

System.Int32
IsSuccessful

System.Boolean
sortInfo

CrownPeakApp.Model.SortInfo

Response Formats

application/json

Sample:

            
            {
              "assets": [
                {
                  "fullPath": "/root/Access Folder",
                  "iconType": "Folder",
                  "isFlagged": false,
                  "iconTypeValue": null,
                  "isWcoIntegrated": false,
                  "permissionList": "0111111101100111110011100000110010000001010101000110000000000110000000011100000110100000000000000000101000",
                  "hasCSharpInput": false,
                  "id": 5011,
                  "taskCount": 0,
                  "error_code": 0,
                  "branchId": -2,
                  "label": "Access Folder",
                  "type": 4,
                  "folder_id": 0,
                  "workflow_id": 0,
                  "workflow_step": 0,
                  "version_id": null,
                  "status_user_id": 11,
                  "status": 0,
                  "status_date": "2014-06-02T14:34:44.613",
                  "owner_user_id": 0,
                  "creator_user_id": 11,
                  "storage_id": null,
                  "extension": "",
                  "create_date": "2014-06-02T14:34:44.613",
                  "modified_user_id": 11,
                  "modified_date": "2014-06-02T14:34:44.613",
                  "checkout_user_id": null,
                  "checkout_date": null,
                  "error_msg": null,
                  "size": 0,
                  "template_id": 0,
                  "template_label": null,
                  "acl_id": 961,
                  "change_date": "2014-06-02T14:34:44.613",
                  "change_user_id": 11,
                  "child_id": 5011,
                  "base_model_id": null,
                  "model_id": null,
                  "deploy_id": 0,
                  "is_deleted": null,
                  "is_hidden": null,
                  "publish_date": null,
                  "publish_user_id": null,
                  "template_language": 0,
                  "subtype": null,
                  "statusName": "",
                  "statusColor": "",
                  "ownedBy": null,
                  "createdBy": "CrownPeak Admin",
                  "modifiedBy": "CrownPeak Admin",
                  "lastPublishedBy": null,
                  "statusChangedBy": "CrownPeak Admin",
                  "changedBy": "CrownPeak Admin",
                  "checkedOutBy": null,
                  "templateSubType": null,
                  "isQueued": false,
                  "hasPeriodicSchedule": false,
                  "hasWorkflowSchedule": false,
                  "approvedWorkflowFilters": null
                }
              ],
              "normalCount": 12,
              "hiddenCount": 0,
              "deletedCount": 4,
              "resultCode": "conWS_Success",
              "errorMessage": "",
              "internalCode": 0
            }
            
            

Connect with Crownpeak