POST catalog/restaurant/room

Authorized only.

Request Information

URI Parameters

None.

Body Parameters

ApiPushRequestOfRoomApiModel
NameDescriptionTypeAdditional information
Inserted

Collection of RoomApiModel

None.

Updated

Collection of RoomApiModel

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<ApiPushRequestOfRoomApiModelo3SvJxsr 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:RoomApiModel>
      <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">false</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 i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base" />
      <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>
      <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">2</CompanyId>
      <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">true</IsDeleted>
      <MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</MobileId>
      <RoomId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</RoomId>
      <RoomName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">sample string 3</RoomName>
    </d2p1:RoomApiModel>
    <d2p1:RoomApiModel>
      <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">false</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 i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base" />
      <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>
      <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">2</CompanyId>
      <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">true</IsDeleted>
      <MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</MobileId>
      <RoomId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</RoomId>
      <RoomName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">sample string 3</RoomName>
    </d2p1:RoomApiModel>
  </Inserted>
  <Updated xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Data.Mapping.Mobile.Catalog.Restaurant">
    <d2p1:RoomApiModel>
      <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">false</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 i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base" />
      <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>
      <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">2</CompanyId>
      <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">true</IsDeleted>
      <MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</MobileId>
      <RoomId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</RoomId>
      <RoomName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">sample string 3</RoomName>
    </d2p1:RoomApiModel>
    <d2p1:RoomApiModel>
      <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">false</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 i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base" />
      <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>
      <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">2</CompanyId>
      <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">true</IsDeleted>
      <MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</MobileId>
      <RoomId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">1</RoomId>
      <RoomName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Catalog.Restaurant">sample string 3</RoomName>
    </d2p1:RoomApiModel>
  </Updated>
</ApiPushRequestOfRoomApiModelo3SvJxsr>

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.