POST call, passing a JSON body as specified below.| Field | Description | Type | Mandatory |
|---|---|---|---|
| missedOpportunity | Array of missed opportunities objecs | See below for the the object structure To update an attribute also specify the progId, which is the identifier for the attribute. If not specified, a new missed opportunity will be created | ✓ |
vendorCode.itemCode refer to the article code of some articles that must be already set in KeepIT when the report occurs.| Field | Description | Type | Mandatory |
|---|---|---|---|
| missedOpportunityType | Type of the missed opportunity. (referenced on the master table) | Varchar(250) | ✓ |
| opportunityDate | Date of the missed opportunity | Date | ✓ |
| itemCode | Code of the product | Varchar(250) | |
| itemDescription | Description of the product | Varchar(250) | |
| barcode | Barcode of the SKU | Varchar(250) | |
| origHierarchyLevel1 to origHierarchyLevel10 | Description of the hierarchy level of the product if specified | Varchar(250) | |
| origAttributeLevel1 to origAttributeLevel10 | Description of the attributes of the product if specified | Varchar(250) | |
| origDimension1 to origDimension5 | Description of the dimensions of the product if specified (color, size etc.) | Varchar(250) | |
| hierarchyLevel1 to hierarchyLevel10 | Description of the hierarchy of the product requested by the customer | Varchar(250) | |
| attributeLevel1 to attributeLevel10 | Description of the attributes of the product requested by the customer | Varchar(250) | |
| dimension1 to dimension5 | Description of the dimensions of the product requested by the customer (color, size etc.) | Varchar(250) | |
| note | Note for the missed opportunity | Varchar(2048) | |
| subjectCard | Card barcode of the customer | Varchar(250) | |
| vendorCode | Code of the vendor | Varchar(250) | |
| itemCode1 | Code of the product if specified | Varchar(250) |
{
"success": true,
"code": 200,
"message": "Inserimento/Update riuscito con successo.",
"errorObjects": [
],
"insertedObjects": [
{
"progId": "15"
}
]
}