POST services/api/v1/Get_MforXNForYPromotionDetailsById
Request Information
URI Parameters
None.
Body Parameters
Id| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of MforXNforYPromotion_Master| Name | Description | Type | Additional information |
|---|---|---|---|
| PromotionId | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| Status | integer |
None. |
|
| Priority | integer |
None. |
|
| ItemMasterType | integer |
None. |
|
| UserId | integer |
None. |
|
| ItemDetails | Collection of MforXNforYPromotionItem |
None. |
|
| PriceDetails | Collection of MforXNforYPromotionItemPrice |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"PromotionId": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"Status": 4,
"Priority": 5,
"ItemMasterType": 6,
"UserId": 7,
"ItemDetails": [
{
"Id": 1,
"PromotionId": 2,
"Barcode": "sample string 3",
"ItemName": "sample string 4",
"ItemMasterType": 5,
"Flag": 6
},
{
"Id": 1,
"PromotionId": 2,
"Barcode": "sample string 3",
"ItemName": "sample string 4",
"ItemMasterType": 5,
"Flag": 6
}
],
"PriceDetails": [
{
"Id": 1,
"PromotionId": 2,
"Qty": 3.0,
"Price": 4.0,
"Status": 5
},
{
"Id": 1,
"PromotionId": 2,
"Qty": 3.0,
"Price": 4.0,
"Status": 5
}
]
},
{
"PromotionId": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"Status": 4,
"Priority": 5,
"ItemMasterType": 6,
"UserId": 7,
"ItemDetails": [
{
"Id": 1,
"PromotionId": 2,
"Barcode": "sample string 3",
"ItemName": "sample string 4",
"ItemMasterType": 5,
"Flag": 6
},
{
"Id": 1,
"PromotionId": 2,
"Barcode": "sample string 3",
"ItemName": "sample string 4",
"ItemMasterType": 5,
"Flag": 6
}
],
"PriceDetails": [
{
"Id": 1,
"PromotionId": 2,
"Qty": 3.0,
"Price": 4.0,
"Status": 5
},
{
"Id": 1,
"PromotionId": 2,
"Qty": 3.0,
"Price": 4.0,
"Status": 5
}
]
}
]