Required permission: | PromotionMemberGroupPlanStockByLocation-Enquiry.GET |
GET | /Promotion/MemberGroup/{AcLocationID}/{AcStockID}/{AcStockUOMID} | Get Member Group Stock Promotion Price by given Location, StockID, Stock UOM ID |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AcLocationID | path | string | No | |
AcStockID | path | string | No | |
AcStockUOMID | path | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PromotionMemberGroupPlanStockByLocation | form | List<pfapi70030GetPromotionMemberGroupPlanStockByLocation> | No | |
ResponseStatus | form | ResponseStatus | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AcPromotionMemberGroupPlanID | form | string | No | |
AcPromotionMemberGroupPlanSchPromoMID | form | string | No | |
AcPromotionMemberGroupPlanSchPromoMBatchID | form | string | No | |
AcPromotionMemberGroupPlanSchStockID | form | string | No | |
AcPromotionMemberGroupPlanRefNo | form | string | No | Promtion Campaign Reference Number |
AcPromotionMemberGroupPlanDesc | form | string | No | Promtion Campaign Description |
AcPromotionMemberGroupPlanSchPromoMDesc | form | string | No | Scheduled/Adhoc Activity Description |
AcPromotionMemberGroupPlanSchPromoMBatchRefNo | form | string | No | Scheduled/Adhoc Batch Reference Number |
AcPromotionMemberGroupPlanSchPromoMBatchDesc | form | string | No | Scheduled/Adhoc Batch Description |
SchPromoIsAllDayEvent | form | string | No | |
AcStockID | form | string | No | |
AcStockUOMID | form | string | No | |
StockPrice1 | form | decimal | No | |
StockPrice2 | form | decimal | No | |
StockPrice3 | form | decimal | No | |
StockPrice4 | form | decimal | No | |
StockPrice5 | form | decimal | No | |
POSPrice | form | decimal | No | |
DiscountAmount | form | decimal | No | Discounted Amount |
POSPromoPrice | form | decimal | No | Promotion Price |
PromotionPlanType | form | string | No | Promotion Plan Type: SCHEDULED/ADHOC |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Promotion/MemberGroup/{AcLocationID}/{AcStockID}/{AcStockUOMID} HTTP/1.1 Host: snr2u.com Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { PromotionMemberGroupPlanStockByLocation: [ { AcPromotionMemberGroupPlanID: String, AcPromotionMemberGroupPlanSchPromoMID: String, AcPromotionMemberGroupPlanSchPromoMBatchID: String, AcPromotionMemberGroupPlanSchStockID: String, AcPromotionMemberGroupPlanRefNo: String, AcPromotionMemberGroupPlanDesc: String, AcPromotionMemberGroupPlanSchPromoMDesc: String, AcPromotionMemberGroupPlanSchPromoMBatchRefNo: String, AcPromotionMemberGroupPlanSchPromoMBatchDesc: String, SchPromoIsAllDayEvent: String, AcStockID: String, AcStockUOMID: String, StockPrice1: 0, StockPrice2: 0, StockPrice3: 0, StockPrice4: 0, StockPrice5: 0, POSPrice: 0, DiscountAmount: 0, POSPromoPrice: 0, PromotionPlanType: String } ], ResponseStatus: { ErrorCode: String, Message: String, StackTrace: String, Errors: [ { ErrorCode: String, FieldName: String, Message: String, Meta: { String: String } } ], Meta: { String: String } } }