POST api/V3/Assorted/CreateAssortedProducts
Creates new assorted products.
Request Information
URI Parameters
None.
Body Parameters
New Assorted products to be created
Collection of V3.AssortedProduct| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductErpId |
Name of the Product |
string |
Required String length: inclusive between 0 and 100 |
| OutletErpId |
SAP or ERP id of the Outlet/Customer |
string |
Required |
| LastSalesDate |
SAP or ERP id of the Outlet/Customer |
date |
Required |
Request Formats
application/json, text/json
Sample:
[
{
"ProductErpId": "sample string 1",
"OutletErpId": "sample string 2",
"LastSalesDate": "2025-10-19T23:43:52.2387388+00:00"
},
{
"ProductErpId": "sample string 1",
"OutletErpId": "sample string 2",
"LastSalesDate": "2025-10-19T23:43:52.2387388+00:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfAssortedProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.V3.Models">
<AssortedProduct>
<LastSalesDate>2025-10-19T23:43:52.2387388+00:00</LastSalesDate>
<OutletErpId>sample string 2</OutletErpId>
<ProductErpId>sample string 1</ProductErpId>
</AssortedProduct>
<AssortedProduct>
<LastSalesDate>2025-10-19T23:43:52.2387388+00:00</LastSalesDate>
<OutletErpId>sample string 2</OutletErpId>
<ProductErpId>sample string 1</ProductErpId>
</AssortedProduct>
</ArrayOfAssortedProduct>
Response Information
Resource Description
Response object with Guid and message or an Error Message
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.