POST api/Table/GetsyncTables
Request Information
URI Parameters
None.
Body Parameters
GetBaseTablesRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| TableName | string |
None. |
|
| BusinessAddressId | integer |
None. |
|
| BusinessAddressIds | Collection of integer |
None. |
|
| listofsync | Collection of Storedata |
None. |
|
| Id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"TableName": "sample string 1",
"BusinessAddressId": 1,
"BusinessAddressIds": [
1,
1
],
"listofsync": [
{
"TableName": "sample string 1",
"LastSync": "2026-03-20T14:26:06.4697749+00:00"
},
{
"TableName": "sample string 1",
"LastSync": "2026-03-20T14:26:06.4697749+00:00"
}
],
"Id": 1
}
application/xml, text/xml
Sample:
<GetBaseTablesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAG.ReqResp">
<Id>1</Id>
<BusinessAddressId>1</BusinessAddressId>
<BusinessAddressIds xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:long>1</d2p1:long>
<d2p1:long>1</d2p1:long>
</BusinessAddressIds>
<TableName>sample string 1</TableName>
<listofsync>
<Storedata>
<LastSync>2026-03-20T14:26:06.4697749+00:00</LastSync>
<TableName>sample string 1</TableName>
</Storedata>
<Storedata>
<LastSync>2026-03-20T14:26:06.4697749+00:00</LastSync>
<TableName>sample string 1</TableName>
</Storedata>
</listofsync>
</GetBaseTablesRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GetBaseTablesResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| Token | globally unique identifier |
None. |
|
| BaseObjects | Collection of BaseTableModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Message": "sample string 2",
"Token": "648c0d45-540b-43b5-a959-754facb92903",
"BaseObjects": [
{
"BusinessAddressId": 1,
"Name": "sample string 2",
"SectionId": 3,
"ShapeId": 4,
"XPosition": 5.0,
"YPosition": 6.0,
"Height": 1.0,
"Width": 1.0,
"Guid": "sample string 7",
"IsDeleted": true,
"Seats": 1,
"IsActive": true,
"OrderingURL": "https://a.takeawaygenie.com/table/sample string 7",
"CreatedBy": 1,
"ModifiedBy": 1,
"CreatedDate": "2026-03-20T14:26:06.5010238+00:00",
"LastUpdated": "2026-03-20T14:26:06.5010238+00:00",
"Id": 1
},
{
"BusinessAddressId": 1,
"Name": "sample string 2",
"SectionId": 3,
"ShapeId": 4,
"XPosition": 5.0,
"YPosition": 6.0,
"Height": 1.0,
"Width": 1.0,
"Guid": "sample string 7",
"IsDeleted": true,
"Seats": 1,
"IsActive": true,
"OrderingURL": "https://a.takeawaygenie.com/table/sample string 7",
"CreatedBy": 1,
"ModifiedBy": 1,
"CreatedDate": "2026-03-20T14:26:06.5010238+00:00",
"LastUpdated": "2026-03-20T14:26:06.5010238+00:00",
"Id": 1
}
]
}
application/xml, text/xml
Sample:
<GetBaseTablesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAG.ReqResp">
<BaseObjects xmlns:d2p1="http://schemas.datacontract.org/2004/07/TAG.DataModels">
<d2p1:BaseTableModel>
<d2p1:Id>1</d2p1:Id>
<d2p1:CreatedDate>2026-03-20T14:26:06.5010238+00:00</d2p1:CreatedDate>
<d2p1:LastUpdated>2026-03-20T14:26:06.5010238+00:00</d2p1:LastUpdated>
<d2p1:CreatedBy>1</d2p1:CreatedBy>
<d2p1:ModifiedBy>1</d2p1:ModifiedBy>
<d2p1:BusinessAddressId>1</d2p1:BusinessAddressId>
<d2p1:Guid>sample string 7</d2p1:Guid>
<d2p1:Height>1</d2p1:Height>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:IsDeleted>true</d2p1:IsDeleted>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:Seats>1</d2p1:Seats>
<d2p1:SectionId>3</d2p1:SectionId>
<d2p1:ShapeId>4</d2p1:ShapeId>
<d2p1:Width>1</d2p1:Width>
<d2p1:XPosition>5</d2p1:XPosition>
<d2p1:YPosition>6</d2p1:YPosition>
</d2p1:BaseTableModel>
<d2p1:BaseTableModel>
<d2p1:Id>1</d2p1:Id>
<d2p1:CreatedDate>2026-03-20T14:26:06.5010238+00:00</d2p1:CreatedDate>
<d2p1:LastUpdated>2026-03-20T14:26:06.5010238+00:00</d2p1:LastUpdated>
<d2p1:CreatedBy>1</d2p1:CreatedBy>
<d2p1:ModifiedBy>1</d2p1:ModifiedBy>
<d2p1:BusinessAddressId>1</d2p1:BusinessAddressId>
<d2p1:Guid>sample string 7</d2p1:Guid>
<d2p1:Height>1</d2p1:Height>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:IsDeleted>true</d2p1:IsDeleted>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:Seats>1</d2p1:Seats>
<d2p1:SectionId>3</d2p1:SectionId>
<d2p1:ShapeId>4</d2p1:ShapeId>
<d2p1:Width>1</d2p1:Width>
<d2p1:XPosition>5</d2p1:XPosition>
<d2p1:YPosition>6</d2p1:YPosition>
</d2p1:BaseTableModel>
</BaseObjects>
<Message>sample string 2</Message>
<Status>true</Status>
<Token>648c0d45-540b-43b5-a959-754facb92903</Token>
</GetBaseTablesResponse>