Skip to main content
Solved

is there anyway to query an employee based on his email via restApi in acumatica

  • September 28, 2022
  • 2 replies
  • 127 views

i am trying to perform a lookup based on employee email to get the details.is there anyway to query an employee based on his email via restApi in acumatica

Best answer by Fernando Amadoz

@farhanshaik 

Try the following GET Request

http://[Instance]/entity/Default/20.200.001/Employee?$expand=ContactInfo&$filter=ContactInfo/Email eq 'jbecher@revisiontwo.com'

Keep in mind that the system does not restrict the definition of the same email account in multiple Employees, which may lead you to a multiplicity of records in the response

2 replies

Fernando Amadoz
Jr Varsity I
Forum|alt.badge.img+2
  • Jr Varsity I
  • Answer
  • September 28, 2022

@farhanshaik 

Try the following GET Request

http://[Instance]/entity/Default/20.200.001/Employee?$expand=ContactInfo&$filter=ContactInfo/Email eq 'jbecher@revisiontwo.com'

Keep in mind that the system does not restrict the definition of the same email account in multiple Employees, which may lead you to a multiplicity of records in the response


  • Author
  • Freshman II
  • September 30, 2022

Thanks for replying back @Fernando Amadoz ,it did worked for me