GET/get yacht

REST Apis

Reads an advertisement by yacht

Returns the entered data. It is necessary to indicate the id of the requested ad yacht4web.
May be worth API request yacht/list

Resource URL

http://api.yacht4web.com/1.0/yacht/get

Parameters

appId

necessary

Your App id
id

necessary

Ad ID yacht4web.

Request example

http://api.yacht4web.com/1.0/yacht/get?appid=[appId]&id=[idBoat]

Example of Result


{"req":"get",
"idBoat":59557,
"resMain":
{
 "id": "59557",
 "userCode": "imp-31734020151754989799515651974598",
 "published": "3",
 "idSy": "1288",
 "shipyard": "Maiora",
 "manModel": "29",
 "idmodel": "11468",
 "buildNumber": "",
 "boatCat": "0",
 "subCode": "",
 "idType": "MEG",
 "bClass": "1",
 "yearMatric": "0",
 "yearBuild": "2012",
 "idPavillon": "",
 "boatFlag": "",
 "bNatant": "0",
 "powerTax": "0.00",
 "currency": "EUR",
 "price": "2990000.00",
 "euroPrice": "2990000",
 "poa": "0",
 "vatPercent": "0.00",
 "vatIncluded": "2",
 "idState": "0",
 "negotiations": "0",
 "bitPrice": "0",
 "lengthAll": "28.70",
 "lengthHull": "0.00",
 "beam": "6.45",
 "tonnage": "0.00",
 "displacement": "0",
 "dryWeight": "0",
 "ballast": "0",
 "draft": "0.00",
 "minDraft": "0.00",
 "maxDraft": "0.00",
 "airDraft": "0.00",
 "idHull": "0",
 "matHull": "Vetroresina",
 "idDeck": "0",
 "matDeck": "",
 "idDeckHouse": "0",
 "matDeckHouse": "",
 "idKeel": "0",
 "speedMax": "0.0",
 "speedCruiser": "0.0",
 "engNumber": "0",
 "engBrand": "MTU",
 "engManufact": "12V 2000 M94",
 "engPower": "3840",
 "engPowerUm": "0",
 "engYearRev": "0",
 "engIdTrasmiss": "0",
 "engIdFuel": "0",
 "engHours": "0",
 "revision": "",
 "tankFuelNumber": "0",
 "tankFuelCapacity": "0",
 "idTankFuel": "0",
 "matTankFuel": "",
 "tankWaterNumber": "0",
 "tankWaterCapacity": "0",
 "idTankWater": "0",
 "matTankWater": "",
 "tankHoldingNumber": "0",
 "tankHoldingCapacity": "0.00",
 "idHoldingWater": "0",
 "matHoldingWater": "",
 "autoclave": "0",
 "desalter": "0",
 "boiler": "0",
 "boilerNote": "",
 "voltages": "",
 "battNumber": "0",
 "battCapacity": "0",
 "battCharger": "0",
 "elecGen220": "0",
 "idGenerator": "0",
 "genBrand": "",
 "genpower": "0.0",
 "inverter": "0",
 "guests": "0",
 "seatingCapacity": "0",
 "cabins": "0",
 "births": "0",
 "ownlvl": "0",
 "crew": "0",
 "plate": "",
 "photo": "yw132085955716278-0.jpg",
 "photos": "yw132085955716278-0.jpg|yw132085955719406-1.jpg",
 "photoNumber": "41",
 "movieNumber": "0",
 "attachNumber": "0",
 "fileErrors": "1",
 "idCountry": "HR",
 "idMap": "899",
 "location": "Kastela",
 "rinaExpired": "",
 "certExpired": "0",
 "certInstitute": "",
 "bitShare": "3",
 "bitSiteGen": "0",
 "bitOffer": "0",
 "bitOther": "0",
 "bitEvid": "0",
 "bExclusive": "0",
 "freeMinValue": "0",
 "bEvidence": "0",
 "tags": "0",
 "eviCheck": "0",
 "eviLang": "",
 "idAge": "0",
 "advAge": "1",
 "advVote": "4.99",
 "advError": "0",
 "idClone": "0",
 "scoreIt": "99245",
 "scoreFr": "99063",
 "scoreEn": "99063",
 "scoreEs": "99063",
 "scoreDe": "99063",
 "scoreRu": "99063",
 "scoreCn": "99063",
 "scorePt": "99063",
 "scoreAr": "99063",
 "created_at":"2016-10-06T11:00:21+02:00",
 "updated_at":"2016-11-15T17:00:12+01:00"
}
,
"resDetail":[
{
 "dCode": "DX01",
 "nameit": "Short Description",
 "textit": " \r\nMaiora 29 is like a new yacht with ...",
 "number": 0
}
,
{
 "dCode": "DX08",
 "nameit": "Price Note",
 "textit": "---",
 "number": 0
}
]
}