POST services/api/v1/POS/Update_Pos_PreDiscount

Request Information

URI Parameters

None.

Body Parameters

POS_PredefinedDiscount_Master
NameDescriptionTypeAdditional information
Id

integer

None.

LocId

integer

None.

Name

string

None.

DiscountPer

decimal number

None.

Description

string

None.

MinimunAmt

decimal number

None.

PromotionAllow

boolean

None.

ExcludedDepts

boolean

None.

ListDepartment

string

None.

Type

integer

None.

DiscountDetails

Collection of POSPredefinedDiscount_Details

None.

LocationList

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "LocId": 2,
  "Name": "sample string 3",
  "DiscountPer": 4.0,
  "Description": "sample string 5",
  "MinimunAmt": 6.0,
  "PromotionAllow": true,
  "ExcludedDepts": true,
  "ListDepartment": "sample string 9",
  "Type": 10,
  "DiscountDetails": [
    {
      "Id": 1,
      "PredefinedDiscId": 2,
      "DeptCode": "sample string 3",
      "CatCode": "sample string 4",
      "SubCatCode": "sample string 5",
      "SubCatId": 6,
      "Percentage": 7.0,
      "MinAmount": 8.0,
      "MaxDiscount": 9.0,
      "LocId": 10,
      "LevelNo": 11
    },
    {
      "Id": 1,
      "PredefinedDiscId": 2,
      "DeptCode": "sample string 3",
      "CatCode": "sample string 4",
      "SubCatCode": "sample string 5",
      "SubCatId": 6,
      "Percentage": 7.0,
      "MinAmount": 8.0,
      "MaxDiscount": 9.0,
      "LocId": 10,
      "LevelNo": 11
    }
  ],
  "LocationList": "sample string 11"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.