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": "6bc665bc-6170-4242-8a24-d6f0e6508bee",
"Id": "a2924745-25d2-403a-a5a5-333b1089dcc1",
"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-11-14T03:43:00.6878433+00:00"
},
{
"CustListId": "6bc665bc-6170-4242-8a24-d6f0e6508bee",
"Id": "a2924745-25d2-403a-a5a5-333b1089dcc1",
"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-11-14T03:43:00.6878433+00:00"
}
],
"hasUploadedFile": true,
"Id": "ceda6e72-8ae1-480e-8c1d-6897a81a9b16",
"Comments": "sample string 6",
"DateCreated": "2026-11-14T03:43:00.6878433+00:00",
"DateModified": "2026-11-14T03:43:00.6878433+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": "f9eb72d5-d8f6-4dd0-816a-4bf3b42b0bb7",
"Id": "9229f42e-9ce2-466c-a9c0-c1a1fe2ca6f0",
"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-11-14T03:43:00.6878433+00:00"
},
{
"CustListId": "f9eb72d5-d8f6-4dd0-816a-4bf3b42b0bb7",
"Id": "9229f42e-9ce2-466c-a9c0-c1a1fe2ca6f0",
"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-11-14T03:43:00.6878433+00:00"
}
],
"hasUploadedFile": true,
"Id": "5cac9afc-3b1d-4f95-ad22-43d3af53c4fa",
"Comments": "sample string 6",
"DateCreated": "2026-11-14T03:43:00.6878433+00:00",
"DateModified": "2026-11-14T03:43:00.6878433+00:00"
}
}