POST Boat/SaveBoatPrices

Request Information

URI Parameters

None.

Body Parameters

BoatPricesModel
NameDescriptionTypeAdditional information
AdvID

integer

None.

Month1

decimal number

None.

Month2

decimal number

None.

Month3

decimal number

None.

Month4

decimal number

None.

Month5

decimal number

None.

Month6

decimal number

None.

Month7

decimal number

None.

Month8

decimal number

None.

Month9

decimal number

None.

Month10

decimal number

None.

Month11

decimal number

None.

Month12

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "AdvID": 1,
  "Month1": 2.0,
  "Month2": 3.0,
  "Month3": 4.0,
  "Month4": 5.0,
  "Month5": 6.0,
  "Month6": 7.0,
  "Month7": 8.0,
  "Month8": 9.0,
  "Month9": 10.0,
  "Month10": 11.0,
  "Month11": 12.0,
  "Month12": 13.0
}

application/xml, text/xml

Sample:
<BoatController.BoatPricesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject.Controllers">
  <AdvID>1</AdvID>
  <Month1>2</Month1>
  <Month10>11</Month10>
  <Month11>12</Month11>
  <Month12>13</Month12>
  <Month2>3</Month2>
  <Month3>4</Month3>
  <Month4>5</Month4>
  <Month5>6</Month5>
  <Month6>7</Month6>
  <Month7>8</Month7>
  <Month8>9</Month8>
  <Month9>10</Month9>
</BoatController.BoatPricesModel>

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 'BoatPricesModel'.

Response Information

Resource Description

GeneralResponse
NameDescriptionTypeAdditional information
success

boolean

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<AppSettings.GeneralResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject">
  <message>sample string 2</message>
  <success>true</success>
</AppSettings.GeneralResponse>