GET api/Users/GetUsers

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ServiceResultOfListOfUserObjectDTO
NameDescriptionTypeAdditional information
Success

boolean

None.

ErrorMessage

string

None.

SuccessMessage

string

None.

Result

Collection of UserObjectDTO

None.

StatusCode

HttpStatusCode

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorMessage": "sample string 2",
  "SuccessMessage": "sample string 3",
  "Result": [
    {
      "Id": 1,
      "FirstName": "sample string 2",
      "LastName": "sample string 3",
      "Email": "sample string 4",
      "PrefferedAfdeling": 0,
      "UserRole": "sample string 5",
      "CurrentAfdeling": 0,
      "LatestActivity": "2019-10-15T06:48:04.1239761+02:00",
      "Status": 0,
      "FullName": "sample string 2 sample string 3"
    },
    {
      "Id": 1,
      "FirstName": "sample string 2",
      "LastName": "sample string 3",
      "Email": "sample string 4",
      "PrefferedAfdeling": 0,
      "UserRole": "sample string 5",
      "CurrentAfdeling": 0,
      "LatestActivity": "2019-10-15T06:48:04.1239761+02:00",
      "Status": 0,
      "FullName": "sample string 2 sample string 3"
    }
  ],
  "StatusCode": 100
}

application/xml, text/xml

Sample:
<ServiceResultOfArrayOfUserObjectDTO4o5MNk8u xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/Model.DTOClasses">
    <d2p1:UserObjectDTO>
      <d2p1:CurrentAfdeling>Håndbold</d2p1:CurrentAfdeling>
      <d2p1:Email>sample string 4</d2p1:Email>
      <d2p1:FirstName>sample string 2</d2p1:FirstName>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:LastName>sample string 3</d2p1:LastName>
      <d2p1:LatestActivity>2019-10-15T06:48:04.1239761+02:00</d2p1:LatestActivity>
      <d2p1:PrefferedAfdeling>Håndbold</d2p1:PrefferedAfdeling>
      <d2p1:Status>Aktiv</d2p1:Status>
      <d2p1:UserRole>sample string 5</d2p1:UserRole>
    </d2p1:UserObjectDTO>
    <d2p1:UserObjectDTO>
      <d2p1:CurrentAfdeling>Håndbold</d2p1:CurrentAfdeling>
      <d2p1:Email>sample string 4</d2p1:Email>
      <d2p1:FirstName>sample string 2</d2p1:FirstName>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:LastName>sample string 3</d2p1:LastName>
      <d2p1:LatestActivity>2019-10-15T06:48:04.1239761+02:00</d2p1:LatestActivity>
      <d2p1:PrefferedAfdeling>Håndbold</d2p1:PrefferedAfdeling>
      <d2p1:Status>Aktiv</d2p1:Status>
      <d2p1:UserRole>sample string 5</d2p1:UserRole>
    </d2p1:UserObjectDTO>
  </Result>
  <StatusCode>Continue</StatusCode>
  <Success>true</Success>
  <SuccessMessage>sample string 3</SuccessMessage>
</ServiceResultOfArrayOfUserObjectDTO4o5MNk8u>