AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • In-Person Gatherings
    • Power BI Workshop
    • Podcast
    • Rolodex
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AUG Forums
Everything Else
LockOut and SnapSho...
 
Notifications
Clear all

Questions LockOut and SnapShot API automation

 
Everything Else
Last Post by Laurent Malley 3 years ago
3 Posts
2 Users
1 Reactions
1,595 Views
RSS
Laurent Malley
Posts: 6
 Laurent Malley
Topic starter
March 13, 2023 6:18 am
(@lmalley)
Active Member
Joined: 4 years ago

Hello,

 

I'm trying to automate SnapShot creation with API.

I have an issue at the very first step when calling the 'scheduleLockoutCommand' action on SM203510 screen.

Although I receive the "204 : The operation that has been initiated by the action has completed or was not created." code, Acumatica does not enter in maintenance mode.

 

I have the same with the 'exportSnapshotCommand' action on SM203520 screen: code 204 but no snapshot created.

 

Does anyone tried this kind of API calls ?

 

Any help is welcome.


Topic Tags
API SnapShot Lockout
2 Replies
Stewart Williams
Posts: 9
 Stewart Williams
March 13, 2023 6:43 pm
(@stewart-williams)
Active Member
Joined: 4 years ago

Hi Laurent,

When you initiate a lockout the system will wait a minimum of 20 minutes before locking. Is it possible it is accepting the lockout command, but is then in the 20 minute grace period, before locking? I am quite interested in using the API calls to do this as well, so I can pair it with a Microsoft Flow to automate the process.

If I get some spare time, I'll have a look on my side. I already have Flows built for other functions through the API, but hadn't considered using it for this.

Cheers.


Reply
Laurent Malley
Posts: 6
 Laurent Malley
Topic starter
March 15, 2023 4:12 am
(@lmalley)
Active Member
Joined: 4 years ago

Hi Stewart,

I'm working on a french edition of Acumatica, called Flex. With this release, the manual lockout is immediat, but it doesn't change anything here.

The weird thing I've noticed is that as for all actions, you still have to pass an entity ID, which is pointless.

For instance this array doesn't throw any error :

{"Entity":{"anyKey":{"value":"anyValue"}},"parameters":{"Reason":{"value":"test"}}}

 

Still searching, I'll post here any good results I'll find.

Thanks.

 


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Topic Tags:  API SnapShot Lockout (1) ,
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,532 Topics
  • 11 K Posts
  • 54 Online
  • 2,420 Members
Our newest member: Katerina Pawlowski
Latest Post: Can't export GI's to excel that contain the FATrans DAC after upgrade to 2025 R1 in less than 25 min
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

 No online members at the moment

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×