POST api/Lists
Request Information
URI Parameters
None.
Body Parameters
CustList| Name | Description | Type | Additional information |
|---|---|---|---|
| ListName | string |
None. |
|
| NoOfAddedItems | integer |
None. |
|
| ListDetails | Collection of ListDetail |
None. |
|
| hasUploadedFile | boolean |
None. |
|
| Id | globally unique identifier |
None. |
|
| Comments | string |
None. |
|
| DateCreated | date |
None. |
|
| DateModified | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"ListName": "sample string 1",
"NoOfAddedItems": 2,
"ListDetails": [
{
"CustListId": "440afcf4-7e12-4855-8ec8-af3845b5a505",
"Id": "93aa9ba5-af85-4217-a5aa-942a306a373c",
"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": "2026-05-14T13:43:36.6810071+00:00"
},
{
"CustListId": "440afcf4-7e12-4855-8ec8-af3845b5a505",
"Id": "93aa9ba5-af85-4217-a5aa-942a306a373c",
"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": "2026-05-14T13:43:36.6810071+00:00"
}
],
"hasUploadedFile": true,
"Id": "91d9cc72-ebd3-4662-9e76-e86555101954",
"Comments": "sample string 6",
"DateCreated": "2026-05-14T13:43:36.6810071+00:00",
"DateModified": "2026-05-14T13:43:36.6810071+00:00"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
DataResultOfCustList| Name | Description | Type | Additional information |
|---|---|---|---|
| Value | RetVal |
None. |
|
| Message | string |
None. |
|
| Data | CustList |
None. |
Response Formats
application/json, text/json
Sample:
{
"Value": 0,
"Message": "sample string 1",
"Data": {
"ListName": "sample string 1",
"NoOfAddedItems": 2,
"ListDetails": [
{
"CustListId": "8777e037-8456-47fb-90f4-4773519d3b47",
"Id": "2cb3e05c-fc25-4d3f-9d75-6f5119b4adc1",
"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": "2026-05-14T13:43:36.6810071+00:00"
},
{
"CustListId": "8777e037-8456-47fb-90f4-4773519d3b47",
"Id": "2cb3e05c-fc25-4d3f-9d75-6f5119b4adc1",
"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": "2026-05-14T13:43:36.6810071+00:00"
}
],
"hasUploadedFile": true,
"Id": "176da22e-4a5e-4eef-bf04-338c0376f452",
"Comments": "sample string 6",
"DateCreated": "2026-05-14T13:43:36.6810071+00:00",
"DateModified": "2026-05-14T13:43:36.6810071+00:00"
}
}