GET api/GraphApi/GetEmployeeDetailsWithName?firstName={firstName}&lastName={lastName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
firstName

string

Required

lastName

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of User
NameDescriptionTypeAdditional information
JobTitle

string

None.

SurName

string

None.

GivenName

string

None.

PerNo

string

None.

NTID

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "JobTitle": "sample string 1",
    "SurName": "sample string 2",
    "GivenName": "sample string 3",
    "PerNo": "sample string 4",
    "NTID": "sample string 5"
  },
  {
    "JobTitle": "sample string 1",
    "SurName": "sample string 2",
    "GivenName": "sample string 3",
    "PerNo": "sample string 4",
    "NTID": "sample string 5"
  }
]

text/html

Sample:
[{"JobTitle":"sample string 1","SurName":"sample string 2","GivenName":"sample string 3","PerNo":"sample string 4","NTID":"sample string 5"},{"JobTitle":"sample string 1","SurName":"sample string 2","GivenName":"sample string 3","PerNo":"sample string 4","NTID":"sample string 5"}]

application/xml, text/xml

Sample:
<ArrayOfUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TammaBusinessObjects">
  <User>
    <GivenName>sample string 3</GivenName>
    <JobTitle>sample string 1</JobTitle>
    <NTID>sample string 5</NTID>
    <PerNo>sample string 4</PerNo>
    <SurName>sample string 2</SurName>
  </User>
  <User>
    <GivenName>sample string 3</GivenName>
    <JobTitle>sample string 1</JobTitle>
    <NTID>sample string 5</NTID>
    <PerNo>sample string 4</PerNo>
    <SurName>sample string 2</SurName>
  </User>
</ArrayOfUser>