POST catalog/restaurant/section

Authorized only.

Request Information

URI Parameters

None.

Body Parameters

ApiPushRequestOfSectionApiModel
NameDescriptionTypeAdditional information
Inserted

Collection of SectionApiModel

None.

Updated

Collection of SectionApiModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Inserted": [
    {
      "SectionId": 1,
      "CompanyId": 2,
      "RoomId": 3,
      "RoomMobileId": 1,
      "Color": "sample string 4",
      "ImageUrl": "sample string 5",
      "IsImageChanged": true,
      "ImageData": "sample string 7",
      "InternalMobileId": 8,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    },
    {
      "SectionId": 1,
      "CompanyId": 2,
      "RoomId": 3,
      "RoomMobileId": 1,
      "Color": "sample string 4",
      "ImageUrl": "sample string 5",
      "IsImageChanged": true,
      "ImageData": "sample string 7",
      "InternalMobileId": 8,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    }
  ],
  "Updated": [
    {
      "SectionId": 1,
      "CompanyId": 2,
      "RoomId": 3,
      "RoomMobileId": 1,
      "Color": "sample string 4",
      "ImageUrl": "sample string 5",
      "IsImageChanged": true,
      "ImageData": "sample string 7",
      "InternalMobileId": 8,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    },
    {
      "SectionId": 1,
      "CompanyId": 2,
      "RoomId": 3,
      "RoomMobileId": 1,
      "Color": "sample string 4",
      "ImageUrl": "sample string 5",
      "IsImageChanged": true,
      "ImageData": "sample string 7",
      "InternalMobileId": 8,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    }
  ]
}

application/xml, text/xml

Sample:
<ApiPushRequestOfSectionApiModelo3SvJxsr 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:SectionApiModel>
      <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">8</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 7</ImageData>
      <ImageUrl xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">sample string 5</ImageUrl>
      <IsImageChanged xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsImageChanged>
      <Color xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">sample string 4</Color>
      <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">2</CompanyId>
      <RoomId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">3</RoomId>
      <RoomMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</RoomMobileId>
      <SectionId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</SectionId>
    </d2p1:SectionApiModel>
    <d2p1:SectionApiModel>
      <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">8</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 7</ImageData>
      <ImageUrl xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">sample string 5</ImageUrl>
      <IsImageChanged xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsImageChanged>
      <Color xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">sample string 4</Color>
      <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">2</CompanyId>
      <RoomId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">3</RoomId>
      <RoomMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</RoomMobileId>
      <SectionId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</SectionId>
    </d2p1:SectionApiModel>
  </Inserted>
  <Updated xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Data.Mapping.Mobile.Catalog.Restaurant">
    <d2p1:SectionApiModel>
      <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">8</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 7</ImageData>
      <ImageUrl xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">sample string 5</ImageUrl>
      <IsImageChanged xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsImageChanged>
      <Color xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">sample string 4</Color>
      <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">2</CompanyId>
      <RoomId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">3</RoomId>
      <RoomMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</RoomMobileId>
      <SectionId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</SectionId>
    </d2p1:SectionApiModel>
    <d2p1:SectionApiModel>
      <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">8</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 7</ImageData>
      <ImageUrl xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">sample string 5</ImageUrl>
      <IsImageChanged xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsImageChanged>
      <Color xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">sample string 4</Color>
      <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">2</CompanyId>
      <RoomId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">3</RoomId>
      <RoomMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</RoomMobileId>
      <SectionId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</SectionId>
    </d2p1:SectionApiModel>
  </Updated>
</ApiPushRequestOfSectionApiModelo3SvJxsr>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.