GET api/App/Floors/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of FloorsTB
NameDescriptionTypeAdditional information
Id

integer

None.

Floor

string

None.

CourtId

integer

None.

isActive

boolean

None.

Number

string

None.

CourtsTB

CourtsTB

None.

HallsTBs

Collection of HallsTB

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": 1,
    "Floor": "sample string 2",
    "CourtId": 1,
    "isActive": true,
    "Number": "sample string 4",
    "CourtsTB": {
      "$id": "2",
      "Id": 1,
      "Court": "sample string 2",
      "isActive": true,
      "FloorsTBs": [
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        }
      ],
      "WorkersTBs": [
        {
          "$id": "3",
          "Id": 1,
          "Name": "sample string 2",
          "Email": "sample string 3",
          "Phone": "sample string 4",
          "Password": "sample string 5",
          "isActive": true,
          "CourtId": 1,
          "CourtsTB": {
            "$ref": "2"
          },
          "NotificationTBs": [
            {
              "$id": "4",
              "Id": 1,
              "Noification": "sample string 2",
              "isActive": true,
              "UserId": 1,
              "Date": "2019-02-20T05:26:58.4211279-06:00",
              "StrDate": "sample string 4",
              "HallId": 1,
              "WorkerId": 1,
              "HallsTB": {
                "$id": "5",
                "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": "6",
                    "Id": 1,
                    "UserId": 1,
                    "HallId": 1,
                    "isOpen": true,
                    "HallsTB": {
                      "$ref": "5"
                    },
                    "UsersTB": {
                      "$id": "7",
                      "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-02-20T05:26:58.4211279-06:00",
                      "Membership": 1,
                      "AdvertisementTBs": [
                        {
                          "$id": "8",
                          "Id": 1,
                          "Title": "sample string 2",
                          "Description": "sample string 3",
                          "Date": "2019-02-20T05:26:58.4211279-06: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": "9",
                            "Id": 1,
                            "CategoryAr": "sample string 2",
                            "ParentId": 1,
                            "CategoryEn": "sample string 3",
                            "Img": "sample string 4",
                            "LastChild": 5,
                            "MainCategory": 6,
                            "AdvertisementTBs": [
                              {
                                "$ref": "8"
                              },
                              {
                                "$ref": "8"
                              }
                            ]
                          },
                          "CityTB": {
                            "$id": "10",
                            "Id": 1,
                            "City": "sample string 2",
                            "CountryFk": 1,
                            "CityAr": "sample string 3",
                            "AdvertisementTBs": [
                              {
                                "$ref": "8"
                              },
                              {
                                "$ref": "8"
                              }
                            ],
                            "UsersTBs": [
                              {
                                "$ref": "7"
                              },
                              {
                                "$ref": "7"
                              }
                            ]
                          },
                          "StatusTB": {
                            "$id": "11",
                            "Id": 1,
                            "Status": "sample string 2",
                            "AdvertisementTBs": [
                              {
                                "$ref": "8"
                              },
                              {
                                "$ref": "8"
                              }
                            ],
                            "BookingTBs": [
                              {
                                "$id": "12",
                                "Id": 1,
                                "UserId": 1,
                                "ItemId": 1,
                                "StatusFK": 1,
                                "preprice": 1.1,
                                "Date": "2019-02-20T05:26:58.4211279-06: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": "11"
                                },
                                "UsersTB": {
                                  "$ref": "7"
                                },
                                "StrDate": "sample string 9"
                              },
                              {
                                "$ref": "12"
                              }
                            ]
                          },
                          "UsersTB": {
                            "$ref": "7"
                          }
                        },
                        {
                          "$ref": "8"
                        }
                      ],
                      "BookingTBs": [
                        {
                          "$ref": "12"
                        },
                        {
                          "$ref": "12"
                        }
                      ],
                      "ChatTBs": [
                        {
                          "$id": "13",
                          "Id": 1,
                          "From": 1,
                          "To": 1,
                          "Msg": "sample string 2",
                          "Date": "2019-02-20T05:26:58.4211279-06:00",
                          "UsersTB": {
                            "$ref": "7"
                          },
                          "UsersTB1": {
                            "$ref": "7"
                          }
                        },
                        {
                          "$ref": "13"
                        }
                      ],
                      "ChatTBs1": [
                        {
                          "$ref": "13"
                        },
                        {
                          "$ref": "13"
                        }
                      ],
                      "CityTB": {
                        "$ref": "10"
                      },
                      "CountryTB": {
                        "$id": "14",
                        "Id": 1,
                        "Country": "sample string 2",
                        "Flag": "sample string 3",
                        "isActive": true,
                        "CountryAr": "sample string 5",
                        "UsersTBs": [
                          {
                            "$ref": "7"
                          },
                          {
                            "$ref": "7"
                          }
                        ]
                      },
                      "FavoritesTBs": [
                        {
                          "$id": "15",
                          "Id": 1,
                          "UserId": 1,
                          "AdvertiseId": 1,
                          "UsersTB": {
                            "$ref": "7"
                          },
                          "UsersTB1": {
                            "$ref": "7"
                          }
                        },
                        {
                          "$ref": "15"
                        }
                      ],
                      "FavoritesTBs1": [
                        {
                          "$ref": "15"
                        },
                        {
                          "$ref": "15"
                        }
                      ],
                      "FilesTBs": [
                        {
                          "$id": "16",
                          "Id": 1,
                          "File": "sample string 2",
                          "Image": "sample string 3",
                          "UserId": 4,
                          "ItemId": 1,
                          "UsersTB": {
                            "$ref": "7"
                          },
                          "UsersTB1": {
                            "$ref": "7"
                          }
                        },
                        {
                          "$ref": "16"
                        }
                      ],
                      "FilesTBs1": [
                        {
                          "$ref": "16"
                        },
                        {
                          "$ref": "16"
                        }
                      ],
                      "LocationTBs": [
                        {
                          "$id": "17",
                          "Id": 1,
                          "Location": "sample string 2",
                          "UserId": 1,
                          "UsersTB": {
                            "$ref": "7"
                          }
                        },
                        {
                          "$ref": "17"
                        }
                      ],
                      "MessagesTBs": [
                        {
                          "$id": "18",
                          "Id": 1,
                          "ChatUserId": 1,
                          "SharedId": 1,
                          "LastMessage": "sample string 2",
                          "Date": "2019-02-20T05:26:58.4211279-06:00",
                          "UsersTB": {
                            "$ref": "7"
                          },
                          "UsersTB1": {
                            "$ref": "7"
                          }
                        },
                        {
                          "$ref": "18"
                        }
                      ],
                      "MessagesTBs1": [
                        {
                          "$ref": "18"
                        },
                        {
                          "$ref": "18"
                        }
                      ],
                      "MyClinicTBs": [
                        {
                          "$id": "19",
                          "Id": 1,
                          "Clinc": "sample string 2",
                          "UserId": 1,
                          "ItemId": 1,
                          "UsersTB": {
                            "$ref": "7"
                          },
                          "UsersTB1": {
                            "$ref": "7"
                          }
                        },
                        {
                          "$ref": "19"
                        }
                      ],
                      "MyClinicTBs1": [
                        {
                          "$ref": "19"
                        },
                        {
                          "$ref": "19"
                        }
                      ],
                      "SpecialistsTBs": [
                        {
                          "$id": "20",
                          "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": "7"
                          }
                        },
                        {
                          "$ref": "20"
                        }
                      ],
                      "TypeTB": {
                        "$id": "21",
                        "Id": 1,
                        "Type": "sample string 2",
                        "TypeAr": "sample string 3",
                        "UsersTBs": [
                          {
                            "$ref": "7"
                          },
                          {
                            "$ref": "7"
                          }
                        ]
                      },
                      "UserHallsTBs": [
                        {
                          "$ref": "6"
                        },
                        {
                          "$ref": "6"
                        }
                      ]
                    }
                  },
                  {
                    "$ref": "6"
                  }
                ],
                "FloorsTB": {
                  "$ref": "1"
                },
                "NotificationTBs": [
                  {
                    "$ref": "4"
                  },
                  {
                    "$ref": "4"
                  }
                ]
              },
              "WorkersTB": {
                "$ref": "3"
              }
            },
            {
              "$ref": "4"
            }
          ]
        },
        {
          "$ref": "3"
        }
      ]
    },
    "HallsTBs": [
      {
        "$ref": "5"
      },
      {
        "$ref": "5"
      }
    ]
  },
  {
    "$ref": "1"
  }
]