Skip to main content
Solved

Issue with Employee ChangeEmployeeID Action

  • October 3, 2022
  • 2 replies
  • 160 views

szur
Freshman I

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.

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
  • October 3, 2022

Thanks! that was the issue!