POST api/mobile/v1/editsolaroffer?withdownload={withdownload}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
withdownload

boolean

Default value is False

Body Parameters

SolarQuotationModel
NameDescriptionTypeAdditional information
name

string

None.

mobile

string

None.

email

string

None.

address

string

None.

solarplan

string

None.

firext

integer

None.

suminsured

integer

None.

OfferSolarID

integer

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "name": "sample string 1",
  "mobile": "sample string 2",
  "email": "sample string 3",
  "address": "sample string 4",
  "solarplan": "sample string 5",
  "firext": 6,
  "suminsured": 7,
  "OfferSolarID": 8
}

application/xml, text/xml

Sample:
<SenbokModel.SolarQuotationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SenbokAPI.Models">
  <OfferSolarID>8</OfferSolarID>
  <address>sample string 4</address>
  <email>sample string 3</email>
  <firext>6</firext>
  <mobile>sample string 2</mobile>
  <name>sample string 1</name>
  <solarplan>sample string 5</solarplan>
  <suminsured>7</suminsured>
</SenbokModel.SolarQuotationModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SolarQuotationModel'.

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.