POST api/RFQ/InsertGroupPropertiesRoomDetails

Request Information

URI Parameters

None.

Body Parameters

RoomRateInput
NameDescriptionTypeAdditional information
Type

string

None.

GroupId

integer

None.

RFQId

integer

None.

GroupRowId

globally unique identifier

None.

PropertyDetails

Collection of PropertyDetails

None.

Request Formats

application/json, text/json

Sample:
{
  "Type": "sample string 1",
  "GroupId": 2,
  "RFQId": 3,
  "GroupRowId": "e3bc3855-aea2-4a82-b6fa-ff766c82a95b",
  "PropertyDetails": [
    {
      "HotelId": 1,
      "HotelName": "sample string 2",
      "City": "sample string 3",
      "Address": "sample string 4",
      "AdditionalInfo": "sample string 5",
      "GSTNo": "sample string 6",
      "PropetyListId": 7,
      "RoomTypeDetails": {
        "CPRate": [
          {
            "sample string 1": {},
            "sample string 3": {}
          },
          {
            "sample string 1": {},
            "sample string 3": {}
          }
        ],
        "MAPRate": [
          {
            "sample string 1": {},
            "sample string 3": {}
          },
          {
            "sample string 1": {},
            "sample string 3": {}
          }
        ]
      }
    },
    {
      "HotelId": 1,
      "HotelName": "sample string 2",
      "City": "sample string 3",
      "Address": "sample string 4",
      "AdditionalInfo": "sample string 5",
      "GSTNo": "sample string 6",
      "PropetyListId": 7,
      "RoomTypeDetails": {
        "CPRate": [
          {
            "sample string 1": {},
            "sample string 3": {}
          },
          {
            "sample string 1": {},
            "sample string 3": {}
          }
        ],
        "MAPRate": [
          {
            "sample string 1": {},
            "sample string 3": {}
          },
          {
            "sample string 1": {},
            "sample string 3": {}
          }
        ]
      }
    }
  ]
}

application/xml, text/xml

Sample:
<RoomRateInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mice_RFQ_API.Models">
  <GroupId>2</GroupId>
  <GroupRowId>e3bc3855-aea2-4a82-b6fa-ff766c82a95b</GroupRowId>
  <PropertyDetails>
    <PropertyDetails>
      <AdditionalInfo>sample string 5</AdditionalInfo>
      <Address>sample string 4</Address>
      <City>sample string 3</City>
      <GSTNo>sample string 6</GSTNo>
      <HotelId>1</HotelId>
      <HotelName>sample string 2</HotelName>
      <PropetyListId>7</PropetyListId>
      <RoomTypeDetails>
        <CPRate xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:ArrayOfKeyValueOfstringanyType>
            <d5p1:KeyValueOfstringanyType>
              <d5p1:Key>sample string 1</d5p1:Key>
              <d5p1:Value />
            </d5p1:KeyValueOfstringanyType>
            <d5p1:KeyValueOfstringanyType>
              <d5p1:Key>sample string 3</d5p1:Key>
              <d5p1:Value />
            </d5p1:KeyValueOfstringanyType>
          </d5p1:ArrayOfKeyValueOfstringanyType>
          <d5p1:ArrayOfKeyValueOfstringanyType>
            <d5p1:KeyValueOfstringanyType>
              <d5p1:Key>sample string 1</d5p1:Key>
              <d5p1:Value />
            </d5p1:KeyValueOfstringanyType>
            <d5p1:KeyValueOfstringanyType>
              <d5p1:Key>sample string 3</d5p1:Key>
              <d5p1:Value />
            </d5p1:KeyValueOfstringanyType>
          </d5p1:ArrayOfKeyValueOfstringanyType>
        </CPRate>
        <MAPRate xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:ArrayOfKeyValueOfstringanyType>
            <d5p1:KeyValueOfstringanyType>
              <d5p1:Key>sample string 1</d5p1:Key>
              <d5p1:Value />
            </d5p1:KeyValueOfstringanyType>
            <d5p1:KeyValueOfstringanyType>
              <d5p1:Key>sample string 3</d5p1:Key>
              <d5p1:Value />
            </d5p1:KeyValueOfstringanyType>
          </d5p1:ArrayOfKeyValueOfstringanyType>
          <d5p1:ArrayOfKeyValueOfstringanyType>
            <d5p1:KeyValueOfstringanyType>
              <d5p1:Key>sample string 1</d5p1:Key>
              <d5p1:Value />
            </d5p1:KeyValueOfstringanyType>
            <d5p1:KeyValueOfstringanyType>
              <d5p1:Key>sample string 3</d5p1:Key>
              <d5p1:Value />
            </d5p1:KeyValueOfstringanyType>
          </d5p1:ArrayOfKeyValueOfstringanyType>
        </MAPRate>
      </RoomTypeDetails>
    </PropertyDetails>
    <PropertyDetails>
      <AdditionalInfo>sample string 5</AdditionalInfo>
      <Address>sample string 4</Address>
      <City>sample string 3</City>
      <GSTNo>sample string 6</GSTNo>
      <HotelId>1</HotelId>
      <HotelName>sample string 2</HotelName>
      <PropetyListId>7</PropetyListId>
      <RoomTypeDetails>
        <CPRate xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:ArrayOfKeyValueOfstringanyType>
            <d5p1:KeyValueOfstringanyType>
              <d5p1:Key>sample string 1</d5p1:Key>
              <d5p1:Value />
            </d5p1:KeyValueOfstringanyType>
            <d5p1:KeyValueOfstringanyType>
              <d5p1:Key>sample string 3</d5p1:Key>
              <d5p1:Value />
            </d5p1:KeyValueOfstringanyType>
          </d5p1:ArrayOfKeyValueOfstringanyType>
          <d5p1:ArrayOfKeyValueOfstringanyType>
            <d5p1:KeyValueOfstringanyType>
              <d5p1:Key>sample string 1</d5p1:Key>
              <d5p1:Value />
            </d5p1:KeyValueOfstringanyType>
            <d5p1:KeyValueOfstringanyType>
              <d5p1:Key>sample string 3</d5p1:Key>
              <d5p1:Value />
            </d5p1:KeyValueOfstringanyType>
          </d5p1:ArrayOfKeyValueOfstringanyType>
        </CPRate>
        <MAPRate xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:ArrayOfKeyValueOfstringanyType>
            <d5p1:KeyValueOfstringanyType>
              <d5p1:Key>sample string 1</d5p1:Key>
              <d5p1:Value />
            </d5p1:KeyValueOfstringanyType>
            <d5p1:KeyValueOfstringanyType>
              <d5p1:Key>sample string 3</d5p1:Key>
              <d5p1:Value />
            </d5p1:KeyValueOfstringanyType>
          </d5p1:ArrayOfKeyValueOfstringanyType>
          <d5p1:ArrayOfKeyValueOfstringanyType>
            <d5p1:KeyValueOfstringanyType>
              <d5p1:Key>sample string 1</d5p1:Key>
              <d5p1:Value />
            </d5p1:KeyValueOfstringanyType>
            <d5p1:KeyValueOfstringanyType>
              <d5p1:Key>sample string 3</d5p1:Key>
              <d5p1:Value />
            </d5p1:KeyValueOfstringanyType>
          </d5p1:ArrayOfKeyValueOfstringanyType>
        </MAPRate>
      </RoomTypeDetails>
    </PropertyDetails>
  </PropertyDetails>
  <RFQId>3</RFQId>
  <Type>sample string 1</Type>
</RoomRateInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.