Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048436
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Retail APIminoralways2022-01-19 16:362022-01-19 16:44
ReporterdmiguelezView Statuspublic 
Assigned ToTriage Platform Conn 
PrioritynormalResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0048436: Add detail of lines information in WS that returns Request Status

DescriptionThere is a webservice that returns information about the requests: org.openbravo.retail.api.StatusService

With it, it is possible to know the status of a particular request.
However, it does not return information about the details of the lines.
Steps To ReproduceAn example of the actual call to the WS:
{
   "data":{
      "id":"7AE017D44F7248BAAF6C2C968F5C78C1",
      "status":"Error",
      "creationDate":"2021-11-30 18:11:02.378",
      "executionDate":"2021-11-30 18:11:02.398"
   },
   "links":null
}

What is required would look like:
{
   "data":{
      "id":"7AE017D44F7248BAAF6C2C968F5C78C1",
      "status":"Error",
      "creationDate":"2021-11-30 18:11:02.378",
      "executionDate":"2021-11-30 18:11:02.398",
      "errorLines":[
         {
            "message":"Error while importing an item: Value of property organization is null but it does not accept null values",
            "data":"[{\"client\":\"Mobivia\",\"searchKey\":\"7881\",\"name\":\"Test SMA\",\"description\":\"7881\",\"upcEAN\":\"7881\",\"uom\":\"SM\",\"productCategory\":\"Article\",\"taxCategory\":\"TVA normale\",\"active\":true,\"productType\":\"Item\",\"generic\":false,\"stocked\":true,\"purchased\":true,\"sold\":true,\"showCharactDesc\":true,\"scale\":false,\"showStock\":false,\"allowAnonymousSale\":true,\"multiSelectable\":false,\"groupedProduct\":true,\"printServices\":true,\"allowDeferredSell\":false,\"linkedToProduct\":false,\"uniquePerDocument\":false,\"priceRuleBased\":false,\"printDescription\":false,\"returnable\":true,\"summaryLevel\":false,\"billOfMaterials\":false,\"printDetailsOnInvoice\":false,\"printDetailsOnPickList\":false,\"verified\":false,\"calculated\":false,\"production\":false,\"quantityVariable\":false,\"discontinued\":false,\"volume\":0,\"weight\":0,\"characteristicValues\":{}}]"
         }
      ]
   },
   "links":null
}
TagsNo tags attached.
Attached Filesdiff file icon proposal.diff [^] (2,393 bytes) 2022-01-19 16:36 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2022-01-19 16:36 dmiguelez New Issue
2022-01-19 16:36 dmiguelez Assigned To => Triage Platform Conn
2022-01-19 16:36 dmiguelez File Added: proposal.diff
2022-01-19 16:36 dmiguelez Triggers an Emergency Pack => No
2022-01-19 16:44 caristu Status new => acknowledged


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker