Download OpenAPI specification:Download
If you have any questions, comments or feedback regarding our APIs, please contact developer@ovipro.fi.
Below is the summary of most common error codes included in the response's errorCode
field.
HTTP status code | Error code | Meaning |
---|---|---|
400 | BAD_REQUEST_PARAMETERS |
Invalid request with e.g. missing mandatory parameters. |
400 | BAD_REQUEST_BODY |
Invalid request body with e.g. missing mandatory fields. |
400 | VALUE_REQUIRED |
Mandatory value missing for the request. |
400 | INVALID_TYPE |
Invalid data type provided for the value in the request. |
400 | INVALID_STATUS |
Unable to perform the request operation due to invalid state. |
401 | UNAUTHORIZED |
Unauthorized request. |
404 | INVALID_ID |
Missing or invalid identifier. |
404 | INVALID_API_KEY |
Missing or invalid API key. |
415 | UNSUPPORTED_MEDIA_TYPE |
Unsupported media type. |
500 | TECHNICAL_ERROR |
A technical error has occurred. |
Finds the agencies which are visible to the specified agent.
agentId required | string <uuid> ^([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[8... Example: agentId=b0d2a485-6a73-468a-9acc-d8ce9b620b3d A unique id which identifies the agent. |
Request-ID required | string <uuid> Example: 9031d1c5-7d40-41dd-b2b8-7919a2fc4fe9 A unique id which identifies the HTTP request. The value of this header must be created by the client. |
{- "agencies": [
- {
- "agencyId": "56956001-28b7-4f57-b7e5-cc32acf4adfb",
- "agencyNumber": 1021,
- "agencyOrganizationGroupId": "4ba0a05e-6a35-4a79-a556-ec2a2a0e1dac",
- "businessIdentification": {
- "businessId": "FI02472382",
- "schemeId": "VAT"
}, - "invoicing": {
- "contactEmail": "laskutus@kiinteistoykkonen.fi",
- "invoicingEmail": "laskutus@kiinteistoykkonen.fi",
- "contactName": "Laskutus",
- "departmentName": "Taloushallinto",
- "eInvoicingEnabled": true,
- "networkServiceId": "003702472382",
- "operatorId": "OKOYFIHH",
- "invoicingAddress": {
- "addressLine1": "Yliopistonkatu 55",
- "postcode": "33100",
- "postalArea": "Tampere",
- "localityName": "Tampere",
- "regionName": "Pirkanmaa",
- "countryCode": "FI"
}
}, - "marketingName": "Kiinteistöykkönen Pirkanmaa",
- "officialName": "Kiinteistöykkönen Pirkanmaa Oy LKV",
- "state": "ACTIVE",
- "visitingAddress": {
- "addressLine1": "Yliopistonkatu 55",
- "postcode": "33100",
- "postalArea": "Tampere",
- "localityName": "Tampere",
- "regionName": "Pirkanmaa",
- "countryCode": "FI"
}
}, - {
- "agencyId": "8a73a922-198b-4f43-86bc-ed62120014c0",
- "agencyNumber": 1022,
- "agencyOrganizationGroupId": "4ba0a05e-6a35-4a79-a556-ec2a2a0e1dac",
- "businessIdentification": {
- "businessId": "0252345-3",
- "schemeId": "FI:ORGNR"
}, - "invoicing": {
- "contactEmail": "laskutus@kiinteistoykkonen.fi",
- "invoicingEmail": "laskutus@kiinteistoykkonen.fi",
- "contactName": "Laskutus",
- "departmentName": "Taloushallinto",
- "eInvoicingEnabled": true,
- "networkServiceId": "003702523453",
- "operatorId": "OKOYFIHH",
- "invoicingAddress": {
- "addressLine1": "Alppitie 10",
- "postcode": "90530",
- "postalArea": "Oulu",
- "localityName": "Oulu",
- "regionName": "Oulu",
- "countryCode": "FI"
}
}, - "marketingName": "Kiinteistöykkönen Oulu",
- "officialName": "Kiinteistöykkönen Oulu Oy LKV",
- "state": "ACTIVE",
- "visitingAddress": {
- "addressLine1": "Alppitie 10",
- "postcode": "90530",
- "postalArea": "Oulu",
- "localityName": "Oulu",
- "regionName": "Oulu",
- "countryCode": "FI"
}
}
]
}
Finds the specified agency.
agencyId required | string <uuid> Example: 3ee33c0c-312b-49f6-b5b3-98e2cbaf832f A unique id which identifies the agency. |
Request-ID required | string <uuid> Example: 9031d1c5-7d40-41dd-b2b8-7919a2fc4fe9 A unique id which identifies the HTTP request. The value of this header must be created by the client. |
{- "agencyId": "56956001-28b7-4f57-b7e5-cc32acf4adfb",
- "agencyNumber": 1021,
- "agencyOrganizationGroupId": "4ba0a05e-6a35-4a79-a556-ec2a2a0e1dac",
- "businessIdentification": {
- "businessId": "FI02472382",
- "schemeId": "VAT"
}, - "invoicing": {
- "contactEmail": "laskutus@kiinteistoykkonen.fi",
- "invoicingEmail": "laskutus@kiinteistoykkonen.fi",
- "contactName": "Laskutus",
- "departmentName": "Taloushallinto",
- "eInvoicingEnabled": true,
- "networkServiceId": "003702472382",
- "operatorId": "OKOYFIHH",
- "invoicingAddress": {
- "addressLine1": "Yliopistonkatu 55",
- "postcode": "33100",
- "postalArea": "Tampere",
- "localityName": "Tampere",
- "regionName": "Pirkanmaa",
- "countryCode": "FI"
}
}, - "marketingName": "Kiinteistöykkönen Pirkanmaa",
- "officialName": "Kiinteistöykkönen Pirkanmaa Oy LKV",
- "visitingAddress": {
- "addressLine1": "Yliopistonkatu 55",
- "postcode": "33100",
- "postalArea": "Tampere",
- "localityName": "Tampere",
- "regionName": "Pirkanmaa",
- "countryCode": "FI"
}
}
Finds agency offices by using the specified search criteria. The search logic is explained in the following:
agencyId
is given, this endpoint returns the offices of the
specified agency which are visible to the authenticated user.agentId
is given, this endpoint returns all offices which
are visible to the specified user.agencyId
and agentId
are given, this endpoint returns the offices
of the specified agency which are visible to the specified user.agencyId | string <uuid> Example: agencyId=16327644-e026-482d-9670-00334cbd631f A unique identifier of an agency. |
agentId | string <uuid> Example: agentId=b44e1a5b-2c3b-4ed1-b559-2093437da4c5 A unique identifier of an agent. |
modifiedAfter | string <date-time> Example: modifiedAfter=2021-11-12T12:34:56+02:00 The date and time after which the object were modified. |
Request-ID required | string <uuid> Example: 9031d1c5-7d40-41dd-b2b8-7919a2fc4fe9 A unique id which identifies the HTTP request. The value of this header must be created by the client. |
{- "agencyOffices": [
- {
- "agencyOfficeId": "edf9fb6b-00d6-4769-812e-d0c93a584c7b",
- "agencyOfficeNumber": 1055,
- "agency": {
- "agencyId": "ecddaeca-160a-46c4-987a-075942a4c512",
- "marketingName": "Kiinteistöykkönen Pirkanmaa",
- "businessIdentifier": {
- "businessId": "FI02472382",
- "schemeId": "VAT"
}
}, - "agencyOrganizationGroup": {
- "agencyOrganizationGroupId": "16a2c77e-b445-47fc-ae23-a14b0c0c0dc2",
- "name": "Kiinteistöykkönen"
}, - "contacts": [
- {
- "id": "2c270db0-493b-4105-82e3-f39ac66866f6",
- "contactType": "EMAIL",
- "value": "tampere@kiinteistoykkonen.fi"
}, - {
- "id": "7a32a552-7df1-47f6-96a1-a5c5086e9d1d",
- "contactType": "PHONE",
- "value": "+35835233423"
}, - {
- "id": "79e84930-655b-4242-8526-d7001ba8309f",
- "contactType": "INSTAGRAM",
}
], - "description": [
- {
- "languageCode": "en",
- "text": "Welcome. We serve you with high quality by our local agents. Invite us to rate your home and we'll tell you more"
}, - {
- "languageCode": "fi",
- "text": "Tervetuloa. Palvelemme paikkakuntalaisten välittäjiemme toimesta Sinuakin laadukkaasti. Kutsu meidät arvioimaan kotisi, niin kerromme lisää."
}, - {
- "languageCode": "sv",
- "text": "Välkommen. Vi betjänar dig med hög kvalitet av våra lokala mäklare. Bjud in oss att värdera ditt hem så berättar vi mer"
}
], - "location": {
- "latitude": 61.49662,
- "longitude": 23.78047
}, - "name": "Kiinteistöykkönen Tampere",
- "state": "ACTIVE",
- "postalAddress": {
- "addressLine1": "PL 342",
- "postcode": "33100",
- "postalArea": "Tampere",
- "localityName": "Tampere",
- "regionName": "Pirkanmaa",
- "countryCode": "FI"
}, - "visitingAddress": {
- "addressLine1": "Yliopistonkatu 55",
- "postcode": "33100",
- "postalArea": "Tampere",
- "localityName": "Tampere",
- "regionName": "Pirkanmaa",
- "countryCode": "FI"
}, - "modificationTime": "2021-03-09T09:00:00.000Z"
}, - {
- "agencyOfficeId": "d96ce113-9ca6-40e8-8502-d69b67e4de5b",
- "agencyOfficeNumber": 1056,
- "agency": {
- "agencyId": "ecddaeca-160a-46c4-987a-075942a4c512",
- "marketingName": "Kiinteistöykkönen Oulu",
- "businessIdentifier": {
- "businessId": "FI02472382",
- "schemeId": "VAT"
}
}, - "agencyOrganizationGroup": {
- "agencyOrganizationGroupId": "16a2c77e-b445-47fc-ae23-a14b0c0c0dc2",
- "name": "Kiinteistöykkönen"
}, - "contacts": [
- {
- "id": "371f9b4b-02ff-4606-9974-46b271f554be",
- "contactType": "EMAIL",
- "value": "oulu@kiinteistoykkonen.fi"
}, - {
- "id": "f5a8f86b-f963-498e-9ef0-cceb542c6cae",
- "contactType": "PHONE",
- "value": "+358814533423"
}, - {
- "id": "199556df-1659-49f6-978c-04196b9d2634",
- "contactType": "INSTAGRAM",
}
], - "description": [
- {
- "languageCode": "en",
- "text": "Welcome to Oulu. We serve you with high quality by our local agents. Invite us to rate your home and we'll tell you more"
}, - {
- "languageCode": "fi",
- "text": "Tervetuloa Ouluun. Palvelemme paikkakuntalaisten välittäjiemme toimesta Sinuakin laadukkaasti. Kutsu meidät arvioimaan kotisi, niin kerromme lisää."
}, - {
- "languageCode": "sv",
- "text": "Välkommen till Uleaborg. Vi betjänar dig med hög kvalitet av våra lokala mäklare. Bjud in oss att värdera ditt hem så berättar vi mer"
}
], - "location": {
- "latitude": 61.48662,
- "longitude": 23.24047
}, - "name": "Kiinteistöykkönen Oulu",
- "state": "ACTIVE",
- "postalAddress": {
- "addressLine1": "Alppitie 10",
- "postcode": "90530",
- "postalArea": "Oulu",
- "localityName": "Oulu",
- "regionName": "Oulu",
- "countryCode": "FI"
}, - "visitingAddress": {
- "addressLine1": "Alppitie 10",
- "postcode": "90530",
- "postalArea": "Oulu",
- "localityName": "Oulu",
- "regionName": "Oulu",
- "countryCode": "FI"
}, - "modificationTime": "2021-03-09T09:00:00.000Z"
}
]
}
Finds the specified agency office.
agencyOfficeId required | string <uuid> ^([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[8... Example: edf9fb6b-00d6-4769-812e-d0c93a584c7b A unique id which identifies the agency office. |
Request-ID required | string <uuid> Example: 9031d1c5-7d40-41dd-b2b8-7919a2fc4fe9 A unique id which identifies the HTTP request. The value of this header must be created by the client. |
{- "agencyOfficeId": "edf9fb6b-00d6-4769-812e-d0c93a584c7b",
- "agencyOfficeNumber": 1055,
- "agency": {
- "agencyId": "ecddaeca-160a-46c4-987a-075942a4c512",
- "marketingName": "Kiinteistöykkönen Pirkanmaa",
- "businessIdentifier": {
- "businessId": "FI02472382",
- "schemeId": "VAT"
}
}, - "agencyOrganizationGroup": {
- "agencyOrganizationGroupId": "16a2c77e-b445-47fc-ae23-a14b0c0c0dc2",
- "name": "Kiinteistöykkönen"
}, - "contacts": [
- {
- "id": "2c270db0-493b-4105-82e3-f39ac66866f6",
- "contactType": "EMAIL",
- "value": "tampere@kiinteistoykkonen.fi"
}, - {
- "id": "7a32a552-7df1-47f6-96a1-a5c5086e9d1d",
- "contactType": "PHONE",
- "value": "+35835233423"
}, - {
- "id": "ec88251c-f299-4b5c-8252-8deb6d387652",
- "contactType": "INSTAGRAM",
}
], - "name": "Kiinteistöykkönen Tampere",
- "marketingName": [
- {
- "languageCode": "fi",
- "text": "Kiinteistöykkönen Tampere"
}, - {
- "languageCode": "sv",
- "text": "Kiinteistöykkönen Tammerfors"
}
], - "description": [
- {
- "languageCode": "en",
- "text": "Welcome. We serve you with high quality by our local agents. Invite us to rate your home and we'll tell you more"
}, - {
- "languageCode": "fi",
- "text": "Tervetuloa. Palvelemme paikkakuntalaisten välittäjiemme toimesta Sinuakin laadukkaasti. Kutsu meidät arvioimaan kotisi, niin kerromme lisää."
}, - {
- "languageCode": "sv",
- "text": "Välkommen. Vi betjänar dig med hög kvalitet av våra lokala mäklare. Bjud in oss att värdera ditt hem så berättar vi mer"
}
], - "currentNewsDescription": [
- {
- "languageCode": "en",
- "text": "We are open also the following Sunday"
}, - {
- "languageCode": "fi",
- "text": "Toimisto on auki myös tulevana sunnuntaina"
}, - {
- "languageCode": "sv",
- "text": "Vi är också öppet nästa söndag"
}
], - "location": {
- "latitude": 61.49662,
- "longitude": 23.78047
}, - "postalAddress": {
- "addressLine1": "PL 342",
- "postcode": "33100",
- "postalArea": "Tampere",
- "localityName": "Tampere",
- "regionName": "Pirkanmaa",
- "countryCode": "FI"
}, - "visitingAddress": {
- "addressLine1": "Yliopistonkatu 55",
- "postcode": "33100",
- "postalArea": "Tampere",
- "localityName": "Tampere",
- "regionName": "Pirkanmaa",
- "countryCode": "FI"
}, - "contracts": [
- {
- "serviceName": "Etuovi",
- "contractProducts": [
- {
- "productName": "Laajakuva, kiinteä hinta"
}, - {
- "productName": "Brändinäkyvyys, elinkaarihinta"
}
]
}
], - "tags": [
- {
- "tag": "90100"
}, - {
- "tag": "90250"
}
], - "contactRecipientCode": "RESPONSIBLE_AGENT",
- "agentSortOrderCode": "RANDOM",
- "recommendation": {
- "recommendationPercentage": 98,
- "includeRecommendationPublicly": true
}, - "phoneDescription": [
- {
- "languageCode": "en",
- "text": "0.05 € / minute"
}, - {
- "languageCode": "fi",
- "text": "0.05 € / minuutti"
}, - {
- "languageCode": "sv",
- "text": "0.05 € / minut"
}
], - "financialAccounts": [
- {
- "financialInstitutionName": "Danske Bank A/S",
- "financialInstitutionId": "DABAFIHH",
- "financialAccountId": "F12180000012345678"
}
], - "financialAccountForDownPayments": {
- "financialInstitutionName": "OP",
- "financialInstitutionId": "DABAFIHH",
- "financialAccountId": "FI1234567890123456"
}, - "billing": {
- "latePaymentFee": 8,
- "currencyCode": "EUR",
- "noticePeriod": 14
}, - "branding": {
- "primaryColor": "#000000"
}, - "reportingName": "Kiinteistöykkönen Tampere",
}
Updates the specified agency office.
agencyOfficeId required | string <uuid> ^([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[8... Example: edf9fb6b-00d6-4769-812e-d0c93a584c7b A unique id which identifies the agency office. |
Request-ID required | string <uuid> Example: 9031d1c5-7d40-41dd-b2b8-7919a2fc4fe9 A unique id which identifies the HTTP request. The value of this header must be created by the client. |
Contains the updated agency office.
agencyOfficeId required | string <uuid> (AgencyOfficeId) An unique identifies of the agency office. |
Array of objects (AgencyOfficeMarketingName) An array which contains the different translations. | |
Array of objects (AgencyOfficeDescription) An array which contains the different translations. | |
Array of objects (CurrentNewsDescription) An array which contains the different translations. | |
Array of objects (Tags) Tag which classifies the agency office. An agency office can have several tags. | |
Array of objects (Link) Additional links for the agency office, for example to a privacy statement. | |
Array of objects (SupplierAssignedIdentifiers) Identifiers assigned for the entity in other systems. | |
contactRecipientCode | string (ContactRecipientCode) Enum: "RESPONSIBLE_AGENT" "AGENCY_OFFICE" "AGENCY" Identifies the contact type to whom the contacts are delivered. Possible values are:
|
agentSortOrderCode | string (AgentSortOrderCode) Enum: "AGENT_NAME" "RANDOM" "NEWEST" "MOST_RECOMMENDED" Identifies the sort order of the agents. This is an additional guidance for the API caller using agent search. Possible values are:
|
object (Recommendation) | |
Array of objects (PhoneDescription) An array which contains the different translations. | |
Array of objects (FinancialAccount) Financial accounts for the agency office. | |
object (FinancialAccount) | |
object (Billing) Billing information | |
object (Branding) Branding information | |
reportingName | string (AgencyOfficeReportingName) The reporting name of the agency office. |
auctionFollowUrlTemplate | string (AuctionFollowUrlTemplate) The URL template for following the auctions. The template have to contain the {friendlyId} placeholder. |
Array of objects (JointSalesClause) An array which contains the different translations. |
{- "agencyOfficeId": "edf9fb6b-00d6-4769-812e-d0c93a584c7b",
- "marketingName": [
- {
- "languageCode": "fi",
- "text": "Kiinteistöykkönen Tampere"
}, - {
- "languageCode": "sv",
- "text": "Kiinteistöykkönen Tammerfors"
}
], - "description": [
- {
- "languageCode": "en",
- "text": "Welcome. We serve you with high quality by our local agents. Invite us to rate your home and we'll tell you more"
}, - {
- "languageCode": "fi",
- "text": "Tervetuloa. Palvelemme paikkakuntalaisten välittäjiemme toimesta Sinuakin laadukkaasti. Kutsu meidät arvioimaan kotisi, niin kerromme lisää."
}, - {
- "languageCode": "sv",
- "text": "Välkommen. Vi betjänar dig med hög kvalitet av våra lokala mäklare. Bjud in oss att värdera ditt hem så berättar vi mer"
}
], - "currentNewsDescription": [
- {
- "languageCode": "en",
- "text": "We are open also the following Sunday"
}, - {
- "languageCode": "fi",
- "text": "Toimisto on auki myös tulevana sunnuntaina"
}, - {
- "languageCode": "sv",
- "text": "Vi är också öppet nästa söndag"
}
], - "tags": [
- {
- "tag": "90100"
}, - {
- "tag": "90250"
}
], - "supplierAssignedIdentifiers": [
- {
- "supplierAssignedId": "a87634432",
- "schemeId": "ORIGINAL_SOURCE_ID"
}
], - "contactRecipientCode": "RESPONSIBLE_AGENT",
- "agentSortOrderCode": "RANDOM",
- "recommendation": {
- "recommendationPercentage": 98,
- "includeRecommendationPublicly": true
}, - "phoneDescription": [
- {
- "languageCode": "en",
- "text": "0.05 € / minute"
}, - {
- "languageCode": "fi",
- "text": "0.05 € / minuutti"
}, - {
- "languageCode": "sv",
- "text": "0.05 € / minut"
}
], - "financialAccounts": [
- {
- "financialInstitutionName": "Danske Bank A/S",
- "financialInstitutionId": "DABAFIHH",
- "financialAccountId": "F12180000012345678"
}
], - "financialAccountForDownPayments": {
- "financialInstitutionName": "OP",
- "financialInstitutionId": "DABAFIHH",
- "financialAccountId": "FI1234567890123456"
}, - "billing": {
- "latePaymentFee": 8,
- "currencyCode": "EUR",
- "noticePeriod": 14
}, - "branding": {
- "primaryColor": "#000000"
}, - "reportingName": "Kiinteistöykkönen Tampere",
}
{- "errorCode": "BAD_REQUEST_BODY",
- "message": "Invalid request body",
- "errors": [
- {
- "target": "[0].contactType",
- "errorCode": "VALUE_REQUIRED",
- "message": "Mandatory property contactType is missing"
}
]
}
Updates the coordinates of the specified agency office.
agencyOfficeId required | string <uuid> ^([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[8... Example: edf9fb6b-00d6-4769-812e-d0c93a584c7b A unique id which identifies the agency office. |
Request-ID required | string <uuid> Example: 9031d1c5-7d40-41dd-b2b8-7919a2fc4fe9 A unique id which identifies the HTTP request. The value of this header must be created by the client. |
Contains the new coordinates of the specified agency office.
latitude required | number <double> A geographic coordinate that specifies the north–south position of a point on the Earth's surface. |
longitude required | number <double> A geographic coordinate that specifies the east–west position of a point on the Earth's surface. |
{- "latitude": 61.48662,
- "longitude": 23.24047
}
{- "errorCode": "BAD_REQUEST_BODY",
- "message": "Invalid request body",
- "errors": [
- {
- "target": "latitude",
- "errorCode": "VALUE_REQUIRED",
- "message": "Mandatory property latitude is missing"
}
]
}
Updates the contact for the specified agency office. The response body of the HTTP request contains an array which contains the new contact for the given agency office.
agencyOfficeId required | string <uuid> ^([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[8... Example: edf9fb6b-00d6-4769-812e-d0c93a584c7b A unique id which identifies the agency office. |
Request-ID required | string <uuid> Example: 9031d1c5-7d40-41dd-b2b8-7919a2fc4fe9 A unique id which identifies the HTTP request. The value of this header must be created by the client. |
Contains the updated or created contact and office description.
If the id of the contact isn't specified, a new contact is added. If the id of the contact is specified, the existing contact is updated.
If an existing contact isn't found from this array, it will be deleted from the database.
Note that this array can contain multiple items.
required | Array of objects (Contacts) Contains the contact details for the agency office |
Array of objects (AgencyOfficeDescription) An array which contains the different translations. |
{- "contacts": [
- {
- "id": "ec88251c-f299-4b5c-8252-8deb6d3873d7",
- "contactType": "EMAIL",
- "value": "tampere@kiinteistoykkonen.fi"
}, - {
- "id": "ec88251c-f299-4b5c-8252-8deb6d387512",
- "contactType": "OPENING_HOURS",
- "value": "Avoinna ma-pe 10-19, la 10-16"
}, - {
- "id": "37898e1c-ea59-4986-9812-5f2deeab4b00",
- "contactType": "FACEBOOK",
}, - {
- "id": "79e84930-655b-4242-8526-d7001ba8309f",
- "contactType": "INSTAGRAM",
}, - {
- "id": "ad10b5d5-c11c-47fb-bc4b-b47965cb6c23",
- "contactType": "LINKED_IN",
}, - {
- "id": "2b41d56b-73a8-4be5-b3e5-d51057e698e0",
- "contactType": "TWITTER",
}, - {
- "id": "8c50dadb-f070-4131-a91a-5b88e38c21ed",
- "contactType": "SOCIAL_MEDIA",
}
], - "officeDescription": [
- {
- "languageCode": "en",
- "text": "Welcome. We serve you with high quality by our local agents. Invite us to rate your home and we'll tell you more"
}, - {
- "languageCode": "fi",
- "text": "Tervetuloa. Palvelemme paikkakuntalaisten välittäjiemme toimesta Sinuakin laadukkaasti. Kutsu meidät arvioimaan kotisi, niin kerromme lisää."
}, - {
- "languageCode": "sv",
- "text": "Välkommen. Vi betjänar dig med hög kvalitet av våra lokala mäklare. Bjud in oss att värdera ditt hem så berättar vi mer"
}
]
}
{- "errorCode": "BAD_REQUEST_BODY",
- "message": "Invalid request body",
- "errors": [
- {
- "target": "[0].contactType",
- "errorCode": "VALUE_REQUIRED",
- "message": "Mandatory property contactType is missing"
}
]
}
Finds the public agents of the specified agency office.
agencyOfficeId required | string <uuid> ^([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[8... Example: edf9fb6b-00d6-4769-812e-d0c93a584c7b A unique id which identifies the agency office. |
Request-ID required | string <uuid> Example: 9031d1c5-7d40-41dd-b2b8-7919a2fc4fe9 A unique id which identifies the HTTP request. The value of this header must be created by the client. |
{- "agents": [
- {
- "agentId": "f7449ecf-116e-4f57-890d-1f49a11fab78"
}, - {
- "agentId": "f7240e90-584c-4474-ae63-28ba2edc3152"
}, - {
- "agentId": "4b8e06e1-01c9-4a40-b743-096bc2d6b257"
}
]
}
Adds a public agent to the specified agency office.
agencyOfficeId required | string <uuid> ^([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[8... Example: edf9fb6b-00d6-4769-812e-d0c93a584c7b A unique id which identifies the agency office. |
Request-ID required | string <uuid> Example: 9031d1c5-7d40-41dd-b2b8-7919a2fc4fe9 A unique id which identifies the HTTP request. The value of this header must be created by the client. |
Contains the public agent to be added to the specified agency office.
agentId required | string <uuid> (AgentId) ^([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[8... The unique id of the agent. |
{- "agentId": "57f60566-75d6-481a-bdc8-c85c0ed82ca0"
}
{- "errorCode": "BAD_REQUEST_PARAMETERS",
- "message": "Invalid request parameters."
}
Deletes a public agent from the specified agency office.
agencyOfficeId required | string <uuid> ^([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[8... Example: edf9fb6b-00d6-4769-812e-d0c93a584c7b A unique id which identifies the agency office. |
agentId required | string <uuid> ^([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[8... Example: edf9fb6b-00d6-4769-812e-d0c93a584c7b A unique id which identifies the agent. |
Request-ID required | string <uuid> Example: 9031d1c5-7d40-41dd-b2b8-7919a2fc4fe9 A unique id which identifies the HTTP request. The value of this header must be created by the client. |
{ }
Finds all agents with specified search parameters.
agencyOfficeId | string <uuid> ^([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[8... Example: agencyOfficeId=38046447-49ba-4379-a36c-348a96b321b1 A unique id which identifies the agency office. |
modifiedAfter | string <date-time> Example: modifiedAfter=2021-11-12T12:34:56+02:00 The date and time after which the object were modified. |
agentId | Array of strings <uuid> Example: agentId=edf9fb6b-00d6-4769-812e-d0c93a584c7b&agentId=abdb48eb-19d8-4b98-a045-63acf3306e79 A unique id which identifies the agent. |
Request-ID required | string <uuid> Example: 9031d1c5-7d40-41dd-b2b8-7919a2fc4fe9 A unique id which identifies the HTTP request. The value of this header must be created by the client. |
{- "agents": [
- {
- "agentId": "ecddaeca-160a-46c4-987a-075942a4c512",
- "firstName": "Ville",
- "lastName": "Välittäjä",
- "emailAddress": "ville.valittaja@example.com",
- "phoneNumber": "+358 40 123 4567",
- "title": "LKV",
- "profilePictureUrl": "//d9zbdvy28211i.cloudfront.net/{imageParameters}/eomqa1media/ovi/business_user_profile/76/e0e4c4eb-f1de-44ce-9714-5c9a7cdba7aa.png",
- "supplierAssignedIdentifiers": [
- {
- "supplierAssignedId": "PA_5237844",
- "schemeId": "ORIGINAL_SOURCE_ID"
}
], - "state": "ACTIVE",
- "modificationTime": "2019-01-01T12:00:00Z"
}
], - "totalCount": 1
}
Finds an agent with the specified id.
agentId required | string <uuid> ^([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[8... Example: edf9fb6b-00d6-4769-812e-d0c93a584c7b A unique id which identifies the agent. |
Request-ID required | string <uuid> Example: 9031d1c5-7d40-41dd-b2b8-7919a2fc4fe9 A unique id which identifies the HTTP request. The value of this header must be created by the client. |
{- "agentId": "ecddaeca-160a-46c4-987a-075942a4c512",
- "firstName": "Ville",
- "lastName": "Välittäjä",
- "emailAddress": "ville.valittaja@example.com",
- "phoneNumber": "+358 40 123 4567",
- "title": "LKV",
- "description": "Olen kokenut kiinteistönvälittäjä ja toiminut alalla jo 10 vuotta.",
- "birthDate": "1985-05-12",
- "languages": [
- "FI"
], - "degrees": [
- "LKV"
], - "customerFeedback": {
- "feedbacks": [
- "Very good"
], - "includeFeedbacksPublicly": true
}, - "recommendation": {
- "recommendationPercentage": 100,
- "includeRecommendationPublicly": true
}, - "specialSkills": [
- "Old houses"
], - "contacts": [
- {
- "contactType": "EMAIL",
- "value": "tampere@kiinteistoykkonen.fi"
}
], - "profilePictureUrl": "//d9zbdvy28211i.cloudfront.net/{imageParameters}/eomqa1media/ovi/business_user_profile/76/e0e4c4eb-f1de-44ce-9714-5c9a7cdba7aa.png",
- "supplierAssignedIdentifiers": [
- {
- "supplierAssignedId": "PA_5237844",
- "schemeId": "ORIGINAL_SOURCE_ID"
}
], - "publicAgentAgencyOfficeIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "state": "ACTIVE",
- "defaultAgencyOfficeId": "ec88251c-f299-4b5c-8252-8deb6d3873d7",
- "modificationTime": "2019-01-01T12:00:00Z"
}