POST api/Enquiry/SaveQuote

Request Information

URI Parameters

None.

Body Parameters

QuoteModel
NameDescriptionTypeAdditional information
BusinessId

integer

None.

LeadId

integer

None.

NoOfDays

integer

None.

DoesNotExpire

integer

None.

QuoteRequestId

integer

None.

ProjectName

string

None.

ExpireDate

date

None.

TotalPrice

integer

None.

Items

Collection of QuoteItem

None.

Request Formats

application/json, text/json

Sample:
{
  "BusinessId": 1,
  "LeadId": 2,
  "NoOfDays": 3,
  "DoesNotExpire": 4,
  "QuoteRequestId": 5,
  "ProjectName": "sample string 6",
  "ExpireDate": "2020-09-24T03:27:27.7142233+01:00",
  "TotalPrice": 8,
  "Items": [
    {
      "Description": "sample string 1",
      "Units": 2,
      "Amount": 3
    },
    {
      "Description": "sample string 1",
      "Units": 2,
      "Amount": 3
    }
  ]
}

application/xml, text/xml

Sample:
<QuoteModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <ExpireDate>2020-09-24T03:27:27.7142233+01:00</ExpireDate>
  <Items>
    <QuoteItem>
      <Amount>3</Amount>
      <Description>sample string 1</Description>
      <Units>2</Units>
    </QuoteItem>
    <QuoteItem>
      <Amount>3</Amount>
      <Description>sample string 1</Description>
      <Units>2</Units>
    </QuoteItem>
  </Items>
  <ProjectName>sample string 6</ProjectName>
  <TotalPrice>8</TotalPrice>
  <BusinessId>1</BusinessId>
  <DoesNotExpire>4</DoesNotExpire>
  <LeadId>2</LeadId>
  <NoOfDays>3</NoOfDays>
  <QuoteRequestId>5</QuoteRequestId>
</QuoteModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional information
Version

string

None.

dateTime

string

None.

StatusCode

integer

None.

ErrorMessage

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "1.0.0",
  "dateTime": "2020/09/24 03:27:27",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}

application/xml, text/xml

Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result />
  <StatusCode>1</StatusCode>
</VCAPIResponse>