GET api/Area/GetAllMapObjectByAreaID?areaID={areaID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
areaID

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

APIOrderOnlineResultOfListOfMapObject
NameDescriptionTypeAdditional information
Data

Collection of MapObject

None.

Success

boolean

None.

ErrorMessage

string

None.

ErrorType

OrderOnlineAPIErrorType

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    null,
    {
      "MapObjectID": "beacacf3-9926-4f2d-a35a-84b39389c52d",
      "AreaID": "40771e08-4c0f-4f26-b273-2b87e1cea7bc",
      "MapObjectType": 1,
      "MapObjectName": "sample string 3",
      "Description": "sample string 4",
      "TableType": 1,
      "DoorType": 1,
      "Capacity": 1,
      "TopPosition": 5.0,
      "LeftPosition": 6.0,
      "Width": 1.0,
      "Height": 1.0,
      "TableSelected": "sample string 7",
      "MapObjectNameCustom": "sample string 8",
      "MapObjectNameAreaCustom": "sample string 9",
      "AreaName": "sample string 10",
      "NumberArea": 1,
      "TemplateID": 1,
      "Position": 11,
      "Status": 0,
      "Chairs": [
        {
          "Status": 2
        }
      ],
      "NumChairAvailable": 12,
      "IsSelected": true,
      "IsOldSelected": true,
      "ImportListError": [
        {
          "ColumnIndex": 1,
          "ColumnName": "sample string 2",
          "ErrorType": 3
        },
        {
          "ColumnIndex": 1,
          "ColumnName": "sample string 2",
          "ErrorType": 3
        }
      ],
      "ImportErrorDetail": "sample string 15",
      "ImportRowIndex": 16,
      "Angle": 1.0,
      "DeviceID": "sample string 17",
      "EditMode": 0,
      "CreatedDate": "2025-07-01T21:14:52.6214574+07:00",
      "CreatedBy": "sample string 19",
      "ModifiedDate": "2025-07-01T21:14:52.6214574+07:00",
      "ModifiedBy": "sample string 20",
      "IsGenerate": true,
      "IsSetNullForBranchIdInDeleteObject": true
    }
  ],
  "Success": true,
  "ErrorMessage": "sample string 2",
  "ErrorType": 0,
  "Total": 3,
  "Message": "sample string 4"
}

application/xml, text/xml

Sample:
<APIOrderOnlineResultOfArrayOfMapObject34ouyJuR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/MISA.QLNH.BOBase">
    <d2p1:MapObject i:nil="true" />
    <d2p1:MapObject>
      <d2p1:PropertyChangedEvent xmlns:d4p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
      <d2p1:_CreatedBy>sample string 19</d2p1:_CreatedBy>
      <d2p1:_CreatedDate>2025-07-01T21:14:52.6214574+07:00</d2p1:_CreatedDate>
      <d2p1:_EditMode>None</d2p1:_EditMode>
      <d2p1:_ImportErrorDetail i:nil="true" />
      <d2p1:_ImportRowIndex>0</d2p1:_ImportRowIndex>
      <d2p1:_IsGenerate>true</d2p1:_IsGenerate>
      <d2p1:_IsMasterRow>true</d2p1:_IsMasterRow>
      <d2p1:_IsOverrideImport>true</d2p1:_IsOverrideImport>
      <d2p1:_IsSetNullForBranchIdInDeleteObject>true</d2p1:_IsSetNullForBranchIdInDeleteObject>
      <d2p1:_ListImportErrorDetail xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:_ListImportErrorDetail>
      <d2p1:_ModifiedBy>sample string 20</d2p1:_ModifiedBy>
      <d2p1:_ModifiedDate>2025-07-01T21:14:52.6214574+07:00</d2p1:_ModifiedDate>
      <d2p1:_TableSchema>sample string 18</d2p1:_TableSchema>
      <d2p1:_Angle>1</d2p1:_Angle>
      <d2p1:_AreaID>40771e08-4c0f-4f26-b273-2b87e1cea7bc</d2p1:_AreaID>
      <d2p1:_AreaName>sample string 10</d2p1:_AreaName>
      <d2p1:_Capacity>1</d2p1:_Capacity>
      <d2p1:_Description>sample string 4</d2p1:_Description>
      <d2p1:_DeviceID>sample string 17</d2p1:_DeviceID>
      <d2p1:_DoorType>1</d2p1:_DoorType>
      <d2p1:_Height>1</d2p1:_Height>
      <d2p1:_ImportErrorDetail>sample string 15</d2p1:_ImportErrorDetail>
      <d2p1:_ImportListError>
        <d2p1:ErrorDetail>
          <d2p1:_ColumnIndex>1</d2p1:_ColumnIndex>
          <d2p1:_ColumnName>sample string 2</d2p1:_ColumnName>
          <d2p1:_ErrorType>3</d2p1:_ErrorType>
        </d2p1:ErrorDetail>
        <d2p1:ErrorDetail>
          <d2p1:_ColumnIndex>1</d2p1:_ColumnIndex>
          <d2p1:_ColumnName>sample string 2</d2p1:_ColumnName>
          <d2p1:_ErrorType>3</d2p1:_ErrorType>
        </d2p1:ErrorDetail>
      </d2p1:_ImportListError>
      <d2p1:_ImportRowIndex>16</d2p1:_ImportRowIndex>
      <d2p1:_IsOldSelected>true</d2p1:_IsOldSelected>
      <d2p1:_IsSelected>true</d2p1:_IsSelected>
      <d2p1:_LeftPosition>6</d2p1:_LeftPosition>
      <d2p1:_MapObjectID>beacacf3-9926-4f2d-a35a-84b39389c52d</d2p1:_MapObjectID>
      <d2p1:_MapObjectName>sample string 3</d2p1:_MapObjectName>
      <d2p1:_MapObjectNameAreaCustom>sample string 9</d2p1:_MapObjectNameAreaCustom>
      <d2p1:_MapObjectNameCustom>sample string 8</d2p1:_MapObjectNameCustom>
      <d2p1:_MapObjectType>1</d2p1:_MapObjectType>
      <d2p1:_NumChairAvailable>12</d2p1:_NumChairAvailable>
      <d2p1:_NumberArea>1</d2p1:_NumberArea>
      <d2p1:_Position>11</d2p1:_Position>
      <d2p1:_Status>None</d2p1:_Status>
      <d2p1:_TableSelected>sample string 7</d2p1:_TableSelected>
      <d2p1:_TableType>1</d2p1:_TableType>
      <d2p1:_TemplateID>TemplateOne</d2p1:_TemplateID>
      <d2p1:_TopPosition>5</d2p1:_TopPosition>
      <d2p1:_Width>1</d2p1:_Width>
    </d2p1:MapObject>
  </Data>
  <ErrorMessage>sample string 2</ErrorMessage>
  <ErrorType>None</ErrorType>
  <Message>sample string 4</Message>
  <Success>true</Success>
  <Total>3</Total>
</APIOrderOnlineResultOfArrayOfMapObject34ouyJuR>