GET api/App/UserHalls/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of HallsTB
NameDescriptionTypeAdditional information
isOpen

boolean

None.

Floor

string

None.

Court

string

None.

isSet

boolean

None.

Id

integer

None.

Hall

string

None.

FloorId

integer

None.

Start

string

None.

isActive

boolean

None.

isManul

boolean

None.

UserHallsTBs

Collection of UserHallsTB

None.

FloorsTB

FloorsTB

None.

NotificationTBs

Collection of NotificationTB

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "isOpen": true,
    "Floor": "sample string 2",
    "Court": "sample string 3",
    "isSet": true,
    "Id": 5,
    "Hall": "sample string 6",
    "FloorId": 1,
    "Start": "sample string 7",
    "isActive": true,
    "isManul": true,
    "UserHallsTBs": [
      {
        "$id": "2",
        "Id": 1,
        "UserId": 1,
        "HallId": 1,
        "isOpen": true,
        "HallsTB": {
          "$ref": "1"
        },
        "UsersTB": {
          "$id": "3",
          "id": 1,
          "name": "sample string 2",
          "email": "sample string 3",
          "password": "sample string 4",
          "type": 1,
          "list1": 1,
          "list2": 1,
          "image": "sample string 5",
          "pr": 1,
          "isActive": true,
          "Mobile": "sample string 6",
          "ConfirmCode": "sample string 7",
          "RegistrationId": "sample string 8",
          "PositionFk": 1,
          "CityFk": 1,
          "isBlocked": true,
          "isIos": true,
          "Work": "sample string 9",
          "hasMsg": 10,
          "PlanId": 1,
          "TypeId": 1,
          "CountryId": 1,
          "Long": "sample string 11",
          "Lat": "sample string 12",
          "Facebook": "sample string 13",
          "Twitter": "sample string 14",
          "Youtube": "sample string 15",
          "Instagram": "sample string 16",
          "Link": "sample string 17",
          "Description": "sample string 18",
          "Views": 1,
          "Img2": "sample string 19",
          "Img3": "sample string 20",
          "Img4": "sample string 21",
          "SpecFK": 1,
          "DescriptionAr": "sample string 22",
          "isAdmin": true,
          "Quid": "sample string 23",
          "Contract": 1,
          "Gender": 1,
          "openNotification": true,
          "Package": 1,
          "EndDate": "2019-07-18T06:22:30.7582945-05:00",
          "Membership": 1,
          "AdvertisementTBs": [
            {
              "$id": "4",
              "Id": 1,
              "Title": "sample string 2",
              "Description": "sample string 3",
              "Date": "2019-07-18T06:22:30.7582945-05:00",
              "DistrictFK": 1,
              "CityFk": 1,
              "Views": 4,
              "Counter": "sample string 5",
              "Model": "sample string 6",
              "StatusFk": 1,
              "InColor": "sample string 7",
              "OutColor": "sample string 8",
              "isMobile": true,
              "Img1": "sample string 9",
              "Img2": "sample string 10",
              "Img3": "sample string 11",
              "Img4": "sample string 12",
              "Img5": "sample string 13",
              "Img6": "sample string 14",
              "Img7": "sample string 15",
              "Img8": "sample string 16",
              "Price": 1.1,
              "UserId": 1,
              "isActive": true,
              "CategoryFK": 1,
              "PrePrice": 1.1,
              "Location": "sample string 18",
              "CategoryTB": {
                "$id": "5",
                "Id": 1,
                "CategoryAr": "sample string 2",
                "ParentId": 1,
                "CategoryEn": "sample string 3",
                "Img": "sample string 4",
                "LastChild": 5,
                "MainCategory": 6,
                "AdvertisementTBs": [
                  {
                    "$ref": "4"
                  },
                  {
                    "$ref": "4"
                  }
                ]
              },
              "CityTB": {
                "$id": "6",
                "Id": 1,
                "City": "sample string 2",
                "CountryFk": 1,
                "CityAr": "sample string 3",
                "AdvertisementTBs": [
                  {
                    "$ref": "4"
                  },
                  {
                    "$ref": "4"
                  }
                ],
                "UsersTBs": [
                  {
                    "$ref": "3"
                  },
                  {
                    "$ref": "3"
                  }
                ]
              },
              "StatusTB": {
                "$id": "7",
                "Id": 1,
                "Status": "sample string 2",
                "AdvertisementTBs": [
                  {
                    "$ref": "4"
                  },
                  {
                    "$ref": "4"
                  }
                ],
                "BookingTBs": [
                  {
                    "$id": "8",
                    "Id": 1,
                    "UserId": 1,
                    "ItemId": 1,
                    "StatusFK": 1,
                    "preprice": 1.1,
                    "Date": "2019-07-18T06:22:30.7582945-05:00",
                    "isActive": true,
                    "Name": "sample string 2",
                    "DateStr": "sample string 3",
                    "Phone": "sample string 4",
                    "PatientStatus": "sample string 5",
                    "NationalId": "sample string 6",
                    "Type": 1,
                    "Hash": "sample string 7",
                    "inv_id": 1,
                    "ClinicName": "sample string 8",
                    "isSend": true,
                    "StatusTB": {
                      "$ref": "7"
                    },
                    "UsersTB": {
                      "$ref": "3"
                    },
                    "StrDate": "sample string 9"
                  },
                  {
                    "$ref": "8"
                  }
                ]
              },
              "UsersTB": {
                "$ref": "3"
              }
            },
            {
              "$ref": "4"
            }
          ],
          "BookingTBs": [
            {
              "$ref": "8"
            },
            {
              "$ref": "8"
            }
          ],
          "ChatTBs": [
            {
              "$id": "9",
              "Id": 1,
              "From": 1,
              "To": 1,
              "Msg": "sample string 2",
              "Date": "2019-07-18T06:22:30.7582945-05:00",
              "UsersTB": {
                "$ref": "3"
              },
              "UsersTB1": {
                "$ref": "3"
              }
            },
            {
              "$ref": "9"
            }
          ],
          "ChatTBs1": [
            {
              "$ref": "9"
            },
            {
              "$ref": "9"
            }
          ],
          "CityTB": {
            "$ref": "6"
          },
          "CountryTB": {
            "$id": "10",
            "Id": 1,
            "Country": "sample string 2",
            "Flag": "sample string 3",
            "isActive": true,
            "CountryAr": "sample string 5",
            "UsersTBs": [
              {
                "$ref": "3"
              },
              {
                "$ref": "3"
              }
            ]
          },
          "FavoritesTBs": [
            {
              "$id": "11",
              "Id": 1,
              "UserId": 1,
              "AdvertiseId": 1,
              "UsersTB": {
                "$ref": "3"
              },
              "UsersTB1": {
                "$ref": "3"
              }
            },
            {
              "$ref": "11"
            }
          ],
          "FavoritesTBs1": [
            {
              "$ref": "11"
            },
            {
              "$ref": "11"
            }
          ],
          "FilesTBs": [
            {
              "$id": "12",
              "Id": 1,
              "File": "sample string 2",
              "Image": "sample string 3",
              "UserId": 4,
              "ItemId": 1,
              "UsersTB": {
                "$ref": "3"
              },
              "UsersTB1": {
                "$ref": "3"
              }
            },
            {
              "$ref": "12"
            }
          ],
          "FilesTBs1": [
            {
              "$ref": "12"
            },
            {
              "$ref": "12"
            }
          ],
          "LocationTBs": [
            {
              "$id": "13",
              "Id": 1,
              "Location": "sample string 2",
              "UserId": 1,
              "UsersTB": {
                "$ref": "3"
              }
            },
            {
              "$ref": "13"
            }
          ],
          "MessagesTBs": [
            {
              "$id": "14",
              "Id": 1,
              "ChatUserId": 1,
              "SharedId": 1,
              "LastMessage": "sample string 2",
              "Date": "2019-07-18T06:22:30.7582945-05:00",
              "UsersTB": {
                "$ref": "3"
              },
              "UsersTB1": {
                "$ref": "3"
              }
            },
            {
              "$ref": "14"
            }
          ],
          "MessagesTBs1": [
            {
              "$ref": "14"
            },
            {
              "$ref": "14"
            }
          ],
          "MyClinicTBs": [
            {
              "$id": "15",
              "Id": 1,
              "Clinc": "sample string 2",
              "UserId": 1,
              "ItemId": 1,
              "UsersTB": {
                "$ref": "3"
              },
              "UsersTB1": {
                "$ref": "3"
              }
            },
            {
              "$ref": "15"
            }
          ],
          "MyClinicTBs1": [
            {
              "$ref": "15"
            },
            {
              "$ref": "15"
            }
          ],
          "SpecialistsTBs": [
            {
              "$id": "16",
              "Id": 1,
              "Name": "sample string 2",
              "Position": "sample string 3",
              "Desc": "sample string 4",
              "UserId": 1,
              "Image": "sample string 5",
              "Email": "sample string 6",
              "UsersTB": {
                "$ref": "3"
              }
            },
            {
              "$ref": "16"
            }
          ],
          "TypeTB": {
            "$id": "17",
            "Id": 1,
            "Type": "sample string 2",
            "TypeAr": "sample string 3",
            "UsersTBs": [
              {
                "$ref": "3"
              },
              {
                "$ref": "3"
              }
            ]
          },
          "UserHallsTBs": [
            {
              "$ref": "2"
            },
            {
              "$ref": "2"
            }
          ]
        }
      },
      {
        "$ref": "2"
      }
    ],
    "FloorsTB": {
      "$id": "18",
      "Id": 1,
      "Floor": "sample string 2",
      "CourtId": 1,
      "isActive": true,
      "Number": "sample string 4",
      "CourtsTB": {
        "$id": "19",
        "Id": 1,
        "Court": "sample string 2",
        "isActive": true,
        "FloorsTBs": [
          {
            "$ref": "18"
          },
          {
            "$ref": "18"
          }
        ],
        "WorkersTBs": [
          {
            "$id": "20",
            "Id": 1,
            "Name": "sample string 2",
            "Email": "sample string 3",
            "Phone": "sample string 4",
            "Password": "sample string 5",
            "isActive": true,
            "CourtId": 1,
            "CourtsTB": {
              "$ref": "19"
            },
            "NotificationTBs": [
              {
                "$id": "21",
                "Id": 1,
                "Noification": "sample string 2",
                "isActive": true,
                "UserId": 1,
                "Date": "2019-07-18T06:22:30.7582945-05:00",
                "StrDate": "sample string 4",
                "HallId": 1,
                "WorkerId": 1,
                "HallsTB": {
                  "$ref": "1"
                },
                "WorkersTB": {
                  "$ref": "20"
                }
              },
              {
                "$ref": "21"
              }
            ]
          },
          {
            "$ref": "20"
          }
        ]
      },
      "HallsTBs": [
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        }
      ]
    },
    "NotificationTBs": [
      {
        "$ref": "21"
      },
      {
        "$ref": "21"
      }
    ]
  },
  {
    "$ref": "1"
  }
]