GET api/UserManagement/GetContacts?email={email}&departmentId={departmentId}&userType={userType}

Get user's contacts

Request Information

URI Parameters

NameDescriptionTypeAdditional information
email

Contact email id for filtering

string

None.

departmentId

Department id for filtering

integer

Default value is 0

userType

User type for filtering

UserType

None.

Body Parameters

None.

Response Information

Resource Description

List of user's contacts

ResponseOfListOfContactDto
NameDescriptionTypeAdditional information
StatusCode

StatusCode

None.

Message

string

None.

Data

Collection of ContactDto

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1000,
  "Message": "sample string 1",
  "Data": [
    {
      "ProfileId": "ZgB1%2BT1znx9xCbpd4kYQLw%3D%3D",
      "ContactProfileId": "gr4EGFHbcHXRBfsZSNzsRQ%3D%3D",
      "FullName": "sample string 5",
      "FirstName": "sample string 6",
      "MiddleName": "sample string 7",
      "LastName": "sample string 8",
      "DisplayName": "sample string 9",
      "Email": "sample string 10",
      "Company": "sample string 11",
      "JobTitle": "sample string 12",
      "UserType": 1,
      "ContactId": 13,
      "DepartmentId": 14,
      "Thumbnail": "sample string 15",
      "DefaultPhone": "sample string 16",
      "HomePhone": "sample string 17",
      "MobilePhone": "sample string 18",
      "InternetEmail": "sample string 19",
      "HomeEmail": "sample string 20",
      "WorkEmail": "sample string 21",
      "CellMsg": "sample string 22",
      "HomeFax": "sample string 23",
      "WorkPhone": "sample string 24",
      "WorkFax": "sample string 25",
      "Address": "sample string 26",
      "AddressList": [
        {
          "Line1": "sample string 1",
          "Line2": "sample string 2",
          "City": "sample string 3",
          "County": "sample string 4",
          "State": 0,
          "ZipCode": "sample string 5",
          "Country": "sample string 6",
          "Type": 1
        },
        {
          "Line1": "sample string 1",
          "Line2": "sample string 2",
          "City": "sample string 3",
          "County": "sample string 4",
          "State": 0,
          "ZipCode": "sample string 5",
          "Country": "sample string 6",
          "Type": 1
        }
      ],
      "DobDate": "2019-12-14T01:01:49.4924225Z",
      "IsZorroUser": true,
      "Other": "sample string 29",
      "ZorroUserType": 1,
      "Website": "sample string 30"
    },
    {
      "ProfileId": "ZgB1%2BT1znx9xCbpd4kYQLw%3D%3D",
      "ContactProfileId": "gr4EGFHbcHXRBfsZSNzsRQ%3D%3D",
      "FullName": "sample string 5",
      "FirstName": "sample string 6",
      "MiddleName": "sample string 7",
      "LastName": "sample string 8",
      "DisplayName": "sample string 9",
      "Email": "sample string 10",
      "Company": "sample string 11",
      "JobTitle": "sample string 12",
      "UserType": 1,
      "ContactId": 13,
      "DepartmentId": 14,
      "Thumbnail": "sample string 15",
      "DefaultPhone": "sample string 16",
      "HomePhone": "sample string 17",
      "MobilePhone": "sample string 18",
      "InternetEmail": "sample string 19",
      "HomeEmail": "sample string 20",
      "WorkEmail": "sample string 21",
      "CellMsg": "sample string 22",
      "HomeFax": "sample string 23",
      "WorkPhone": "sample string 24",
      "WorkFax": "sample string 25",
      "Address": "sample string 26",
      "AddressList": [
        {
          "Line1": "sample string 1",
          "Line2": "sample string 2",
          "City": "sample string 3",
          "County": "sample string 4",
          "State": 0,
          "ZipCode": "sample string 5",
          "Country": "sample string 6",
          "Type": 1
        },
        {
          "Line1": "sample string 1",
          "Line2": "sample string 2",
          "City": "sample string 3",
          "County": "sample string 4",
          "State": 0,
          "ZipCode": "sample string 5",
          "Country": "sample string 6",
          "Type": 1
        }
      ],
      "DobDate": "2019-12-14T01:01:49.4924225Z",
      "IsZorroUser": true,
      "Other": "sample string 29",
      "ZorroUserType": 1,
      "Website": "sample string 30"
    }
  ]
}

application/xml, text/xml

Sample:
<ResponseOfArrayOfContactDtokvwhp91_P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enTT.ZS.Dto">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/enTT.ZS.Dto.User">
    <d2p1:ContactDto>
      <d2p1:Address>sample string 26</d2p1:Address>
      <d2p1:AddressList>
        <d2p1:AddressDto>
          <d2p1:City>sample string 3</d2p1:City>
          <d2p1:Country>sample string 6</d2p1:Country>
          <d2p1:County>sample string 4</d2p1:County>
          <d2p1:Line1>sample string 1</d2p1:Line1>
          <d2p1:Line2>sample string 2</d2p1:Line2>
          <d2p1:State>AL</d2p1:State>
          <d2p1:Type>Home</d2p1:Type>
          <d2p1:ZipCode>sample string 5</d2p1:ZipCode>
        </d2p1:AddressDto>
        <d2p1:AddressDto>
          <d2p1:City>sample string 3</d2p1:City>
          <d2p1:Country>sample string 6</d2p1:Country>
          <d2p1:County>sample string 4</d2p1:County>
          <d2p1:Line1>sample string 1</d2p1:Line1>
          <d2p1:Line2>sample string 2</d2p1:Line2>
          <d2p1:State>AL</d2p1:State>
          <d2p1:Type>Home</d2p1:Type>
          <d2p1:ZipCode>sample string 5</d2p1:ZipCode>
        </d2p1:AddressDto>
      </d2p1:AddressList>
      <d2p1:CellMsg>sample string 22</d2p1:CellMsg>
      <d2p1:Company>sample string 11</d2p1:Company>
      <d2p1:ContactId>13</d2p1:ContactId>
      <d2p1:ContactProfileId>gr4EGFHbcHXRBfsZSNzsRQ%3D%3D</d2p1:ContactProfileId>
      <d2p1:ContactProfileIdNum>3</d2p1:ContactProfileIdNum>
      <d2p1:DefaultPhone>sample string 16</d2p1:DefaultPhone>
      <d2p1:DepartmentId>14</d2p1:DepartmentId>
      <d2p1:DisplayName>sample string 9</d2p1:DisplayName>
      <d2p1:DobDate>2019-12-14T01:01:49.4924225Z</d2p1:DobDate>
      <d2p1:Email>sample string 10</d2p1:Email>
      <d2p1:FirstName>sample string 6</d2p1:FirstName>
      <d2p1:FullName>sample string 5</d2p1:FullName>
      <d2p1:HomeEmail>sample string 20</d2p1:HomeEmail>
      <d2p1:HomeFax>sample string 23</d2p1:HomeFax>
      <d2p1:HomePhone>sample string 17</d2p1:HomePhone>
      <d2p1:InternetEmail>sample string 19</d2p1:InternetEmail>
      <d2p1:IsZorroUser>true</d2p1:IsZorroUser>
      <d2p1:JobTitle>sample string 12</d2p1:JobTitle>
      <d2p1:LastName>sample string 8</d2p1:LastName>
      <d2p1:MiddleName>sample string 7</d2p1:MiddleName>
      <d2p1:MobilePhone>sample string 18</d2p1:MobilePhone>
      <d2p1:Other>sample string 29</d2p1:Other>
      <d2p1:ProfileId>ZgB1%2BT1znx9xCbpd4kYQLw%3D%3D</d2p1:ProfileId>
      <d2p1:ProfileIdNum>1</d2p1:ProfileIdNum>
      <d2p1:Thumbnail>sample string 15</d2p1:Thumbnail>
      <d2p1:UserType>Internal</d2p1:UserType>
      <d2p1:Website>sample string 30</d2p1:Website>
      <d2p1:WorkEmail>sample string 21</d2p1:WorkEmail>
      <d2p1:WorkFax>sample string 25</d2p1:WorkFax>
      <d2p1:WorkPhone>sample string 24</d2p1:WorkPhone>
      <d2p1:ZorroUserType>ZorroSign</d2p1:ZorroUserType>
    </d2p1:ContactDto>
    <d2p1:ContactDto>
      <d2p1:Address>sample string 26</d2p1:Address>
      <d2p1:AddressList>
        <d2p1:AddressDto>
          <d2p1:City>sample string 3</d2p1:City>
          <d2p1:Country>sample string 6</d2p1:Country>
          <d2p1:County>sample string 4</d2p1:County>
          <d2p1:Line1>sample string 1</d2p1:Line1>
          <d2p1:Line2>sample string 2</d2p1:Line2>
          <d2p1:State>AL</d2p1:State>
          <d2p1:Type>Home</d2p1:Type>
          <d2p1:ZipCode>sample string 5</d2p1:ZipCode>
        </d2p1:AddressDto>
        <d2p1:AddressDto>
          <d2p1:City>sample string 3</d2p1:City>
          <d2p1:Country>sample string 6</d2p1:Country>
          <d2p1:County>sample string 4</d2p1:County>
          <d2p1:Line1>sample string 1</d2p1:Line1>
          <d2p1:Line2>sample string 2</d2p1:Line2>
          <d2p1:State>AL</d2p1:State>
          <d2p1:Type>Home</d2p1:Type>
          <d2p1:ZipCode>sample string 5</d2p1:ZipCode>
        </d2p1:AddressDto>
      </d2p1:AddressList>
      <d2p1:CellMsg>sample string 22</d2p1:CellMsg>
      <d2p1:Company>sample string 11</d2p1:Company>
      <d2p1:ContactId>13</d2p1:ContactId>
      <d2p1:ContactProfileId>gr4EGFHbcHXRBfsZSNzsRQ%3D%3D</d2p1:ContactProfileId>
      <d2p1:ContactProfileIdNum>3</d2p1:ContactProfileIdNum>
      <d2p1:DefaultPhone>sample string 16</d2p1:DefaultPhone>
      <d2p1:DepartmentId>14</d2p1:DepartmentId>
      <d2p1:DisplayName>sample string 9</d2p1:DisplayName>
      <d2p1:DobDate>2019-12-14T01:01:49.4924225Z</d2p1:DobDate>
      <d2p1:Email>sample string 10</d2p1:Email>
      <d2p1:FirstName>sample string 6</d2p1:FirstName>
      <d2p1:FullName>sample string 5</d2p1:FullName>
      <d2p1:HomeEmail>sample string 20</d2p1:HomeEmail>
      <d2p1:HomeFax>sample string 23</d2p1:HomeFax>
      <d2p1:HomePhone>sample string 17</d2p1:HomePhone>
      <d2p1:InternetEmail>sample string 19</d2p1:InternetEmail>
      <d2p1:IsZorroUser>true</d2p1:IsZorroUser>
      <d2p1:JobTitle>sample string 12</d2p1:JobTitle>
      <d2p1:LastName>sample string 8</d2p1:LastName>
      <d2p1:MiddleName>sample string 7</d2p1:MiddleName>
      <d2p1:MobilePhone>sample string 18</d2p1:MobilePhone>
      <d2p1:Other>sample string 29</d2p1:Other>
      <d2p1:ProfileId>ZgB1%2BT1znx9xCbpd4kYQLw%3D%3D</d2p1:ProfileId>
      <d2p1:ProfileIdNum>1</d2p1:ProfileIdNum>
      <d2p1:Thumbnail>sample string 15</d2p1:Thumbnail>
      <d2p1:UserType>Internal</d2p1:UserType>
      <d2p1:Website>sample string 30</d2p1:Website>
      <d2p1:WorkEmail>sample string 21</d2p1:WorkEmail>
      <d2p1:WorkFax>sample string 25</d2p1:WorkFax>
      <d2p1:WorkPhone>sample string 24</d2p1:WorkPhone>
      <d2p1:ZorroUserType>ZorroSign</d2p1:ZorroUserType>
    </d2p1:ContactDto>
  </Data>
  <Message>sample string 1</Message>
  <Result />
  <StatusCode>Success</StatusCode>
</ResponseOfArrayOfContactDtokvwhp91_P>