Page 1 of 1
Not able to update a status in Quote through api
Posted: Thu Mar 18, 2021 6:05 am
by SyncEzy
Hello,
Greetings..!!
As I am using simPRO Api for add and update data in simPRO. Something is wrong with one on our account
http://XXXXXX.simprosuite.com/.
When I add and update a quote in simPRO through api it will not update status of Quote in simPRO even status id posted in post array.Please check this issue why its not working on this account. All other accounts its working file.
Please assist regarding this issue may be its build issue in this account or any settings in account.
Thanks & Regards,
Hari(Syncezy)
Re: Not able to update a status in Quote through api
Posted: Thu Mar 18, 2021 11:39 pm
by Muqeet
It could be a temporary issue, can you please confirm if you are still experiencing the issue.
Re: Not able to update a status in Quote through api
Posted: Thu Mar 18, 2021 11:45 pm
by SyncEzy
OK , will review and come back, thanks,
Re: Not able to update a status in Quote through api
Posted: Mon Mar 22, 2021 6:30 am
by SyncEzy
Hi
its still not working why this is with only this account all other accounts working fine but in durapump its not updating.
Re: Not able to update a status in Quote through api
Posted: Tue Mar 23, 2021 1:45 am
by Muqeet
I ll take a look and will get back to you.
Re: Not able to update a status in Quote through api
Posted: Thu Mar 25, 2021 12:22 pm
by SyncEzy
Hello Muqeet,
I have tested on my end and my post array are given following:-
Array
(
[ID] => 68585
[Salesperson] => 18
[Status] => 99
[Totals] => Array
(
[MaterialsCost] => Array
(
[Estimate] => 0
)
)
[Site] => 1857
[Forecast] => Array
(
[Percent] => 0
)
[Customer] => 610
[Type] => Service
[Name] => Test Quote DO NOT DELETE
)
you can see Status value is 99 but its not changing in simPRO.
Please let me know and check again why its not working on my end.
Thanks
Re: Not able to update a status in Quote through api
Posted: Mon Jun 14, 2021 12:13 pm
by michelle
Hi Muqeet,
Was this issue ever resolved? I am also having trouble updating the status on a quote. I get a success code 204 but the status remains unchanged on the quote.
Updating the status works on the sandbox so it could be a setting on the company's build?
Thanks
Michelle
Re: Not able to update a status in Quote through api
Posted: Mon Jun 14, 2021 3:54 pm
by michelle
UPDATE in case it helps anyone else with this scenario - after a bit of trial and error it turns out that in order to be able to update the status via the API the status code's "Ignore Status Priority" setting needs to be set to ON in the front end.
Re: Not able to update a status in Quote through api
Posted: Tue Jun 15, 2021 12:05 am
by Muqeet
Thanks Michelle.
For any one who wants to learn more about the setting, please follow the helpguide link below,
https://helpguide.simprogroup.com/Conte ... iggers.htm
(Scroll down, click Advanced.)