POST api/Quotation/Save

Request Information

URI Parameters

None.

Body Parameters

OnlineQuoteView
NameDescriptionTypeAdditional information
RfqId

integer

None.

RfqVenueId

integer

None.

VenueId

integer

None.

IsAgent

boolean

None.

IsSubmitted

boolean

None.

OnlineQuotationId

integer

None.

VenueName

string

None.

RoomName

string

None.

Status

string

None.

RfqVenueResponseStatus

RfqVenueResponseStatusEnum

None.

Reason

string

None.

LastQuoted

decimal number

None.

AvailabilityName

string

None.

AvailabilityId

integer

None.

UpdatedDate

string

None.

Rooms

Collection of RoomView

None.

Availabilitys

Collection of AvailabilityView

None.

OfferingPackages

Collection of OfferingPackageView

None.

ServiceTerm

string

None.

Attachments

Collection of AttachmentView

None.

SelectedRoomIds

Collection of integer

None.

SelectedAttachmentIds

Collection of integer

None.

Note

string

None.

IsTaxServiceIncluded

boolean

None.

PdfPath

string

None.

TotalWord

string

None.

IsQuotationCreated

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "rfqId": 1,
  "rfqVenueId": 2,
  "venueId": 3,
  "isAgent": true,
  "isSubmitted": true,
  "onlineQuotationId": 1,
  "venueName": "sample string 6",
  "roomName": "sample string 7",
  "status": "sample string 8",
  "rfqVenueResponseStatus": 0,
  "reason": "sample string 9",
  "lastQuoted": 10.0,
  "availabilityName": "sample string 11",
  "availabilityId": 12,
  "updatedDate": "sample string 13",
  "rooms": [
    {
      "roomId": 1,
      "roomName": "sample string 2",
      "urlPictureProfile": "sample string 3",
      "selected": true,
      "standMax": 1,
      "standMin": 1,
      "sitMax": 1,
      "sitMin": 1,
      "isAvailableForMeetingBanana": true
    },
    {
      "roomId": 1,
      "roomName": "sample string 2",
      "urlPictureProfile": "sample string 3",
      "selected": true,
      "standMax": 1,
      "standMin": 1,
      "sitMax": 1,
      "sitMin": 1,
      "isAvailableForMeetingBanana": true
    }
  ],
  "availabilitys": [
    {
      "id": 1,
      "name": "sample string 2"
    },
    {
      "id": 1,
      "name": "sample string 2"
    }
  ],
  "offeringPackages": [
    {
      "offeringPackageId": 1,
      "packageName": "sample string 2",
      "unit": 3,
      "unitPrice": 4.0,
      "discount": 5.0,
      "total": 6.0,
      "packageDescription": "sample string 7",
      "created": "sample string 8",
      "updated": "sample string 9"
    },
    {
      "offeringPackageId": 1,
      "packageName": "sample string 2",
      "unit": 3,
      "unitPrice": 4.0,
      "discount": 5.0,
      "total": 6.0,
      "packageDescription": "sample string 7",
      "created": "sample string 8",
      "updated": "sample string 9"
    }
  ],
  "serviceTerm": "sample string 14",
  "attachments": [
    {
      "attachmentId": 1,
      "venueId": 2,
      "roomId": 3,
      "fileName": "sample string 4",
      "caption": "sample string 5",
      "path": "sample string 6",
      "updated": "sample string 7",
      "created": "sample string 8"
    },
    {
      "attachmentId": 1,
      "venueId": 2,
      "roomId": 3,
      "fileName": "sample string 4",
      "caption": "sample string 5",
      "path": "sample string 6",
      "updated": "sample string 7",
      "created": "sample string 8"
    }
  ],
  "selectedRoomIds": [
    1,
    2
  ],
  "selectedAttachmentIds": [
    1,
    2
  ],
  "note": "sample string 15",
  "isTaxServiceIncluded": true,
  "pdfPath": "sample string 17",
  "totalWord": "sample string 18",
  "isQuotationCreated": true
}

text/html

Sample:
{"rfqId":1,"rfqVenueId":2,"venueId":3,"isAgent":true,"isSubmitted":true,"onlineQuotationId":1,"venueName":"sample string 6","roomName":"sample string 7","status":"sample string 8","rfqVenueResponseStatus":0,"reason":"sample string 9","lastQuoted":10.0,"availabilityName":"sample string 11","availabilityId":12,"updatedDate":"sample string 13","rooms":[{"roomId":1,"roomName":"sample string 2","urlPictureProfile":"sample string 3","selected":true,"standMax":1,"standMin":1,"sitMax":1,"sitMin":1,"isAvailableForMeetingBanana":true},{"roomId":1,"roomName":"sample string 2","urlPictureProfile":"sample string 3","selected":true,"standMax":1,"standMin":1,"sitMax":1,"sitMin":1,"isAvailableForMeetingBanana":true}],"availabilitys":[{"id":1,"name":"sample string 2"},{"id":1,"name":"sample string 2"}],"offeringPackages":[{"offeringPackageId":1,"packageName":"sample string 2","unit":3,"unitPrice":4.0,"discount":5.0,"total":6.0,"packageDescription":"sample string 7","created":"sample string 8","updated":"sample string 9"},{"offeringPackageId":1,"packageName":"sample string 2","unit":3,"unitPrice":4.0,"discount":5.0,"total":6.0,"packageDescription":"sample string 7","created":"sample string 8","updated":"sample string 9"}],"serviceTerm":"sample string 14","attachments":[{"attachmentId":1,"venueId":2,"roomId":3,"fileName":"sample string 4","caption":"sample string 5","path":"sample string 6","updated":"sample string 7","created":"sample string 8"},{"attachmentId":1,"venueId":2,"roomId":3,"fileName":"sample string 4","caption":"sample string 5","path":"sample string 6","updated":"sample string 7","created":"sample string 8"}],"selectedRoomIds":[1,2],"selectedAttachmentIds":[1,2],"note":"sample string 15","isTaxServiceIncluded":true,"pdfPath":"sample string 17","totalWord":"sample string 18","isQuotationCreated":true}

application/xml, text/xml

Sample:
<OnlineQuoteView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">
  <Attachments>
    <AttachmentView>
      <AttachmentId>1</AttachmentId>
      <Caption>sample string 5</Caption>
      <Created>sample string 8</Created>
      <FileName>sample string 4</FileName>
      <Path>sample string 6</Path>
      <RoomId>3</RoomId>
      <Updated>sample string 7</Updated>
      <UploadFile>QEA=</UploadFile>
      <VenueId>2</VenueId>
    </AttachmentView>
    <AttachmentView>
      <AttachmentId>1</AttachmentId>
      <Caption>sample string 5</Caption>
      <Created>sample string 8</Created>
      <FileName>sample string 4</FileName>
      <Path>sample string 6</Path>
      <RoomId>3</RoomId>
      <Updated>sample string 7</Updated>
      <UploadFile>QEA=</UploadFile>
      <VenueId>2</VenueId>
    </AttachmentView>
  </Attachments>
  <AvailabilityId>12</AvailabilityId>
  <AvailabilityName>sample string 11</AvailabilityName>
  <Availabilitys>
    <AvailabilityView>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </AvailabilityView>
    <AvailabilityView>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </AvailabilityView>
  </Availabilitys>
  <IsAgent>true</IsAgent>
  <IsQuotationCreated>true</IsQuotationCreated>
  <IsSubmitted>true</IsSubmitted>
  <IsTaxServiceIncluded>true</IsTaxServiceIncluded>
  <LastQuoted>10</LastQuoted>
  <Note>sample string 15</Note>
  <OfferingPackages>
    <OfferingPackageView>
      <Created>sample string 8</Created>
      <Discount>5</Discount>
      <OfferingPackageId>1</OfferingPackageId>
      <PackageDescription>sample string 7</PackageDescription>
      <PackageName>sample string 2</PackageName>
      <Total>6</Total>
      <Unit>3</Unit>
      <UnitPrice>4</UnitPrice>
      <Updated>sample string 9</Updated>
    </OfferingPackageView>
    <OfferingPackageView>
      <Created>sample string 8</Created>
      <Discount>5</Discount>
      <OfferingPackageId>1</OfferingPackageId>
      <PackageDescription>sample string 7</PackageDescription>
      <PackageName>sample string 2</PackageName>
      <Total>6</Total>
      <Unit>3</Unit>
      <UnitPrice>4</UnitPrice>
      <Updated>sample string 9</Updated>
    </OfferingPackageView>
  </OfferingPackages>
  <OnlineQuotationId>1</OnlineQuotationId>
  <PdfPath>sample string 17</PdfPath>
  <Reason>sample string 9</Reason>
  <RfqId>1</RfqId>
  <RfqVenueId>2</RfqVenueId>
  <RfqVenueResponseStatus>None</RfqVenueResponseStatus>
  <RoomName>sample string 7</RoomName>
  <Rooms>
    <RoomView>
      <IsAvailableForMeetingBanana>true</IsAvailableForMeetingBanana>
      <RoomId>1</RoomId>
      <RoomName>sample string 2</RoomName>
      <Selected>true</Selected>
      <SitMax>1</SitMax>
      <SitMin>1</SitMin>
      <StandMax>1</StandMax>
      <StandMin>1</StandMin>
      <UrlPictureProfile>sample string 3</UrlPictureProfile>
    </RoomView>
    <RoomView>
      <IsAvailableForMeetingBanana>true</IsAvailableForMeetingBanana>
      <RoomId>1</RoomId>
      <RoomName>sample string 2</RoomName>
      <Selected>true</Selected>
      <SitMax>1</SitMax>
      <SitMin>1</SitMin>
      <StandMax>1</StandMax>
      <StandMin>1</StandMin>
      <UrlPictureProfile>sample string 3</UrlPictureProfile>
    </RoomView>
  </Rooms>
  <SelectedAttachmentIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </SelectedAttachmentIds>
  <SelectedRoomIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </SelectedRoomIds>
  <ServiceTerm>sample string 14</ServiceTerm>
  <Status>sample string 8</Status>
  <TotalWord>sample string 18</TotalWord>
  <UpdatedDate>sample string 13</UpdatedDate>
  <VenueId>3</VenueId>
  <VenueName>sample string 6</VenueName>
</OnlineQuoteView>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SaveResponse
NameDescriptionTypeAdditional information
result

string

None.

quotationId

integer

None.

pdf

string

None.

Response Formats

application/json, text/json

Sample:
{
  "result": "sample string 1",
  "quotationId": 2,
  "pdf": "sample string 3"
}

text/html

Sample:
{"result":"sample string 1","quotationId":2,"pdf":"sample string 3"}

application/xml, text/xml

Sample:
<QuotationController.SaveResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Api.Controllers">
  <pdf>sample string 3</pdf>
  <quotationId>2</quotationId>
  <result>sample string 1</result>
</QuotationController.SaveResponse>