POST api/Promo/GetPackagebyKey

Request Information

URI Parameters

None.

Body Parameters

GetPromoPackRequest
NameDescriptionTypeAdditional information
ClientKey

integer

None.

CompKey

integer

None.

PackKey

integer

None.

PackCode

string

None.

PackName

string

None.

PackIsActive

boolean

None.

Subsordemo

string

None.

PackPrice

decimal number

None.

ProductPackDetList

Collection of PromoPackages

None.

ProdKey

integer

None.

PackQtyIn

integer

None.

PackQtyOut

integer

None.

PurchDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientKey": 1,
  "CompKey": 2,
  "PackKey": 3,
  "PackCode": "sample string 4",
  "PackName": "sample string 5",
  "PackIsActive": true,
  "Subsordemo": "sample string 7",
  "PackPrice": 8.1,
  "ProductPackDetList": [
    {
      "packKey": 1,
      "packCode": "sample string 2",
      "packName": "sample string 3",
      "compKey": 4,
      "packIsActive": true,
      "prodKey": 6,
      "prodName": "sample string 7",
      "prodQty": 8,
      "prodPrice": 9.0,
      "packPrice": 10.0,
      "newPackProdPrice": 11.0,
      "clientKey": 12,
      "packQtyIn": 13,
      "packQtyOut": 14,
      "packQtyBal": 15,
      "purchDate": "2026-07-30T15:13:36.7903025+04:00",
      "saleDate": "2026-07-30T15:13:36.7903025+04:00",
      "clientCode": "sample string 18",
      "clientName": "sample string 19",
      "clientMobile": "sample string 20",
      "prodTimeReq": 21.1,
      "prodCatog": "sample string 22"
    },
    {
      "packKey": 1,
      "packCode": "sample string 2",
      "packName": "sample string 3",
      "compKey": 4,
      "packIsActive": true,
      "prodKey": 6,
      "prodName": "sample string 7",
      "prodQty": 8,
      "prodPrice": 9.0,
      "packPrice": 10.0,
      "newPackProdPrice": 11.0,
      "clientKey": 12,
      "packQtyIn": 13,
      "packQtyOut": 14,
      "packQtyBal": 15,
      "purchDate": "2026-07-30T15:13:36.7903025+04:00",
      "saleDate": "2026-07-30T15:13:36.7903025+04:00",
      "clientCode": "sample string 18",
      "clientName": "sample string 19",
      "clientMobile": "sample string 20",
      "prodTimeReq": 21.1,
      "prodCatog": "sample string 22"
    }
  ],
  "ProdKey": 9,
  "PackQtyIn": 10,
  "PackQtyOut": 11,
  "PurchDate": "2026-07-30T15:13:36.7903025+04:00"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.