POST api/Materials/Filter

Request Information

URI Parameters

None.

Body Parameters

FilterValues
NameDescriptionTypeAdditional information
BrandNames

Collection of string

None.

Families

Collection of string

None.

SubFamilies

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "BrandNames": [
    "sample string 1",
    "sample string 2"
  ],
  "Families": [
    "sample string 1",
    "sample string 2"
  ],
  "SubFamilies": [
    "sample string 1",
    "sample string 2"
  ]
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FilterValues'.

Response Information

Resource Description

DataResultOfListOfMaterialWithPrices
NameDescriptionTypeAdditional information
Value

RetVal

None.

Message

string

None.

Data

Collection of MaterialWithPrices

None.

Response Formats

application/json, text/json

Sample:
{
  "Value": 0,
  "Message": "sample string 1",
  "Data": [
    {
      "Materials": {
        "MaterialID": "sample string 1",
        "Description": "sample string 2",
        "Family": "sample string 3",
        "SubFamily": "sample string 4",
        "Brand": "sample string 5",
        "DisplayUPC": "sample string 6",
        "GTIN": "sample string 7",
        "ShelfLife": "sample string 8",
        "CodeDating": "sample string 9",
        "RefrigerationText": "sample string 10",
        "Establishment": "sample string 11",
        "Characteristics": "sample string 12",
        "Allergens": "sample string 13",
        "UMConversions": "sample string 14",
        "Package": "sample string 15",
        "Case": "sample string 16",
        "CaseWeightType": "sample string 17",
        "CaseWt": "sample string 18",
        "ShippingWt": "sample string 19",
        "Pallet": "sample string 20",
        "SellingRestriction": "sample string 21",
        "CaseUPC": "sample string 22",
        "ImageUrl": "sample string 23",
        "NutritionFactsUrl": "sample string 24",
        "SellingUnit": "sample string 25",
        "ConversionFactor": "sample string 26"
      },
      "Prices": {
        "priceListID": 1,
        "PriceListCode": "sample string 2",
        "MaterialID": "sample string 3",
        "Price": 4.0,
        "PriceUnit": "sample string 5",
        "Per": "sample string 6",
        "StartDate": "2024-11-21T09:38:53.538789+00:00",
        "EndDate": "2024-11-21T09:38:53.538789+00:00"
      }
    },
    {
      "Materials": {
        "MaterialID": "sample string 1",
        "Description": "sample string 2",
        "Family": "sample string 3",
        "SubFamily": "sample string 4",
        "Brand": "sample string 5",
        "DisplayUPC": "sample string 6",
        "GTIN": "sample string 7",
        "ShelfLife": "sample string 8",
        "CodeDating": "sample string 9",
        "RefrigerationText": "sample string 10",
        "Establishment": "sample string 11",
        "Characteristics": "sample string 12",
        "Allergens": "sample string 13",
        "UMConversions": "sample string 14",
        "Package": "sample string 15",
        "Case": "sample string 16",
        "CaseWeightType": "sample string 17",
        "CaseWt": "sample string 18",
        "ShippingWt": "sample string 19",
        "Pallet": "sample string 20",
        "SellingRestriction": "sample string 21",
        "CaseUPC": "sample string 22",
        "ImageUrl": "sample string 23",
        "NutritionFactsUrl": "sample string 24",
        "SellingUnit": "sample string 25",
        "ConversionFactor": "sample string 26"
      },
      "Prices": {
        "priceListID": 1,
        "PriceListCode": "sample string 2",
        "MaterialID": "sample string 3",
        "Price": 4.0,
        "PriceUnit": "sample string 5",
        "Per": "sample string 6",
        "StartDate": "2024-11-21T09:38:53.538789+00:00",
        "EndDate": "2024-11-21T09:38:53.538789+00:00"
      }
    }
  ]
}