Empower Help

Search:

Display Legacy Contents

IndexBookmarkPrint

Home > Factory Productivity and Scheduling > Advanced Topics > Import Export Data > Empower API > Using The API To Post Data > Dispatching and Undispatching Jobs

Dispatching and Undispatching Jobs


1. Jobs can be Dispatched through the API using the function call


 DispatchJob(JobNo As String)

As a result the request body should be based on the following

<soapenv:Body>
      <web:DispatchJob>
        <web:JobNo> JOB OUR REFERENCE </web:JobNo>
      </web:DispatchJob>
</soapenv:Body>

The Function returns "OK" if the Job is dispatched successfully or if not will return appropriate error messages.


2. Jobs can be Undispatched through the API using the function call



 UndispatchJob(JobNo As String)


As a result the request body should be based on the following

<soapenv:Body>
      <web:UnDispatchJob>
              <web:JobNo>JOB OUR REFERENCE</web:JobNo>
       </web:UnDispatchJob>
   </soapenv:Body>


The Function returns “OK” if the Job is Undispatched successfully or if not will return appropriate error message.


 




For more information, see
Example Code
WDSL Schema

 

 



See also