GET api/User/GetAll

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

GetAllUserResponse
NameDescriptionTypeAdditional information
AllUsersList

Collection of UserModel

None.

ResponseCode

integer

None.

ResponseText

string

None.

Response Formats

application/json, text/json

Sample:
{
  "AllUsersList": [
    {
      "ID": 1,
      "FirstName": "sample string 2",
      "LastName": "sample string 3",
      "EmailAddress": "sample string 4",
      "PhoneNo": "sample string 5",
      "Address": "sample string 6",
      "UserName": "sample string 7",
      "Password": "sample string 8",
      "RoleID": 1,
      "Role": "sample string 9",
      "Language": "sample string 10",
      "Image": "sample string 11",
      "ImageStatus": 1,
      "ParentUserID": 1,
      "IsActive": true,
      "OutletID": 1,
      "Outlet": "sample string 12",
      "AttachedImage": {
        "Base64String": "sample string 1",
        "Extention": "sample string 2"
      },
      "PassResetterCode": "sample string 13",
      "RelatedCustomerID": 1,
      "CreatedAt": "2025-01-22T21:09:09.294172-06:00",
      "UpdatedAt": "2025-01-22T21:09:09.294172-06:00",
      "UpdatedByUserID": 1,
      "UpdatePermission": "sample string 14",
      "UpdatePasswordPermission": "sample string 15",
      "IsDeliveryPerson": true,
      "IsReseller": true
    },
    {
      "ID": 1,
      "FirstName": "sample string 2",
      "LastName": "sample string 3",
      "EmailAddress": "sample string 4",
      "PhoneNo": "sample string 5",
      "Address": "sample string 6",
      "UserName": "sample string 7",
      "Password": "sample string 8",
      "RoleID": 1,
      "Role": "sample string 9",
      "Language": "sample string 10",
      "Image": "sample string 11",
      "ImageStatus": 1,
      "ParentUserID": 1,
      "IsActive": true,
      "OutletID": 1,
      "Outlet": "sample string 12",
      "AttachedImage": {
        "Base64String": "sample string 1",
        "Extention": "sample string 2"
      },
      "PassResetterCode": "sample string 13",
      "RelatedCustomerID": 1,
      "CreatedAt": "2025-01-22T21:09:09.294172-06:00",
      "UpdatedAt": "2025-01-22T21:09:09.294172-06:00",
      "UpdatedByUserID": 1,
      "UpdatePermission": "sample string 14",
      "UpdatePasswordPermission": "sample string 15",
      "IsDeliveryPerson": true,
      "IsReseller": true
    }
  ],
  "ResponseCode": 1,
  "ResponseText": "sample string 2"
}

application/xml, text/xml

Sample:
<GetAllUserResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Response">
  <ResponseCode xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">1</ResponseCode>
  <ResponseText xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">sample string 2</ResponseText>
  <AllUsersList xmlns:d2p1="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">
    <d2p1:UserModel>
      <d2p1:Address>sample string 6</d2p1:Address>
      <d2p1:AttachedImage>
        <d2p1:Base64String>sample string 1</d2p1:Base64String>
        <d2p1:Extention>sample string 2</d2p1:Extention>
      </d2p1:AttachedImage>
      <d2p1:CreatedAt>2025-01-22T21:09:09.294172-06:00</d2p1:CreatedAt>
      <d2p1:EmailAddress>sample string 4</d2p1:EmailAddress>
      <d2p1:FirstName>sample string 2</d2p1:FirstName>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:Image>sample string 11</d2p1:Image>
      <d2p1:ImageStatus>1</d2p1:ImageStatus>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsDeliveryPerson>true</d2p1:IsDeliveryPerson>
      <d2p1:IsReseller>true</d2p1:IsReseller>
      <d2p1:Language>sample string 10</d2p1:Language>
      <d2p1:LastName>sample string 3</d2p1:LastName>
      <d2p1:Outlet>sample string 12</d2p1:Outlet>
      <d2p1:OutletID>1</d2p1:OutletID>
      <d2p1:ParentUserID>1</d2p1:ParentUserID>
      <d2p1:PassResetterCode>sample string 13</d2p1:PassResetterCode>
      <d2p1:Password>sample string 8</d2p1:Password>
      <d2p1:PhoneNo>sample string 5</d2p1:PhoneNo>
      <d2p1:RelatedCustomerID>1</d2p1:RelatedCustomerID>
      <d2p1:Role>sample string 9</d2p1:Role>
      <d2p1:RoleID>1</d2p1:RoleID>
      <d2p1:UpdatePasswordPermission>sample string 15</d2p1:UpdatePasswordPermission>
      <d2p1:UpdatePermission>sample string 14</d2p1:UpdatePermission>
      <d2p1:UpdatedAt>2025-01-22T21:09:09.294172-06:00</d2p1:UpdatedAt>
      <d2p1:UpdatedByUserID>1</d2p1:UpdatedByUserID>
      <d2p1:UserName>sample string 7</d2p1:UserName>
    </d2p1:UserModel>
    <d2p1:UserModel>
      <d2p1:Address>sample string 6</d2p1:Address>
      <d2p1:AttachedImage>
        <d2p1:Base64String>sample string 1</d2p1:Base64String>
        <d2p1:Extention>sample string 2</d2p1:Extention>
      </d2p1:AttachedImage>
      <d2p1:CreatedAt>2025-01-22T21:09:09.294172-06:00</d2p1:CreatedAt>
      <d2p1:EmailAddress>sample string 4</d2p1:EmailAddress>
      <d2p1:FirstName>sample string 2</d2p1:FirstName>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:Image>sample string 11</d2p1:Image>
      <d2p1:ImageStatus>1</d2p1:ImageStatus>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsDeliveryPerson>true</d2p1:IsDeliveryPerson>
      <d2p1:IsReseller>true</d2p1:IsReseller>
      <d2p1:Language>sample string 10</d2p1:Language>
      <d2p1:LastName>sample string 3</d2p1:LastName>
      <d2p1:Outlet>sample string 12</d2p1:Outlet>
      <d2p1:OutletID>1</d2p1:OutletID>
      <d2p1:ParentUserID>1</d2p1:ParentUserID>
      <d2p1:PassResetterCode>sample string 13</d2p1:PassResetterCode>
      <d2p1:Password>sample string 8</d2p1:Password>
      <d2p1:PhoneNo>sample string 5</d2p1:PhoneNo>
      <d2p1:RelatedCustomerID>1</d2p1:RelatedCustomerID>
      <d2p1:Role>sample string 9</d2p1:Role>
      <d2p1:RoleID>1</d2p1:RoleID>
      <d2p1:UpdatePasswordPermission>sample string 15</d2p1:UpdatePasswordPermission>
      <d2p1:UpdatePermission>sample string 14</d2p1:UpdatePermission>
      <d2p1:UpdatedAt>2025-01-22T21:09:09.294172-06:00</d2p1:UpdatedAt>
      <d2p1:UpdatedByUserID>1</d2p1:UpdatedByUserID>
      <d2p1:UserName>sample string 7</d2p1:UserName>
    </d2p1:UserModel>
  </AllUsersList>
</GetAllUserResponse>