PANTHEON™ Help

 Категории
 PANTHEON Help - Welcome
[Collapse]PANTHEON
 [Collapse]PANTHEON упатства
  [Collapse]Guide for PANTHEON
   [Expand]Settings
   [Expand]Orders
   [Expand]Goods
   [Expand]Manufacturing
   [Expand]POS
   [Expand]Service
   [Expand]Financials
   [Expand]Personnel
   [Expand]Analytics
   [Expand]Помощ
   [Expand]Desktop
   [Expand]Messages and Warnings
   [Expand]Старите продукти
   [Collapse]Additional programs
     Добавяне на потребители - Добавяне на потребители в базата данни
    [Expand]PANTHEON Web Services (PAWS)
    [Expand]Datalab CHRONOS
    [Expand]Datalab OTOS
    [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]Ръководство за PANTHEON Търговия
  [Expand]Ръководство за PANTHEON Vet
  [Expand]Ръководство за PANTHEON Фермерство
 [Collapse]PANTHEON потребителски ръководства
  [Expand]Ръководство за потребителя за PANTHEON
  [Expand]Ръководство за потребителя за PANTHEON Retail
  [Expand]Ръководство за потребителя за PANTHEON Vet
  [Expand]Ръководство за потребителя за PANTHEON Farming
[Collapse]PANTHEON Web
 [Collapse]PANTHEON Web Guides
  [Expand]Ръководство за PANTHEON Web Light
  [Expand]Ръководство за PANTHEON Уеб Терминал
  [Expand]Ръководство за PANTHEON Web Legal
  [Expand]Архив на стари продукти
 [Collapse]PANTHEON Web User Manuals
  [Expand]Започване на PANTHEON Web
  [Expand]User Manual for PANTHEON Web Light
   Ръководство за потребителя за PANTHEON Web Terminal
  [Expand]Ръководство за потребителя за PANTHEON Web Legal
  [Expand]Архив на стари продукти
[Collapse]PANTHEON Гранула
 [Collapse]Ръководство за PANTHEON Гранули
  [Expand]Гранула за служители
  [Expand]Пътни заповеди Гранула
  [Expand]Гранула за документи и задачи
  [Expand]Гранула Табло
  [Expand]Гранула за B2B поръчки
  [Expand]Гранула за обслужване на клиент
  [Expand]Инвентаризация на дълготрайни активи
  [Expand]Гранула за складови наличности
 [Collapse]PANTHEON Granules
   Започване
   Using PANTHEON Granules at Tecta, a fictional company
  [Expand]PANTHEON Granules and activation
  [Expand]PANTHEON Granule Work records
  [Expand]PANTHEON Granule Travel orders
  [Expand]PANTHEON Granule Documents and Tasks
  [Expand]PANTHEON Granule B2B orders
  [Expand]PANTHEON Granule Dashboard
   PANTHEON Granules - FAQ
  [Expand]Полеви сервизен гранул
  [Expand]Инвентаризация на дълготрайни активи
  [Expand]Инвентаризация на склада Гранула
   Архив
[Expand]Потребителски сайт

Load Time: 859,3914 ms
"
  1000001321 | 220995 | 407830 | Localized
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:


 

Оценете темата
Темата беше ли ви полезна?
Коментар
Вашият коментар ще бъде видим и във форума!