Integrazu Adverts
Check Sync Status By Vehicle
Check sync status between ViaturasEasyDataGreen and Integrazu advert by vehicle ID.
This endpoint:
- Fetches the listing from ViaturasEasyDataGreen by vehicle_id (idviatura)
- Transforms it to Integrazu format using listing_to_integrazu()
- Looks up the Integrazu advert ID from Z_PortalExports
- Fetches the current advert from Integrazu
- Compares all fields and returns differences
Args: vehicle_id: Viatura.ID (idviatura column in ViaturasEasyDataGreen) brand_id: Z_Brands.id for token lookup pv_id: PontosDeVenda.ID for Integrazu location_id lookup
Returns: { "synced": bool, "vehicle_id": int, "listing_id": int, "integrazu_advert_id": int, "differences": [ { "field": "price", "display_name": "Preco", "local_value": 19500, "integrazu_value": 18000 }, ... ], "local_payload": {...}, "integrazu_payload": {...} }
get/api/integrazu/adverts/sync-status/by-vehicle/{vehicle_id}
Request
- Base URLhttps://api.multigest.pt (the document declares no server; this is the origin it was published from)
- URLhttps://api.multigest.pt/api/integrazu/adverts/sync-status/by-vehicle/{vehicle_id}
- AuthAPI key in header x-api-token and API key in header x-origin-verify
Path parameters
vehicle_idinteger required
Query parameters
brand_idinteger required
Z_Brands.id for token lookup
pv_idinteger required
PontosDeVenda.ID for location lookup
Headers
x-api-tokenstring nullable
Response
Successful Response
object required
Changes
No recorded changes to this operation across all 21 revisions of this API.