POST services/api/rest/v1/Update_HappyHours_PromotionItem
Request Information
URI Parameters
None.
Body Parameters
RestHappyHours_Promotion_Item| Name | Description | Type | Additional information |
|---|---|---|---|
| PromotionId | integer |
None. |
|
| UserId | integer |
None. |
|
| LocId | integer |
None. |
|
| Status | integer |
None. |
|
| Priority | integer |
None. |
|
| Name | string |
None. |
|
| Amt | decimal number |
None. |
|
| ItemDetails | Collection of RestHappyHours_Promotion_ItemDetails |
None. |
Request Formats
application/json, text/json
Sample:
{
"PromotionId": 1,
"UserId": 2,
"LocId": 3,
"Status": 4,
"Priority": 5,
"Name": "sample string 6",
"Amt": 7.0,
"ItemDetails": [
{
"Id": 1,
"Barcode": "sample string 2",
"ActualPrice": 3.0,
"NewPrice": 4.0,
"Discount": 5.0,
"ItemName": "sample string 6"
},
{
"Id": 1,
"Barcode": "sample string 2",
"ActualPrice": 3.0,
"NewPrice": 4.0,
"Discount": 5.0,
"ItemName": "sample string 6"
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RestHappyHours_Promotion_Item| Name | Description | Type | Additional information |
|---|---|---|---|
| PromotionId | integer |
None. |
|
| UserId | integer |
None. |
|
| LocId | integer |
None. |
|
| Status | integer |
None. |
|
| Priority | integer |
None. |
|
| Name | string |
None. |
|
| Amt | decimal number |
None. |
|
| ItemDetails | Collection of RestHappyHours_Promotion_ItemDetails |
None. |
Response Formats
application/json, text/json
Sample:
{
"PromotionId": 1,
"UserId": 2,
"LocId": 3,
"Status": 4,
"Priority": 5,
"Name": "sample string 6",
"Amt": 7.0,
"ItemDetails": [
{
"Id": 1,
"Barcode": "sample string 2",
"ActualPrice": 3.0,
"NewPrice": 4.0,
"Discount": 5.0,
"ItemName": "sample string 6"
},
{
"Id": 1,
"Barcode": "sample string 2",
"ActualPrice": 3.0,
"NewPrice": 4.0,
"Discount": 5.0,
"ItemName": "sample string 6"
}
]
}