GET api/Getuserbyname?name={name}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
name

string

Required

Body Parameters

None.

Response Information

Resource Description

responseJson
NameDescriptionTypeAdditional information
message

string

None.

data

userdata

None.

status

string

None.

Response Formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "data": {
    "@odata.context": "sample string 1",
    "@odata.nextLink": "sample string 2",
    "value": [
      {
        "businessPhones": [
          "sample string 1",
          "sample string 2"
        ],
        "displayName": "sample string 1",
        "givenName": "sample string 2",
        "jobTitle": "sample string 3",
        "mail": "sample string 4",
        "mobilePhone": "sample string 5",
        "officeLocation": "sample string 6",
        "preferredLanguage": {},
        "surname": "sample string 8",
        "userPrincipalName": "sample string 9",
        "id": "sample string 10"
      },
      {
        "businessPhones": [
          "sample string 1",
          "sample string 2"
        ],
        "displayName": "sample string 1",
        "givenName": "sample string 2",
        "jobTitle": "sample string 3",
        "mail": "sample string 4",
        "mobilePhone": "sample string 5",
        "officeLocation": "sample string 6",
        "preferredLanguage": {},
        "surname": "sample string 8",
        "userPrincipalName": "sample string 9",
        "id": "sample string 10"
      }
    ]
  },
  "status": "sample string 2"
}

application/xml, text/xml

Sample:
<responseJson xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMSWebAPI.Models">
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/QMSWebAPI.Classes">
    <d2p1:OdataContext>sample string 1</d2p1:OdataContext>
    <d2p1:OdataNextLink>sample string 2</d2p1:OdataNextLink>
    <d2p1:value>
      <d2p1:Value>
        <d2p1:businessPhones xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </d2p1:businessPhones>
        <d2p1:displayName>sample string 1</d2p1:displayName>
        <d2p1:givenName>sample string 2</d2p1:givenName>
        <d2p1:id>sample string 10</d2p1:id>
        <d2p1:jobTitle>sample string 3</d2p1:jobTitle>
        <d2p1:mail>sample string 4</d2p1:mail>
        <d2p1:mobilePhone>sample string 5</d2p1:mobilePhone>
        <d2p1:officeLocation>sample string 6</d2p1:officeLocation>
        <d2p1:preferredLanguage />
        <d2p1:surname>sample string 8</d2p1:surname>
        <d2p1:userPrincipalName>sample string 9</d2p1:userPrincipalName>
      </d2p1:Value>
      <d2p1:Value>
        <d2p1:businessPhones xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </d2p1:businessPhones>
        <d2p1:displayName>sample string 1</d2p1:displayName>
        <d2p1:givenName>sample string 2</d2p1:givenName>
        <d2p1:id>sample string 10</d2p1:id>
        <d2p1:jobTitle>sample string 3</d2p1:jobTitle>
        <d2p1:mail>sample string 4</d2p1:mail>
        <d2p1:mobilePhone>sample string 5</d2p1:mobilePhone>
        <d2p1:officeLocation>sample string 6</d2p1:officeLocation>
        <d2p1:preferredLanguage />
        <d2p1:surname>sample string 8</d2p1:surname>
        <d2p1:userPrincipalName>sample string 9</d2p1:userPrincipalName>
      </d2p1:Value>
    </d2p1:value>
  </data>
  <message>sample string 1</message>
  <status>sample string 2</status>
</responseJson>