Search found 99 matches
- Mon Jul 13, 2020 12:18 pm
- Forum: LEGACY scripting
- Topic: DPD SOAP API
- Replies: 10
- Views: 14363
Re: DPD SOAP API
....The SOAP class was there long before the HTTP class and it is of course still there for compatibility reasons, but if you start from scratch forget about the SOAP class and go for the HTTP class. You are right. Let's try this with the HTTP class then. ...This being said, I was somewhat surprise...
- Mon Jul 13, 2020 10:38 am
- Forum: LEGACY scripting
- Topic: DPD SOAP API
- Replies: 10
- Views: 14363
DPD SOAP API
Hello, I try to understand how we can make requests to a SOAP API within Enfocus Switch. I want to test the DPD SOAP API https://esolutions.dpd.com/ they have a sandbox for testing purposes. https://forum.enfocus.com/download/file.php?mode=view&id=656 For those who don't know DPD is a famous Par...
- Fri Jul 10, 2020 3:35 pm
- Forum: LEGACY scripting
- Topic: How to easy API Call
- Replies: 4
- Views: 7833
Re: How to easy API Call
Now it works, had to add another Header there. :D "Accept":"application/json" Thanks a lot! function jobArrived( s : Switch, job : Job ) { var theHTTP = new HTTP( HTTP.SSL ); theHTTP.authScheme = HTTP.ProprietaryAuth; theHTTP.addHeader( "Authorization", "Bearer 123...
- Fri Jul 10, 2020 2:49 pm
- Forum: LEGACY scripting
- Topic: How to easy API Call
- Replies: 4
- Views: 7833
Re: How to easy API Call
Thank you. Now it looks different. The error I get now is: HTTP GET request error: HTTP protocol error. 406 Not Acceptable. function jobArrived( s : Switch, job : Job ) { var theHTTP = new HTTP( HTTP.SSL ); theHTTP.authScheme = HTTP.ProprietaryAuth; theHTTP.addHeader( "Authorization", &quo...
- Fri Jul 10, 2020 1:11 pm
- Forum: LEGACY scripting
- Topic: How to easy API Call
- Replies: 4
- Views: 7833
Re: How to easy API Call
I think I need to add a header with the bearer key instead of the theHTTP.authorization() method. In there Docs they say: "... Keyline requires API users to authenticate before they can access any information, and leverages a bearer token based authentication scheme to secure access. All valid ...
- Thu Jul 09, 2020 1:22 pm
- Forum: LEGACY scripting
- Topic: ninox API query Endpoint URI Encoding
- Replies: 6
- Views: 7794
Re: ninox API query Endpoint URI Encoding
Today I had a meeting with a Ninox Developer. Here is the Solution. Maybe this helps somebody else too. :) function jobArrived( s : Switch, job : Job ) { var key = "asdasdasdasdasdadsadsasdasdad"; var url = "https://api.ninoxdb.de/v1/teams/asdadsadsads/databases/asdasdadsasdasdasd/que...
- Wed Jul 08, 2020 1:45 pm
- Forum: Switch
- Topic: Sending Printjobs to network printers
- Replies: 9
- Views: 10491
Re: Sending Printjobs to network printers
I did thanks.jan_suhr wrote: ↑Wed Jul 08, 2020 1:39 pm I suggest that you contact the App-creator for support.
https://www.apagoinc.com/
- Wed Jul 08, 2020 1:35 pm
- Forum: Switch
- Topic: Sending Printjobs to network printers
- Replies: 9
- Views: 10491
Sending Printjobs to network printers
Hey there, I am currently testing the PDFPrinter APP we found at the Enfocus Appstore. The goal is to send incoming files to network printers. Office and Label printers. The Flow with the app looks like this: Bildschirmfoto 2020-07-08 um 13.29.00.png For some printers it works very well for some not...
- Wed Jul 08, 2020 10:12 am
- Forum: LEGACY scripting
- Topic: Upload Files as Base 64 encoded Strings to API
- Replies: 3
- Views: 4098
Re: Upload Files as Base 64 encoded Strings to API
Thanks freddyp that makes sense. Tried it, I also read that I need to post a JSON with the Base64 file in it. The JSON should look like this: { "data": { "type": "documents", "attributes": { "urls": ["https://www.domain.com/download/invoice-1234...
- Tue Jul 07, 2020 2:55 pm
- Forum: LEGACY scripting
- Topic: Upload Files as Base 64 encoded Strings to API
- Replies: 3
- Views: 4098
Re: Upload Files as Base 64 encoded Strings to API
I also looked to the Enfocus docs. ( https://www.enfocus.com/manuals/DeveloperGuide/SW/19/home.html#en-us/common/sw/reference/r_bytearray_class.html ) There is this convertTo() method for the ByteArray() function. But still doesnt work... Status Code 400 function jobArrived( s : Switch, job : Job ) ...
- Tue Jul 07, 2020 2:41 pm
- Forum: LEGACY scripting
- Topic: Upload Files as Base 64 encoded Strings to API
- Replies: 3
- Views: 4098
Upload Files as Base 64 encoded Strings to API
Hi there, I need to upload files to the Parashift API. In the docs( https://docs.parashift.io/extraction-api-p2p/endpoints/submit-document.html ) I read that it's possible to send the file as Base64 encoded arrays. ... As an alternative to a list of URLs, files can be delivered as an array of base64...
- Wed Jul 01, 2020 9:24 am
- Forum: LEGACY scripting
- Topic: ninox API query Endpoint URI Encoding
- Replies: 6
- Views: 7794
Re: ninox API query Endpoint URI Encoding
You are totally right with what u said. GET Method when the query is in the URL and it needs to be URI Encoded. This also means I don't need URI Encoding when I have the query in the request body. I tried it via GET-Method as URL query and got "null" as a server response. But I managed to ...
- Tue Jun 30, 2020 4:39 pm
- Forum: LEGACY scripting
- Topic: ninox API query Endpoint URI Encoding
- Replies: 6
- Views: 7794
Re: ninox API query Endpoint URI Encoding
Thank you for your answers. When I try mkayyyy´s "the encodeURIComponent" thing: function jobArrived( s : Switch, job : Job ) { var toMail = "asdadads@asdasdasdasd.de"; var fromMail = "asdadsasd@asdasdads.de"; var key = "asdasdadsadsasdasd"; var url = "ht...
- Sun Jun 28, 2020 2:57 pm
- Forum: Node.js scripting
- Topic: New scripting engine in Switch 2020
- Replies: 10
- Views: 26851
Re: New scripting engine in Switch 2020
Hey, I have watched your presentation and downloaded the Spring Update. One thing isn't really clear to me. When I activate Node.js in Scripter the "Fixture" Panel disappears. I can write and debug code better in VSCode but I can't test the code in scripter I always need a Switch Flow to t...
- Thu Jun 25, 2020 5:35 pm
- Forum: PitStop Server
- Topic: Update PitStop Server 2018 to 2020
- Replies: 1
- Views: 3536
Update PitStop Server 2018 to 2020
Hello,
we want to update PitStop Server 2018 to 2020. Do we first need to update to 2019 or can we directly update to 2020?
Thanks in Advance.
we want to update PitStop Server 2018 to 2020. Do we first need to update to 2019 or can we directly update to 2020?
Thanks in Advance.