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": "bd49b609-7856-49b2-98e2-8af25ee8a5d9",
"Id": "cc629e90-e9a8-4653-b5f6-64be5d3c46ff",
"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-08-13T19:25:46.4477689+00:00"
},
{
"CustListId": "bd49b609-7856-49b2-98e2-8af25ee8a5d9",
"Id": "cc629e90-e9a8-4653-b5f6-64be5d3c46ff",
"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-08-13T19:25:46.4477689+00:00"
}
],
"hasUploadedFile": true,
"Id": "4820d344-0fed-4512-b121-bdde0c700758",
"Comments": "sample string 6",
"DateCreated": "2026-08-13T19:25:46.4477689+00:00",
"DateModified": "2026-08-13T19:25:46.4477689+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": "98b5a49f-a8b5-4e9a-a0a1-1323f495339c",
"Id": "ffbce7d0-307d-4e05-80c1-239091432eb2",
"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-08-13T19:25:46.4477689+00:00"
},
{
"CustListId": "98b5a49f-a8b5-4e9a-a0a1-1323f495339c",
"Id": "ffbce7d0-307d-4e05-80c1-239091432eb2",
"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-08-13T19:25:46.4477689+00:00"
}
],
"hasUploadedFile": true,
"Id": "a685c4b3-88d2-4a27-bb04-f6aef8ac7918",
"Comments": "sample string 6",
"DateCreated": "2026-08-13T19:25:46.4477689+00:00",
"DateModified": "2026-08-13T19:25:46.4477689+00:00"
}
}