POST api/DiscountGroup/GetAllGroupDiscountProductWiseByDiscountGroupID

Request Information

URI Parameters

None.

Body Parameters

RequestIDModel
NameDescriptionTypeAdditional information
ID

integer

Required

RequestedUserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "RequestedUserID": 1
}

application/xml, text/xml

Sample:
<RequestIDModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Request">
  <RequestedUserID>1</RequestedUserID>
  <ID>1</ID>
</RequestIDModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetAllGroupDiscountProductWiseResponse
NameDescriptionTypeAdditional information
AllGroupDiscountProductWise

Collection of GroupDiscountProductWiseModel

None.

ResponseCode

integer

None.

ResponseText

string

None.

Response Formats

application/json, text/json

Sample:
{
  "AllGroupDiscountProductWise": [
    {
      "ID": 1,
      "DiscountGroupID": 1,
      "DiscountGroup": "sample string 2",
      "Product": "sample string 3",
      "ProductID": 1,
      "CreatedAt": "2025-01-22T20:51:08.6847126-06:00",
      "UpdatedAt": "2025-01-22T20:51:08.6847126-06:00",
      "CreatedByUserID": 1,
      "IsActive": true,
      "MinDiscountPerc": 1.0,
      "MaxDiscountPerc": 1.0,
      "UpdatePermission": "sample string 4"
    },
    {
      "ID": 1,
      "DiscountGroupID": 1,
      "DiscountGroup": "sample string 2",
      "Product": "sample string 3",
      "ProductID": 1,
      "CreatedAt": "2025-01-22T20:51:08.6847126-06:00",
      "UpdatedAt": "2025-01-22T20:51:08.6847126-06:00",
      "CreatedByUserID": 1,
      "IsActive": true,
      "MinDiscountPerc": 1.0,
      "MaxDiscountPerc": 1.0,
      "UpdatePermission": "sample string 4"
    }
  ],
  "ResponseCode": 1,
  "ResponseText": "sample string 2"
}

application/xml, text/xml

Sample:
<GetAllGroupDiscountProductWiseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Response">
  <ResponseCode xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">1</ResponseCode>
  <ResponseText xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">sample string 2</ResponseText>
  <AllGroupDiscountProductWise xmlns:d2p1="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">
    <d2p1:GroupDiscountProductWiseModel>
      <d2p1:CreatedAt>2025-01-22T20:51:08.6847126-06:00</d2p1:CreatedAt>
      <d2p1:CreatedByUserID>1</d2p1:CreatedByUserID>
      <d2p1:DiscountGroup>sample string 2</d2p1:DiscountGroup>
      <d2p1:DiscountGroupID>1</d2p1:DiscountGroupID>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:MaxDiscountPerc>1</d2p1:MaxDiscountPerc>
      <d2p1:MinDiscountPerc>1</d2p1:MinDiscountPerc>
      <d2p1:Product>sample string 3</d2p1:Product>
      <d2p1:ProductID>1</d2p1:ProductID>
      <d2p1:UpdatePermission>sample string 4</d2p1:UpdatePermission>
      <d2p1:UpdatedAt>2025-01-22T20:51:08.6847126-06:00</d2p1:UpdatedAt>
    </d2p1:GroupDiscountProductWiseModel>
    <d2p1:GroupDiscountProductWiseModel>
      <d2p1:CreatedAt>2025-01-22T20:51:08.6847126-06:00</d2p1:CreatedAt>
      <d2p1:CreatedByUserID>1</d2p1:CreatedByUserID>
      <d2p1:DiscountGroup>sample string 2</d2p1:DiscountGroup>
      <d2p1:DiscountGroupID>1</d2p1:DiscountGroupID>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:MaxDiscountPerc>1</d2p1:MaxDiscountPerc>
      <d2p1:MinDiscountPerc>1</d2p1:MinDiscountPerc>
      <d2p1:Product>sample string 3</d2p1:Product>
      <d2p1:ProductID>1</d2p1:ProductID>
      <d2p1:UpdatePermission>sample string 4</d2p1:UpdatePermission>
      <d2p1:UpdatedAt>2025-01-22T20:51:08.6847126-06:00</d2p1:UpdatedAt>
    </d2p1:GroupDiscountProductWiseModel>
  </AllGroupDiscountProductWise>
</GetAllGroupDiscountProductWiseResponse>