Skip to main content
Solved

Issue with Employee ChangeEmployeeID Action


szur
Freshman I
  • Freshman I
  • 3 replies

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

Best answer by Fernando Amadoz

@szur 

the Payload from your request is correct.

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

View original
Did this topic help you find an answer to your question?

2 replies

Fernando Amadoz
Jr Varsity I
Forum|alt.badge.img+2

@szur 

the Payload from your request is correct.

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


szur
Freshman I
  • Author
  • Freshman I
  • 3 replies
  • October 3, 2022

Thanks! that was the issue!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings