Quick API questions

Information and support for EnvisaLink modules.

Moderators: EyezOnRich, GrandWizard

Post Reply
pounder
Posts: 71
Joined: Sat Oct 20, 2012 10:34 pm
Location: Niagara Region, Ontario Canada

Quick API questions

Post by pounder »

Starting a new thread for this since these questions seem to have been missed in the other thread :

1) is there a way to have the partition names show in the long format status like the zone names do (for populating soft keypads based on the portal settings)

2) is there a way to specify the partition when sending pgm commands - not in the description but you can do it from the portal.
Jon Pounder
EyezOnRich
Posts: 134
Joined: Wed Nov 17, 2010 11:53 am

Re: Quick API questions

Post by EyezOnRich »

Hi

Sorry I missed your questions before.

We really just did the Quick API as a stop-gap until we released the TPI. We were hoping people would move to that instead. Although I do understand that there are some advantages to this approach.

1. I've added that for you.

2. For the command just append &partition=x onto your request. **note the index is off by one. i.e. if you want partition 1 put in 0, if you want partition 2 put in 1 etc.

Hope that helps and let me know if there are any problems.

Rich
pounder
Posts: 71
Joined: Sat Oct 20, 2012 10:34 pm
Location: Niagara Region, Ontario Canada

Re: Quick API questions

Post by pounder »

ok thanks - I have not had a chance to test it yet, but item 1 does allow mikep to get that information for his app now without the user having to enter it.
Jon Pounder
Post Reply