Re: Ofbiz Rest API content-type
Hi again, I wonder why a REST API Service would be expected to return HTML. Isn’t the client of the REST API responsible to render the returned JSON? If you would expect XML for example, ok. But HTML? Hum. Maybe it is worth to read the Wikipedia article on REST API and understand that your idea rather counters its basic idea of separating concerns. https://en.wikipedia.org/wiki/Representational_state_transfer You might want to review your “scenario” and consider a HTML rendering step on your side after retrieving the relevant data from the API? Warm regards Carsten Altafhusen Makandar schrieb am Fr. 18. Feb. 2022 um 11:06: > Thank you for your response. This is a generic question related to the > request and response object type in ofbiz rest API. In my understanding, > the rest API currently supports the request and response object type as > JSON. I've scenario where I want to return a HTML data and not JSON object. > Similarly, there may be other type of object that I may receive or return. > So I wanted to check if the feature to receive or return other types other > than JSON is available. If it's available then a small code snippet of it's > usage would be helpful to me. It would be great if I get some information > on this. Thank you. > > On Fri, Feb 18, 2022, 09:40 Carsten Schinzer < > cars...@dcs-verkaufssysteme.de> > wrote: > > > Hello, > > > > > > I am not really sure, your question is clear to everybody. I would > wonder: > > Is this a generic question? > > I ask, because "application/json" indicates that a structured content > with > > key-value pairs (potentially matching a given schema) will be returned > > while the other content types you are asking for are (content-wise) not > > structured in that sense: text/html, text/plain, multipart/*. > > Are you looking for something concrete here? > > > > Maybe it helps to describe your use case a bit more. > > Warm regards > > > > > > Carsten > > > > > > > > --- > > > > > > Dr. Carsten Schinzer > > > > *Inhaber* > > > > > > t +49 89 88569642 | f +49 89 99964059 | m +49 159 05269462 > > > > DCS Verkaufssysteme > > > > Gerner Str. 27 | 80638 München | Germany > > > > > > Am Do., 17. Feb. 2022 um 22:55 Uhr schrieb Altafhusen Makandar < > > altafhusen...@gmail.com>: > > > > > Can someone please provide some information on this? > > > > > > On Thu, Feb 17, 2022, 10:43 Altafhusen Makandar < > altafhusen...@gmail.com > > > > > > wrote: > > > > > > > Hi, > > > > > > > > I am using the rest API feature of the ofbiz and I found the > > > > "application/json".as the content-type. Do we have a feature for > other > > > > content types like text/html, text/plain, multipart/* and so on? > > > > > > > > Regards, > > > > Altaf. > > > > > > > > > > -- --- Dr. Carsten Schinzer *Inhaber* t +49 89 88569642 | f +49 89 99964059 | m +49 159 05269462 DCS Verkaufssysteme Gerner Str. 27 | 80638 München | Germany
Re: Correction of cwiki OFBENDUSER/Glossary
Hi Marco, I'd be happy to add you, but Confluence can't find you at mailma...@adeti.org Are you sure that you created an account *in Confluence* with this email? Jacques Le 18/02/2022 à 09:57, Marco RODRIGUES a écrit : Hi, I am searching for glossaries In order to deepen the terms and concepts of OFBIZ. I found the page : https://cwiki.apache.org/confluence/display/OFBENDUSER/Glossary But many links to the user manual are wrong. Exemple : It is : https://ci.apache.org/projects/ofbiz/site/trunk/ofbizdoc/html5/user-manual.html#PARTY And should be : https://nightlies.apache.org/ofbiz/trunk/ofbiz/html5/user-manual.html#_party_glossary If someone can correct or give me the rights to do it (I have an account with my mailma...@adeti.org),I would be grateful . B/R.
Re: Ofbiz Rest API content-type
Thank you for your response. This is a generic question related to the request and response object type in ofbiz rest API. In my understanding, the rest API currently supports the request and response object type as JSON. I've scenario where I want to return a HTML data and not JSON object. Similarly, there may be other type of object that I may receive or return. So I wanted to check if the feature to receive or return other types other than JSON is available. If it's available then a small code snippet of it's usage would be helpful to me. It would be great if I get some information on this. Thank you. On Fri, Feb 18, 2022, 09:40 Carsten Schinzer wrote: > Hello, > > > I am not really sure, your question is clear to everybody. I would wonder: > Is this a generic question? > I ask, because "application/json" indicates that a structured content with > key-value pairs (potentially matching a given schema) will be returned > while the other content types you are asking for are (content-wise) not > structured in that sense: text/html, text/plain, multipart/*. > Are you looking for something concrete here? > > Maybe it helps to describe your use case a bit more. > Warm regards > > > Carsten > > > > --- > > > Dr. Carsten Schinzer > > *Inhaber* > > > t +49 89 88569642 | f +49 89 99964059 | m +49 159 05269462 > > DCS Verkaufssysteme > > Gerner Str. 27 | 80638 München | Germany > > > Am Do., 17. Feb. 2022 um 22:55 Uhr schrieb Altafhusen Makandar < > altafhusen...@gmail.com>: > > > Can someone please provide some information on this? > > > > On Thu, Feb 17, 2022, 10:43 Altafhusen Makandar > > > wrote: > > > > > Hi, > > > > > > I am using the rest API feature of the ofbiz and I found the > > > "application/json".as the content-type. Do we have a feature for other > > > content types like text/html, text/plain, multipart/* and so on? > > > > > > Regards, > > > Altaf. > > > > > >
Correction of cwiki OFBENDUSER/Glossary
Hi, I am searching for glossaries In order to deepen the terms and concepts of OFBIZ. I found the page : https://cwiki.apache.org/confluence/display/OFBENDUSER/Glossary But many links to the user manual are wrong. Exemple : It is : https://ci.apache.org/projects/ofbiz/site/trunk/ofbizdoc/html5/user-manual.html#PARTY And should be : https://nightlies.apache.org/ofbiz/trunk/ofbiz/html5/user-manual.html#_party_glossary If someone can correct or give me the rights to do it (I have an account with my mailma...@adeti.org),I would be grateful . B/R. -- Bonne journée. Marco. Président de COAGUL -- https://www.coagul.org/ Président d'honneur fondateur de l'Atelier Numérique Romorantin -- https://anr.adeti.org/ Administrateur fondateur Adeti.org -- https://www.adeti.org/ Membre de Solix/Sologne Linux -- https://www.solix.info/ Membre April -- https://www.april.org/
Re: Ofbiz Rest API content-type
Hello, I am not really sure, your question is clear to everybody. I would wonder: Is this a generic question? I ask, because "application/json" indicates that a structured content with key-value pairs (potentially matching a given schema) will be returned while the other content types you are asking for are (content-wise) not structured in that sense: text/html, text/plain, multipart/*. Are you looking for something concrete here? Maybe it helps to describe your use case a bit more. Warm regards Carsten --- Dr. Carsten Schinzer *Inhaber* t +49 89 88569642 | f +49 89 99964059 | m +49 159 05269462 DCS Verkaufssysteme Gerner Str. 27 | 80638 München | Germany Am Do., 17. Feb. 2022 um 22:55 Uhr schrieb Altafhusen Makandar < altafhusen...@gmail.com>: > Can someone please provide some information on this? > > On Thu, Feb 17, 2022, 10:43 Altafhusen Makandar > wrote: > > > Hi, > > > > I am using the rest API feature of the ofbiz and I found the > > "application/json".as the content-type. Do we have a feature for other > > content types like text/html, text/plain, multipart/* and so on? > > > > Regards, > > Altaf. > > >
Re: Workflow in OFBIZ
Hi, Emails are handled with https://ofbiz.markmail.org/search/?q=MECA#query:MECA+page:1+mid:b6cvf7dl5fgin4wc+state:results HTH Jacques Le 17/02/2022 à 22:49, ja...@productive1.com a écrit : Thank you. Is there anything to install to get Event Driven Services monitor events and to send email? Original Message Subject: Re: Workflow in OFBIZ From: Jacques Le Roux Date: Wed, February 16, 2022 1:39 pm To: user@ofbiz.apache.org This complete my answer: https://cwiki.apache.org/confluence/display/OFBIZ/Service+Engine+Guide#ServiceEngineGuide-ecas Le 16/02/2022 à 21:36, Jacques Le Roux a écrit : Hi James, Here you go: What's the recommended workflow engine in OFBiz? Is it Shark?: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=82706476#FAQTipsTricksCookbookHowTo-WorkflowEngine https://cwiki.apache.org/confluence/display/OFBIZ/Apache+OFBiz+Project+Overview#ApacheOFBizProjectOverview-WorkEffort HTH Jacques Le 16/02/2022 à 20:29, ja...@productive1.com a écrit : Is there any builtin workflow in Ofbiz. For example when an order requires approval an email alert goes to the approver. Or when an order is ready to pick and pack an email alert goes to the warehouse? If so where is this configured. If not is there any script we can call from an external source to achieve this? Thanks, James