POST Api/Comparison/Quote/{Id}/Update

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Required

Body Parameters

UpdateQuoteRequestData
NameDescriptionTypeAdditional information
FirstName

string

String length: inclusive between 0 and 50

LastName

string

String length: inclusive between 0 and 50

Email

string

String length: inclusive between 0 and 50

PhoneNumber

string

String length: inclusive between 0 and 20

MoveInDate

date

Data type: Date

GasMoveInDate

date

Data type: Date

Request Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "Email": "sample string 3",
  "PhoneNumber": "sample string 4",
  "MoveInDate": "2026-03-25T11:24:42.8646031+00:00",
  "GasMoveInDate": "2026-03-25T11:24:42.8646031+00:00"
}

application/xml, text/xml

Sample:
<UpdateQuoteRequestData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoSwitch.CustomerTools.Models.OnlineSignup">
  <Email>sample string 3</Email>
  <FirstName>sample string 1</FirstName>
  <GasMoveInDate>2026-03-25T11:24:42.8646031+00:00</GasMoveInDate>
  <LastName>sample string 2</LastName>
  <MoveInDate>2026-03-25T11:24:42.8646031+00:00</MoveInDate>
  <PhoneNumber>sample string 4</PhoneNumber>
</UpdateQuoteRequestData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultOfQuoteResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

ErrorMessage

Collection of string

None.

Value

QuoteResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "ErrorMessage": [
    "sample string 1",
    "sample string 2"
  ],
  "Value": {
    "QuoteToken": "sample string 1"
  }
}

application/xml, text/xml

Sample:
<ResultOfQuoteResponsegiTj_PTJ_P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoSwitch.CustomerTools.Models.Common.Returns">
  <ErrorMessage xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ErrorMessage>
  <Message>sample string 2</Message>
  <Success>true</Success>
  <Value xmlns:d2p1="http://schemas.datacontract.org/2004/07/GoSwitch.CustomerTools.Models.OnlineSignup">
    <d2p1:QuoteToken>sample string 1</d2p1:QuoteToken>
  </Value>
</ResultOfQuoteResponsegiTj_PTJ_P>