List Product Attribute Mapping
Request Parameters:
List product attribute which are mapped with current product
URL for nopCommerce 4.10 :
Api/Admin/ListProductAttributeMapping
Headers :
Content-Type : application/json
Parameter: Required [ProductId]
{
"ApiSecretKey" :"k104r106p102g98k116q107x114x118" ,
"RestAPIAdminAccessKey" :"4fbdf629-be68-4371-a81d-4b191c98a52e",
"ProductId": "1"
}
Response :
{
"Data": [
{
"ProductId": 1,
"ProductAttributeId": 6,
"ProductAttribute": "Processor",
"AvailableProductAttributes": [],
"TextPrompt": null,
"IsRequired": true,
"AttributeControlTypeId": 1,
"AttributeControlType": "Drop-down list",
"DisplayOrder": 0,
"ValidationMinLength": null,
"ValidationMaxLength": null,
"ValidationFileAllowedExtensions": null,
"ValidationFileMaximumSize": null,
"DefaultValue": null,
"ValidationRulesString": "",
"ConditionAllowed": false,
"ConditionString": "",
"ConditionModel": {
"EnableCondition": false,
"SelectedProductAttributeId": 0,
"ProductAttributes": [],
"ProductAttributeMappingId": 0,
"Form": null,
"CustomProperties": {}
},
"Locales": [],
"ProductAttributeValueSearchModel": {
"ProductAttributeMappingId": 0,
"Page": 1,
"PageSize": 10,
"AvailablePageSizes": null,
"Form": null,
"CustomProperties": {}
},
"Id": 1,
"Form": null,
"CustomProperties": {}
},
{
"ProductId": 1,
"ProductAttributeId": 7,
"ProductAttribute": "RAM",
"AvailableProductAttributes": [],
"TextPrompt": null,
"IsRequired": true,
"AttributeControlTypeId": 1,
"AttributeControlType": "Drop-down list",
"DisplayOrder": 0,
"ValidationMinLength": null,
"ValidationMaxLength": null,
"ValidationFileAllowedExtensions": null,
"ValidationFileMaximumSize": null,
"DefaultValue": null,
"ValidationRulesString": "",
"ConditionAllowed": false,
"ConditionString": "",
"ConditionModel": {
"EnableCondition": false,
"SelectedProductAttributeId": 0,
"ProductAttributes": [],
"ProductAttributeMappingId": 0,
"Form": null,
"CustomProperties": {}
},
"Locales": [],
"ProductAttributeValueSearchModel": {
"ProductAttributeMappingId": 0,
"Page": 1,
"PageSize": 10,
"AvailablePageSizes": null,
"Form": null,
"CustomProperties": {}
},
"Id": 2,
"Form": null,
"CustomProperties": {}
},
{
"ProductId": 1,
"ProductAttributeId": 4,
"ProductAttribute": "HDD",
"AvailableProductAttributes": [],
"TextPrompt": null,
"IsRequired": true,
"AttributeControlTypeId": 2,
"AttributeControlType": "Radio button list",
"DisplayOrder": 0,
"ValidationMinLength": null,
"ValidationMaxLength": null,
"ValidationFileAllowedExtensions": null,
"ValidationFileMaximumSize": null,
"DefaultValue": null,
"ValidationRulesString": "",
"ConditionAllowed": false,
"ConditionString": "",
"ConditionModel": {
"EnableCondition": false,
"SelectedProductAttributeId": 0,
"ProductAttributes": [],
"ProductAttributeMappingId": 0,
"Form": null,
"CustomProperties": {}
},
"Locales": [],
"ProductAttributeValueSearchModel": {
"ProductAttributeMappingId": 0,
"Page": 1,
"PageSize": 10,
"AvailablePageSizes": null,
"Form": null,
"CustomProperties": {}
},
"Id": 3,
"Form": null,
"CustomProperties": {}
},
{
"ProductId": 1,
"ProductAttributeId": 5,
"ProductAttribute": "OS",
"AvailableProductAttributes": [],
"TextPrompt": null,
"IsRequired": true,
"AttributeControlTypeId": 2,
"AttributeControlType": "Radio button list",
"DisplayOrder": 0,
"ValidationMinLength": null,
"ValidationMaxLength": null,
"ValidationFileAllowedExtensions": null,
"ValidationFileMaximumSize": null,
"DefaultValue": null,
"ValidationRulesString": "",
"ConditionAllowed": false,
"ConditionString": "",
"ConditionModel": {
"EnableCondition": false,
"SelectedProductAttributeId": 0,
"ProductAttributes": [],
"ProductAttributeMappingId": 0,
"Form": null,
"CustomProperties": {}
},
"Locales": [],
"ProductAttributeValueSearchModel": {
"ProductAttributeMappingId": 0,
"Page": 1,
"PageSize": 10,
"AvailablePageSizes": null,
"Form": null,
"CustomProperties": {}
},
"Id": 4,
"Form": null,
"CustomProperties": {}
},
{
"ProductId": 1,
"ProductAttributeId": 9,
"ProductAttribute": "Software",
"AvailableProductAttributes": [],
"TextPrompt": null,
"IsRequired": false,
"AttributeControlTypeId": 3,
"AttributeControlType": "Checkboxes",
"DisplayOrder": 0,
"ValidationMinLength": null,
"ValidationMaxLength": null,
"ValidationFileAllowedExtensions": null,
"ValidationFileMaximumSize": null,
"DefaultValue": null,
"ValidationRulesString": "",
"ConditionAllowed": false,
"ConditionString": "",
"ConditionModel": {
"EnableCondition": false,
"SelectedProductAttributeId": 0,
"ProductAttributes": [],
"ProductAttributeMappingId": 0,
"Form": null,
"CustomProperties": {}
},
"Locales": [],
"ProductAttributeValueSearchModel": {
"ProductAttributeMappingId": 0,
"Page": 1,
"PageSize": 10,
"AvailablePageSizes": null,
"Form": null,
"CustomProperties": {}
},
"Id": 5,
"Form": null,
"CustomProperties": {}
}
],
"Total": 5,
"ExtraData": null,
"Errors": null,
"Form": null,
"CustomProperties": {}
}