POST Boat/SavePhoto

Request Information

URI Parameters

None.

Body Parameters

EditPhotoModel
NameDescriptionTypeAdditional information
AdvID

integer

None.

Path

string

None.

Extension

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AdvID": 1,
  "Path": "sample string 2",
  "Extension": "sample string 3"
}

application/xml, text/xml

Sample:
<Boat.EditPhotoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject.Models">
  <AdvID>1</AdvID>
  <Extension>sample string 3</Extension>
  <Path>sample string 2</Path>
</Boat.EditPhotoModel>

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>