Solved

Issue with Employee ChangeEmployeeID Action

  • 3 October 2022
  • 2 replies
  • 89 views

Userlevel 1

I’m struggling getting the Employee ChangeEmployeeID Action to work.  In Postman I’ve setup the following:

Verb: PUT

URL: <host>/entity/Default/20.200.001/employee/ChangeEmployeeID

BODY:

{

"entity": {"EmployeeID": {"value": "{OldEmployeeID}"}},

"parameters": {"EmployeeID": {"value": "{NewEmployeeID}"}}

}


I’m receiving the following error: 

"Specified argument was out of the range of valid values. Parameter name: Invalid uri structure"

Does anyone have a working payload for this action?


Thanks in advance

icon

Best answer by Fernando Amadoz 3 October 2022, 22:22

View original

2 replies

Userlevel 5
Badge +2

@szur 

the Payload from your request is correct.

The issue is on the verb. It should be POST instead.

Userlevel 1

Thanks! that was the issue!

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved