Documentation > Access API > AssetController > accessapi/Asset/Fields/{id}

accessapi/Asset/Fields/{id}

Gets a list of content fields for the specified asset.

POST

https://cms.crownpeak.com/[Your Instance]/cpt_webservice/accessapi/Asset/Fields/{id}


Request Information

URI Parameters

NameDescriptionType
id

Asset Id

id

Body Parameters

None.




Response Information

Resource Description

AssetFieldsResponse

NameDescriptionType
ResultCode

eResultCodes
ErrorMessage

System.String
fields

List<AssetsField>
InternalCode

System.Int32
IsSuccessful

System.Boolean

Response Formats

application/json

Sample:

            
            {
              "resultCode": "conWS_Success",
              "fields": [
                {
                  "parent_id": 4558,
                  "name": "cp-languages",
                  "value": "English:-1",
                  "id": 159050,
                  "cvalue": "English:-1",
                  "ivalue": null,
                  "fvalue": null,
                  "dvalue": null
                },
                {
                  "parent_id": 4558,
                  "name": "duplicate_id",
                  "value": "100175",
                  "id": 159062,
                  "cvalue": null,
                  "ivalue": 100175,
                  "fvalue": 100175,
                  "dvalue": null
                },
                {
                  "parent_id": 4558,
                  "name": "html_title",
                  "value": "",
                  "id": 182653,
                  "cvalue": "",
                  "ivalue": null,
                  "fvalue": null,
                  "dvalue": null
                },
                {
                  "parent_id": 4558,
                  "name": "id",
                  "value": "2287",
                  "id": 159041,
                  "cvalue": null,
                  "ivalue": 2287,
                  "fvalue": 2287,
                  "dvalue": null
                },
                ...
              ],
              "errorMessage": "",
              "internalCode": 0
            }
            
            

Connect with Crownpeak