Request header sample for fiddler

User-Agent: Fiddler
Accept: application/json
Content-Type: application/json
Host: localhost
Authorization: Basic {encrypted authorization key}

POST https://api.hebbes.be/immo/checkuniqueemail
Request body

"user@concentra.com"

Returns true when email does not exist, returns false when email allready exists.

POST https://api.hebbes.be/immo/recoverpassword
Request body

"user@concentra.com"

Returns true when the password is successfully changed, returns false when somthing went wrong.

POST https://api.hebbes.be/immo/login
Request body

{
    "email": "user@concentra.com",
    "password": "password"
}

Returns -1 when credentials are wrong.

POST https://api.hebbes.be/immo/register
Request body

Password (at least 6 characters long, combination of letters and numbers).

{
    "email": "user@concentra.com",
    "password": "pass1234"
}

Returns userid when registration is successfull, and will send registration mail to user.
Returns -1 when error has occurred (user allready exists and wrong password is provided, password validation,...).

PUT https://api.hebbes.be/immo/impressions
Request body

{
    "adid": "123456"
}

GET https://api.hebbes.be/immo/destinations

GET https://api.hebbes.be/immo/categories

GET https://api.hebbes.be/immo/categoriestypes

GET https://api.hebbes.be/immo/types/{id}
Parameter

  • id: category id

GET https://api.hebbes.be/immo/buildingtypes

GET https://api.hebbes.be/immo/locations

GET https://api.hebbes.be/immo/orderdirections

GET https://api.hebbes.be/immo/orderfields

GET https://api.hebbes.be/immo/{id}
Parameter

  • id: adid

GET https://api.hebbes.be/immo/{id}/{userid}
Parameter

  • id: adid
  • userid: userid logged in user

GET https://api.hebbes.be/immo/favourites/{id}
Parameter

  • id: userid

POST https://api.hebbes.be/immo/favourites
Request body

{
	"UserId": 498707,
	"AdId": 7041488,
	"FollowPrice": 0
}

DELETE https://api.hebbes.be/immo/favourites
Request body

{
	"UserId": 498707,
	"AdId": 7041488
}

GET https://api.hebbes.be/immo/storedsearches/{id}
Parameter

  • id: userid

POST https://api.hebbes.be/immo/storedsearches
Request body

{
	"UserId": 498707,
	"Name": "Test",
	"SearchParameters" :
	{
		"Category": 3, 
		"Destination": 1, 
		"BuildingTypes": [1], 
		"Bedrooms": [4], 
		"ZipIds": [579, 580], 
		"Types": [1, 3], 
		"Pictures": "True", 
		"PriceRanges": [{ "From":100000, "To":600000 }],
		"LivingAreaRanges": [{ "From": 50, "To":0 }],
		"PageRange": { "From":1, "To":100 },  
		"OrderField": 2, 
		"OrderDirection": 1
	}
}

DELETE https://api.hebbes.be/immo/storedsearches/{id}
Request body Parameter

  • id: stored search id

GET https://api.hebbes.be/immo/deviceRegistrations

POST https://api.hebbes.be/immo/deviceRegistrations
Request body

{
    "UserName": "squintelier@concentra.be",
    "AppId": "1234567890",
    "DeviceId": ")(*&^%$#@!",
    "DeviceToken": "mod QWERTYUIOP",
    "DeviceInfo": "PC WIN 8"
}

GET https://api.hebbes.be/immo/filter/{id}

POST https://api.hebbes.be/immo/sendcontactmail
Request body

{
    "Name": "John Doe",
    "Phone": "+3211878111",
    "Email": "john.doe@concentra.be",
    "Question": "Graag meer info over deze woning.",
    "PartnerName": "Immo broker",
    "PartnerEmail": "HebbesAccPartner@concentra.be",
    "AdId": "7578773",
    "AdTitle": "Een mooi huis met een te hoge prijs",
    "AdStreet": "Herkenrodesingel",
    "AdHouseNumber": "10",
    "AdZip": "3500",
    "AdCity": "HASSELT",
    "AdOwnerReference": "test00001",
    "AdUrl": "http://hebbes-acc.concentra.be/immo/zoeker/7578773",
    "AdImage": "http://hebbes-acc.concentra.be/Immo/HebbesAssets/Immo/AdsImages/75/78/77/3/1.jpg"
}