POST api/List/SaveDetail

Request Information

URI Parameters

None.

Body Parameters

ListDetail
NameDescriptionTypeAdditional information
CustListId

globally unique identifier

None.

Id

globally unique identifier

None.

UnitPrice

string

None.

Quantity

integer

None.

MaterialID

string

None.

Material

Material

None.

DateAdded

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CustListId": "7b726aae-edbd-4021-b5ce-c4493de5304b",
  "Id": "fa079584-a6ff-424e-a9a4-bcfe62a93dff",
  "UnitPrice": "sample string 4",
  "Quantity": 5,
  "MaterialID": "sample string 6",
  "Material": {
    "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"
  },
  "DateAdded": "2024-11-21T09:29:35.4697225+00:00"
}

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 'ListDetail'.

Response Information

Resource Description

DataResultOfListDetail
NameDescriptionTypeAdditional information
Value

RetVal

None.

Message

string

None.

Data

ListDetail

None.

Response Formats

application/json, text/json

Sample:
{
  "Value": 0,
  "Message": "sample string 1",
  "Data": {
    "CustListId": "e407278e-1738-4792-9569-05d0b9ab7309",
    "Id": "8b8f8442-4215-4d13-b231-2e74887408e5",
    "UnitPrice": "sample string 4",
    "Quantity": 5,
    "MaterialID": "sample string 6",
    "Material": {
      "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"
    },
    "DateAdded": "2024-11-21T09:29:35.5322236+00:00"
  }
}