POST api/Lists
Request Information
URI Parameters
None.
Body Parameters
CustListName | 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": "f5c9e0dd-1d75-49a7-acfd-0ac5c16b1157", "Id": "1ba7c917-5452-4b14-b079-20d7c1a02a62", "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.4384725+00:00" }, { "CustListId": "f5c9e0dd-1d75-49a7-acfd-0ac5c16b1157", "Id": "1ba7c917-5452-4b14-b079-20d7c1a02a62", "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.4384725+00:00" } ], "hasUploadedFile": true, "Id": "c3ff41d1-cbc9-4cda-81ee-69a1cb6bf1f5", "Comments": "sample string 6", "DateCreated": "2024-11-21T09:29:35.4384725+00:00", "DateModified": "2024-11-21T09:29:35.4384725+00:00" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
DataResultOfCustListName | 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": "f8763767-605e-46b0-9833-5ddbeeb4371b", "Id": "02dcec28-a125-41bb-9f24-7d0d71a18bbf", "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" }, { "CustListId": "f8763767-605e-46b0-9833-5ddbeeb4371b", "Id": "02dcec28-a125-41bb-9f24-7d0d71a18bbf", "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" } ], "hasUploadedFile": true, "Id": "b139bad9-13ec-4a67-beb6-a2bd09fce849", "Comments": "sample string 6", "DateCreated": "2024-11-21T09:29:35.5322236+00:00", "DateModified": "2024-11-21T09:29:35.5322236+00:00" } }