The Class DiscountPlanItemsResponseDto.
| name | data type | description |
|---|---|---|
| paging | PagingAndFiltering | The paging. |
| discountPlanItem | array of DiscountPlanItemDto | The discount plan items. |
| actionStatus | ActionStatus | The status response of the web service response. |
Example
{
"paging" : {
"fullTextFilter" : "...",
"filters" : {
"property1" : { },
"property2" : { }
},
"fields" : "...",
"offset" : 12345,
"limit" : 12345,
"sortBy" : "...",
"sortOrder" : "DESCENDING",
"multiSortOrder" : "...",
"totalNumberOfRecords" : 12345,
"loadReferenceDepth" : 12345
},
"discountPlanItem" : [ {
"code" : "...",
"discountPlanCode" : "...",
"invoiceCategoryCode" : "...",
"invoiceSubCategoryCode" : "...",
"expressionEl" : "...",
"disabled" : true,
"discountPlanItemType" : "FIXED",
"discountValue" : 12345.0,
"discountValueEL" : "...",
"targetAccountingArticleCodes" : [ "...", "..." ],
"pricePlanMatrixCode" : "...",
"customFields" : {
"customField" : [ { }, { } ],
"inheritedCustomField" : [ { }, { } ]
},
"allowToNegate" : true,
"description" : "...",
"priority" : 12345,
"accountingArticleCode" : "...",
"applyByArticle" : true,
"sequence" : 12345,
"lastDiscount" : true
}, {
"code" : "...",
"discountPlanCode" : "...",
"invoiceCategoryCode" : "...",
"invoiceSubCategoryCode" : "...",
"expressionEl" : "...",
"disabled" : true,
"discountPlanItemType" : "FIXED",
"discountValue" : 12345.0,
"discountValueEL" : "...",
"targetAccountingArticleCodes" : [ "...", "..." ],
"pricePlanMatrixCode" : "...",
"customFields" : {
"customField" : [ { }, { } ],
"inheritedCustomField" : [ { }, { } ]
},
"allowToNegate" : true,
"description" : "...",
"priority" : 12345,
"accountingArticleCode" : "...",
"applyByArticle" : true,
"sequence" : 12345,
"lastDiscount" : true
} ],
"actionStatus" : {
"status" : "WARNING",
"errorCode" : { },
"message" : "...",
"entityId" : 12345,
"entityCode" : "...",
"nrAffected" : 12345,
"json" : "..."
}
}