Mitel Forums - The Unofficial Source

Mitel Forums => Mitel MiVoice Business/MCD/3300 => Topic started by: ritztech on September 08, 2020, 04:43:57 PM

Title: miVB API ? .... or update fields via http POST or backendDB MIVB
Post by: ritztech on September 08, 2020, 04:43:57 PM
i wanted  to see if  theres  a  way to edit  say system speed calls by not using the GUI option due to we want  to dynamically change  things based on other system integrations.


method 1. i thought  maybe  use a http Post method  (testing via postman) and  then blended  into   a  nodejs or script based on another app  on premise.

method 2.  look at berkley DB update/insert method.
Title: Re: miVB API ? .... or update fields via http POST or backendDB MIVB
Post by: Dogbreath on September 09, 2020, 10:55:39 AM
Many of the forms can be updated by scheduled CSV import.
Title: Re: miVB API ? .... or update fields via http POST or backendDB MIVB
Post by: ritztech on September 09, 2020, 01:03:31 PM
could that be a csv from an automated script.. like api/import



https://10.1.1.1/goform/uwi_ProcessFormSubmit


Code: [Select]
--data-urlencode 'ActionArgs=0=1144|1=2222|2=0|3=1|4=|'
--data-urlencode 'ApplicationID=GenericForms'
--data-urlencode 'FunctionID=FI_Read'
--data-urlencode 'FunctionArgs=System+Speed+Call+Assignment~GDM'
--data-urlencode 'ActionID=Action_ID_Change_Update'



trying to decipher how the berkley DB files i dont even  know if i  can do Insert/update from Command line


i have a part of a new customer  check-in process temp do x / rinse repeat  maybe 100 times a  day to automate.

id hate to go in and puppeteer /selenium this. cause  we want to do this realtime.
Title: Re: miVB API ? .... or update fields via http POST or backendDB MIVB
Post by: jhaynes059 on September 10, 2020, 04:25:08 PM
Mitel Open Interface Gateway is what you need. You can update, insert and delete, COR, COS, speed dials, phone directory entries. I implemented the soap[ and rest calls from Powershell.

https://www.mitel.com/document-center/applications/collaboration/open-integration-gateway/41sp4/en/oig-developer-guide-data-access-service
Title: Re: miVB API ? .... or update fields via http POST or backendDB MIVB
Post by: ritztech on September 20, 2020, 04:07:23 PM
ohhh thats cool

is  there a fee/lic do this method
Title: Re: miVB API ? .... or update fields via http POST or backendDB MIVB
Post by: ritztech on September 20, 2020, 04:15:36 PM
ohh reading further  so i cant do this directly i would have to get a OIG in  front  of it (i see  OIG is postgres  sql) so is the  real magic SDS... i was hoping i can pull from the miVB directly since we have 100s in the field for various customers.

i doubt snmpsets methods are in place lol.

Title: Re: miVB API ? .... or update fields via http POST or backendDB MIVB
Post by: ritztech on September 30, 2020, 03:12:55 PM
is there any import API scripts via POST method that can be done

this is the closest ive gotten

https://10.1.1.1/goform/uwi_ProcessFormSubmit

Code: [Select]
--data-urlencode 'ActionArgs=0=1144|1=2222|2=0|3=1|4=|'
--data-urlencode 'ApplicationID=GenericForms'
--data-urlencode 'FunctionID=FI_Read'
--data-urlencode 'FunctionArgs=System+Speed+Call+Assignment~GDM'
--data-urlencode 'ActionID=Action_ID_Change_Update'