The Class GetListProductsResponseDto.
name | data type | description |
---|---|---|
paging | PagingAndFiltering | The paging. |
actionStatus | ActionStatus | The status response of the web service response. |
products | array of ProductDto | products list. |
Example
{ "paging" : { "fullTextFilter" : "...", "filters" : { "property1" : { }, "property2" : { } }, "fields" : "...", "offset" : 12345, "limit" : 12345, "sortBy" : "...", "sortOrder" : "ASCENDING", "multiSortOrder" : "...", "totalNumberOfRecords" : 12345, "loadReferenceDepth" : 12345 }, "actionStatus" : { "status" : "WARNING", "errorCode" : { }, "message" : "...", "entityId" : 12345, "entityCode" : "...", "nrAffected" : 12345, "json" : "..." }, "products" : [ { "discountList" : [ { "disabled" : true, "id" : 12345, "auditableField" : [ { }, { } ], "code" : "...", "description" : "...", "startDate" : 12345, "updatedCode" : "...", "endDate" : 12345, "defaultDuration" : 12345, "durationUnit" : "MONTH", "customFields" : { }, "discountPlanItem" : [ { }, { } ], "expressionEl" : "...", "discountPlanType" : "PROMO_CODE", "status" : "IN_USE", "statusDate" : 12345, "initialQuantity" : 12345, "usedQuantity" : 12345, "applicationLimit" : 12345, "applicationFilterEL" : "...", "incompatibleDiscountPlans" : [ { }, { } ], "applicableEntities" : [ { }, { } ], "applicableOnOverriddenPrice" : true, "sequence" : 12345, "applicableOnDiscountedPrice" : true }, { "disabled" : true, "id" : 12345, "auditableField" : [ { }, { } ], "code" : "...", "description" : "...", "startDate" : 12345, "updatedCode" : "...", "endDate" : 12345, "defaultDuration" : 12345, "durationUnit" : "DAY", "customFields" : { }, "discountPlanItem" : [ { }, { } ], "expressionEl" : "...", "discountPlanType" : "INVOICE_LINE", "status" : "IN_USE", "statusDate" : 12345, "initialQuantity" : 12345, "usedQuantity" : 12345, "applicationLimit" : 12345, "applicationFilterEL" : "...", "incompatibleDiscountPlans" : [ { }, { } ], "applicableEntities" : [ { }, { } ], "applicableOnOverriddenPrice" : true, "sequence" : 12345, "applicableOnDiscountedPrice" : true } ], "id" : 12345, "code" : "...", "label" : "...", "status" : "DRAFT", "statusDate" : 12345, "productLineCode" : "...", "brandCode" : "...", "reference" : "...", "model" : "...", "modelChildren" : [ "...", "..." ], "discountFlag" : true, "packageFlag" : true, "priceVersionDateSetting" : "QUOTE", "customFields" : { "customField" : [ { }, { } ], "inheritedCustomField" : [ { }, { } ] }, "currentProductVersion" : { "shortDescription" : "...", "productCode" : "...", "currentVersion" : 12345, "status" : "PUBLISHED", "statusDate" : 12345, "longDescription" : "...", "validity" : { }, "productAttributes" : [ { }, { } ], "groupedAttributeCodes" : [ "...", "..." ], "tagCodes" : [ "...", "..." ] }, "productChargeTemplateMappingDto" : [ { "chargeCode" : "...", "productCode" : "...", "counterCode" : "...", "accumulatorCounterCodes" : [ "...", "..." ] }, { "chargeCode" : "...", "productCode" : "...", "counterCode" : "...", "accumulatorCounterCodes" : [ "...", "..." ] } ], "commercialRuleCodes" : [ "...", "..." ], "discountListCodes" : [ "...", "..." ], "mediaCodes" : [ "...", "..." ], "isModel" : true, "productModelCode" : "..." }, { "discountList" : [ { "disabled" : true, "id" : 12345, "auditableField" : [ { }, { } ], "code" : "...", "description" : "...", "startDate" : 12345, "updatedCode" : "...", "endDate" : 12345, "defaultDuration" : 12345, "durationUnit" : "MONTH", "customFields" : { }, "discountPlanItem" : [ { }, { } ], "expressionEl" : "...", "discountPlanType" : "INVOICE", "status" : "ACTIVE", "statusDate" : 12345, "initialQuantity" : 12345, "usedQuantity" : 12345, "applicationLimit" : 12345, "applicationFilterEL" : "...", "incompatibleDiscountPlans" : [ { }, { } ], "applicableEntities" : [ { }, { } ], "applicableOnOverriddenPrice" : true, "sequence" : 12345, "applicableOnDiscountedPrice" : true }, { "disabled" : true, "id" : 12345, "auditableField" : [ { }, { } ], "code" : "...", "description" : "...", "startDate" : 12345, "updatedCode" : "...", "endDate" : 12345, "defaultDuration" : 12345, "durationUnit" : "DAY", "customFields" : { }, "discountPlanItem" : [ { }, { } ], "expressionEl" : "...", "discountPlanType" : "QUOTE", "status" : "INACTIVE", "statusDate" : 12345, "initialQuantity" : 12345, "usedQuantity" : 12345, "applicationLimit" : 12345, "applicationFilterEL" : "...", "incompatibleDiscountPlans" : [ { }, { } ], "applicableEntities" : [ { }, { } ], "applicableOnOverriddenPrice" : true, "sequence" : 12345, "applicableOnDiscountedPrice" : true } ], "id" : 12345, "code" : "...", "label" : "...", "status" : "CLOSED", "statusDate" : 12345, "productLineCode" : "...", "brandCode" : "...", "reference" : "...", "model" : "...", "modelChildren" : [ "...", "..." ], "discountFlag" : true, "packageFlag" : true, "priceVersionDateSetting" : "RENEWAL", "customFields" : { "customField" : [ { }, { } ], "inheritedCustomField" : [ { }, { } ] }, "currentProductVersion" : { "shortDescription" : "...", "productCode" : "...", "currentVersion" : 12345, "status" : "DRAFT", "statusDate" : 12345, "longDescription" : "...", "validity" : { }, "productAttributes" : [ { }, { } ], "groupedAttributeCodes" : [ "...", "..." ], "tagCodes" : [ "...", "..." ] }, "productChargeTemplateMappingDto" : [ { "chargeCode" : "...", "productCode" : "...", "counterCode" : "...", "accumulatorCounterCodes" : [ "...", "..." ] }, { "chargeCode" : "...", "productCode" : "...", "counterCode" : "...", "accumulatorCounterCodes" : [ "...", "..." ] } ], "commercialRuleCodes" : [ "...", "..." ], "discountListCodes" : [ "...", "..." ], "mediaCodes" : [ "...", "..." ], "isModel" : true, "productModelCode" : "..." } ] }