GET API/Login/LoginUserScreens1/{HotelId}/{UserId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
HotelId

integer

Required

UserId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ModuleList
NameDescriptionTypeAdditional information
ModuleName

string

None.

ModuleId

integer

None.

SubModule

Collection of SubModuleList

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ModuleName": "sample string 1",
    "ModuleId": 2,
    "SubModule": [
      {
        "SubModuleName": "sample string 1",
        "SubModuleId": 2,
        "ChildSubModule": [
          {
            "ChildSubModule": "sample string 1",
            "statename": "sample string 2",
            "ChildSubModuleId": 3
          },
          {
            "ChildSubModule": "sample string 1",
            "statename": "sample string 2",
            "ChildSubModuleId": 3
          }
        ]
      },
      {
        "SubModuleName": "sample string 1",
        "SubModuleId": 2,
        "ChildSubModule": [
          {
            "ChildSubModule": "sample string 1",
            "statename": "sample string 2",
            "ChildSubModuleId": 3
          },
          {
            "ChildSubModule": "sample string 1",
            "statename": "sample string 2",
            "ChildSubModuleId": 3
          }
        ]
      }
    ]
  },
  {
    "ModuleName": "sample string 1",
    "ModuleId": 2,
    "SubModule": [
      {
        "SubModuleName": "sample string 1",
        "SubModuleId": 2,
        "ChildSubModule": [
          {
            "ChildSubModule": "sample string 1",
            "statename": "sample string 2",
            "ChildSubModuleId": 3
          },
          {
            "ChildSubModule": "sample string 1",
            "statename": "sample string 2",
            "ChildSubModuleId": 3
          }
        ]
      },
      {
        "SubModuleName": "sample string 1",
        "SubModuleId": 2,
        "ChildSubModule": [
          {
            "ChildSubModule": "sample string 1",
            "statename": "sample string 2",
            "ChildSubModuleId": 3
          },
          {
            "ChildSubModule": "sample string 1",
            "statename": "sample string 2",
            "ChildSubModuleId": 3
          }
        ]
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfModuleList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HMSApi.Models">
  <ModuleList>
    <ModuleId>2</ModuleId>
    <ModuleName>sample string 1</ModuleName>
    <SubModule>
      <SubModuleList>
        <ChildSubModule>
          <ChildSubModuleList>
            <ChildSubModule>sample string 1</ChildSubModule>
            <ChildSubModuleId>3</ChildSubModuleId>
            <statename>sample string 2</statename>
          </ChildSubModuleList>
          <ChildSubModuleList>
            <ChildSubModule>sample string 1</ChildSubModule>
            <ChildSubModuleId>3</ChildSubModuleId>
            <statename>sample string 2</statename>
          </ChildSubModuleList>
        </ChildSubModule>
        <SubModuleId>2</SubModuleId>
        <SubModuleName>sample string 1</SubModuleName>
      </SubModuleList>
      <SubModuleList>
        <ChildSubModule>
          <ChildSubModuleList>
            <ChildSubModule>sample string 1</ChildSubModule>
            <ChildSubModuleId>3</ChildSubModuleId>
            <statename>sample string 2</statename>
          </ChildSubModuleList>
          <ChildSubModuleList>
            <ChildSubModule>sample string 1</ChildSubModule>
            <ChildSubModuleId>3</ChildSubModuleId>
            <statename>sample string 2</statename>
          </ChildSubModuleList>
        </ChildSubModule>
        <SubModuleId>2</SubModuleId>
        <SubModuleName>sample string 1</SubModuleName>
      </SubModuleList>
    </SubModule>
  </ModuleList>
  <ModuleList>
    <ModuleId>2</ModuleId>
    <ModuleName>sample string 1</ModuleName>
    <SubModule>
      <SubModuleList>
        <ChildSubModule>
          <ChildSubModuleList>
            <ChildSubModule>sample string 1</ChildSubModule>
            <ChildSubModuleId>3</ChildSubModuleId>
            <statename>sample string 2</statename>
          </ChildSubModuleList>
          <ChildSubModuleList>
            <ChildSubModule>sample string 1</ChildSubModule>
            <ChildSubModuleId>3</ChildSubModuleId>
            <statename>sample string 2</statename>
          </ChildSubModuleList>
        </ChildSubModule>
        <SubModuleId>2</SubModuleId>
        <SubModuleName>sample string 1</SubModuleName>
      </SubModuleList>
      <SubModuleList>
        <ChildSubModule>
          <ChildSubModuleList>
            <ChildSubModule>sample string 1</ChildSubModule>
            <ChildSubModuleId>3</ChildSubModuleId>
            <statename>sample string 2</statename>
          </ChildSubModuleList>
          <ChildSubModuleList>
            <ChildSubModule>sample string 1</ChildSubModule>
            <ChildSubModuleId>3</ChildSubModuleId>
            <statename>sample string 2</statename>
          </ChildSubModuleList>
        </ChildSubModule>
        <SubModuleId>2</SubModuleId>
        <SubModuleName>sample string 1</SubModuleName>
      </SubModuleList>
    </SubModule>
  </ModuleList>
</ArrayOfModuleList>