POST catalog/restaurant/table
Authorized only.
Request Information
URI Parameters
None.
Body Parameters
ApiPushRequestOfTableApiModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Inserted | Collection of TableApiModel |
None. |
|
| Updated | Collection of TableApiModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"Inserted": [
{
"TableId": 1,
"CompanyId": 2,
"SectionId": 3,
"SectionMobileId": 1,
"TableType": 4,
"Name": "sample string 5",
"CoordinateX": 6.1,
"CoordinateY": 7.1,
"Width": 8.1,
"Height": 9.1,
"Shape": 10,
"Rotation": 11.1,
"Capacity": 12,
"ImageUrl": "sample string 13",
"IsImageChanged": true,
"ImageData": "sample string 15",
"InternalMobileId": 16,
"Id": 1,
"MobileId": 1,
"IsInserted": true,
"IsUpdated": true,
"IsDeleted": true
},
{
"TableId": 1,
"CompanyId": 2,
"SectionId": 3,
"SectionMobileId": 1,
"TableType": 4,
"Name": "sample string 5",
"CoordinateX": 6.1,
"CoordinateY": 7.1,
"Width": 8.1,
"Height": 9.1,
"Shape": 10,
"Rotation": 11.1,
"Capacity": 12,
"ImageUrl": "sample string 13",
"IsImageChanged": true,
"ImageData": "sample string 15",
"InternalMobileId": 16,
"Id": 1,
"MobileId": 1,
"IsInserted": true,
"IsUpdated": true,
"IsDeleted": true
}
],
"Updated": [
{
"TableId": 1,
"CompanyId": 2,
"SectionId": 3,
"SectionMobileId": 1,
"TableType": 4,
"Name": "sample string 5",
"CoordinateX": 6.1,
"CoordinateY": 7.1,
"Width": 8.1,
"Height": 9.1,
"Shape": 10,
"Rotation": 11.1,
"Capacity": 12,
"ImageUrl": "sample string 13",
"IsImageChanged": true,
"ImageData": "sample string 15",
"InternalMobileId": 16,
"Id": 1,
"MobileId": 1,
"IsInserted": true,
"IsUpdated": true,
"IsDeleted": true
},
{
"TableId": 1,
"CompanyId": 2,
"SectionId": 3,
"SectionMobileId": 1,
"TableType": 4,
"Name": "sample string 5",
"CoordinateX": 6.1,
"CoordinateY": 7.1,
"Width": 8.1,
"Height": 9.1,
"Shape": 10,
"Rotation": 11.1,
"Capacity": 12,
"ImageUrl": "sample string 13",
"IsImageChanged": true,
"ImageData": "sample string 15",
"InternalMobileId": 16,
"Id": 1,
"MobileId": 1,
"IsInserted": true,
"IsUpdated": true,
"IsDeleted": true
}
]
}
application/xml, text/xml
Sample:
<ApiPushRequestOfTableApiModelo3SvJxsr xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Api">
<Inserted xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Data.Mapping.Mobile.Catalog.Restaurant">
<d2p1:TableApiModel>
<Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id>
<InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">16</InternalMobileId>
<IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted>
<IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted>
<IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated>
<MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId>
<ImageData xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">sample string 15</ImageData>
<ImageUrl xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">sample string 13</ImageUrl>
<IsImageChanged xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsImageChanged>
<Capacity xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">12</Capacity>
<CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">2</CompanyId>
<CoordinateX xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">6.1</CoordinateX>
<CoordinateY xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">7.1</CoordinateY>
<Height xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">9.1</Height>
<Name xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">sample string 5</Name>
<Rotation xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">11.1</Rotation>
<SectionId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">3</SectionId>
<SectionMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</SectionMobileId>
<Shape xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">10</Shape>
<TableId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</TableId>
<TableType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">4</TableType>
<Width xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">8.1</Width>
</d2p1:TableApiModel>
<d2p1:TableApiModel>
<Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id>
<InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">16</InternalMobileId>
<IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted>
<IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted>
<IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated>
<MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId>
<ImageData xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">sample string 15</ImageData>
<ImageUrl xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">sample string 13</ImageUrl>
<IsImageChanged xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsImageChanged>
<Capacity xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">12</Capacity>
<CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">2</CompanyId>
<CoordinateX xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">6.1</CoordinateX>
<CoordinateY xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">7.1</CoordinateY>
<Height xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">9.1</Height>
<Name xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">sample string 5</Name>
<Rotation xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">11.1</Rotation>
<SectionId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">3</SectionId>
<SectionMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</SectionMobileId>
<Shape xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">10</Shape>
<TableId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</TableId>
<TableType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">4</TableType>
<Width xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">8.1</Width>
</d2p1:TableApiModel>
</Inserted>
<Updated xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Data.Mapping.Mobile.Catalog.Restaurant">
<d2p1:TableApiModel>
<Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id>
<InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">16</InternalMobileId>
<IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted>
<IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted>
<IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated>
<MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId>
<ImageData xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">sample string 15</ImageData>
<ImageUrl xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">sample string 13</ImageUrl>
<IsImageChanged xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsImageChanged>
<Capacity xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">12</Capacity>
<CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">2</CompanyId>
<CoordinateX xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">6.1</CoordinateX>
<CoordinateY xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">7.1</CoordinateY>
<Height xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">9.1</Height>
<Name xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">sample string 5</Name>
<Rotation xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">11.1</Rotation>
<SectionId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">3</SectionId>
<SectionMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</SectionMobileId>
<Shape xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">10</Shape>
<TableId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</TableId>
<TableType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">4</TableType>
<Width xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">8.1</Width>
</d2p1:TableApiModel>
<d2p1:TableApiModel>
<Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id>
<InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">16</InternalMobileId>
<IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted>
<IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted>
<IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated>
<MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId>
<ImageData xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">sample string 15</ImageData>
<ImageUrl xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">sample string 13</ImageUrl>
<IsImageChanged xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsImageChanged>
<Capacity xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">12</Capacity>
<CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">2</CompanyId>
<CoordinateX xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">6.1</CoordinateX>
<CoordinateY xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">7.1</CoordinateY>
<Height xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">9.1</Height>
<Name xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">sample string 5</Name>
<Rotation xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">11.1</Rotation>
<SectionId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">3</SectionId>
<SectionMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</SectionMobileId>
<Shape xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">10</Shape>
<TableId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</TableId>
<TableType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">4</TableType>
<Width xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">8.1</Width>
</d2p1:TableApiModel>
</Updated>
</ApiPushRequestOfTableApiModelo3SvJxsr>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |