PANTHEON™ Help

 Toc
 PANTHEON Help - Welcome
[Collapse]PANTHEON
 [Collapse]Guides for PANTHEON
  [Collapse]Guide for PANTHEON
   [Expand]Settings
   [Expand]Orders
   [Expand]Goods
   [Expand]Manufacturing
   [Expand]POS
   [Expand]Service
   [Expand]Financials
   [Expand]Personnel
   [Expand]Analytics
   [Expand]Desktop
   [Expand]Help
   [Expand]Messages and Warnings
   [Collapse]Additional programs
     AddUsers - Adding Database Users
    [Expand]PANTHEON Web Services (PAWS)
    [Expand]Datalab OTOS
    [Expand]Datalab CHRONOS
    [Expand]Datalab ATENA
    [Expand]Datalab Migrator
     Post-Migration Wizard
    [Expand]mobilni Potni Nalogi
    [Expand]Pantheon LX/LT
     Pantheon SHAKE
    [Collapse]PANTHEON Automation Server (PAAS)
     [Expand]Meaning and operation of PAAS
     [Expand]PAAS installation and testing
     [Expand]Description of REST methods for processing tasks
      PAAS Multi server support
      Alternative to REST API
      Default values and PAAS.exe options
      PAAS upgrade
   [Expand]Old products
  [Expand]Guide for PANTHEON Retail
  [Expand]Guide for PANTHEON Vet
  [Expand]Guide for PANTHEON Farming
 [Collapse]User Manuals for PANTHEON
  [Expand]User Manual for PANTHEON
  [Expand]User Manual for PANTHEON Retail
  [Expand]User manual for PANTHEON Vet
  [Expand]User Manual for PANTHEON Farming
[Collapse]PANTHEON Web
 [Collapse]Guides for PANTHEON Web
  [Expand]Guide for PANTHEON Web Light
  [Expand]Guide for PANTHEON Web Terminal
  [Expand]Guide for PANTHEON Web Legal
  [Expand]Old products Archive
 [Collapse]User Manuals for PANTHEON Web
  [Expand]Getting started PANTHEON Web
  [Expand]User Manual for PANTHEON Web Light
  [Expand]User Manual for PANTHEON Web Terminal
  [Expand]User Manual for PANTHEON Web Legal
  [Expand]Old products Archive
[Collapse]PANTHEON Granules
 [Collapse]Guides for PANTHEON Granules
  [Expand]Personnel Granule
  [Expand]Travel Orders Granule
  [Expand]Documents and Tasks Granule
  [Expand]Dashboard Granule
  [Expand]B2B Orders Granule
  [Expand]Field Service Granule
  [Expand]Fixed Assets Inventory Granule
  [Expand]Warehouse Inventory Granule
 [Collapse]User Manuals for PANTHEON Granules
  [Expand]Getting started
  [Expand]Personnel Granule
  [Expand]Travel Orders Granule
  [Expand]Documents and Tasks Granule
  [Expand]B2B Orders Granule
  [Expand]Dashboard Granule
  [Expand]Field Service Granule
  [Expand]Fixed Assets Inventory Granule
  [Expand]Warehouse Inventory Granule
  [Expand]Archive
[Expand]User Site

Load Time: 390.6225 ms
"
  1000001321 | 220995 | 371832 | Updated
Label

Alternative to REST API

89213.gif010380.gif010379.gif010381.gif010411.gif010382.gif010383.gif

 

Clients (like PAWL) with direct SQL Server Database access can use direct access to the ‘tPA_PAASProcessing’ table instead of REST API.

In this chapter, you can read about:

1. How to create a new processing task
2. How to use Task ID from ‘nQId’ field for task monitoring
3. Getting results

 

1. How to create a new processing task?

For creating a new processing task we preform:

INSERT INTO tPA_PAASProcessing (acCommand, acParameters, acRequestedBy, acRunner) VALUES ('Printing', '{<JSON PRINTING PARAM>}', 'YourRequestID', 'YourRunnerString')

In the background, PAAS.exe monitors the ‘tPA_PAASProcessing’ table in all databases and will notify PANTHEON to execute a new task.

You can monitor ‘anStatus’ field to check execution state.

 

2. How to use Task ID from ‘nQId’ field for task monitoring

To use the Task ID from ‘nQId’ field for task monitoring we perform:

SELECT anStatus, acResult FROM tPA_PAASProcessing WHERE nQId=<taskID>

 

3. Getting results

When a task is finished, ‘anStatus’ is 200 or 400.

‘acResult’ then contains a JSON string (with results or error text) that can be decoded to get access to files.

 

 

Related topics:


 

Rate this topic
Was this topic usefull?
Comments
Comment will also bo visible in forum!