{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/transport:mercedes-benz-dealer/countries-get":{"get":{"operationId":"transport_mercedes_benz_dealer_countries_get","summary":"This request returns the countries supported by the Dealer API","description":"GET /countries","tags":["transport"],"parameters":[{"name":"page","in":"query","required":false,"description":"The index of the page to be returned. If this parameter is omitted, the first page will be returned.","schema":{"type":"integer","description":"The index of the page to be returned. If this parameter is omitted, the first page will be returned."}},{"name":"pageSize","in":"query","required":false,"description":"The index of the page to be returned. If this parameter is omitted, the first page will be returned.","schema":{"type":"integer","description":"The index of the page to be returned. If this parameter is omitted, the first page will be returned."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/transport:mercedes-benz-dealer/dealers-get":{"get":{"operationId":"transport_mercedes_benz_dealer_dealers_get","summary":"This request returns dealers (dealer, garage, retailer, etc.) for given parameters","description":"GET /dealers","tags":["transport"],"parameters":[{"name":"dealerIds","in":"query","required":false,"description":"Array of dealer ids. The dealer id is dealer’s business key, also known as GS Id. e.g. GS0000857,GS0017621","schema":{"type":"array","description":"Array of dealer ids. The dealer id is dealer’s business key, also known as GS Id. e.g. GS0000857,GS0017621"}},{"name":"latitude","in":"query","required":false,"description":"The latitude geo coordinate.","schema":{"type":"number","description":"The latitude geo coordinate."}},{"name":"longitude","in":"query","required":false,"description":"The longitude geo coordinate.","schema":{"type":"number","description":"The longitude geo coordinate."}},{"name":"radiusValue","in":"query","required":false,"description":"The radius value of the search area. The center of the search area is defined by geo coordinates. (latitude, longitude properties) If…","schema":{"type":"integer","default":10,"description":"The radius value of the search area. The center of the search area is defined by geo coordinates. (latitude, longitude properties) If…"}},{"name":"radiusUnit","in":"query","required":false,"description":"The radius unit of the search area. The center of the search area is defined by geo coordinates. (latitude, longitude properties) If…","schema":{"type":"string","enum":["M","KM","MILE"],"default":"KM","description":"The radius unit of the search area. The center of the search area is defined by geo coordinates. (latitude, longitude properties) If…"}},{"name":"countryIsoCode","in":"query","required":false,"description":"The country of the dealer address defined as ISO two letter ID (e.g. DE, CH, CN, etc.)","schema":{"type":"string","description":"The country of the dealer address defined as ISO two letter ID (e.g. DE, CH, CN, etc.)"}},{"name":"city","in":"query","required":false,"description":"The city of the dealer address.","schema":{"type":"string","description":"The city of the dealer address."}},{"name":"name","in":"query","required":false,"description":"A name of the dealer, the name filter will be applied to all Dealer names (e.g. legalName, nameAddition). You can also search for parts of…","schema":{"type":"string","description":"A name of the dealer, the name filter will be applied to all Dealer names (e.g. legalName, nameAddition). You can also search for parts of…"}},{"name":"brand","in":"query","required":false,"description":"Filter by brand, valid values are: * MB: Mercedes-Benz * SMT: Smart","schema":{"type":"string","enum":["MB","SMT"],"description":"Filter by brand, valid values are: * MB: Mercedes-Benz * SMT: Smart"}},{"name":"productGroup","in":"query","required":false,"description":"Filter by a product group","schema":{"type":"string","enum":["PASSENGER-CAR","VAN"],"description":"Filter by a product group"}},{"name":"activity","in":"query","required":false,"description":"Filter by activity, valid actitvity values are: * PARTS: Spare Parts Sales * SALES: Sales of new vehicles * SERVICE: Maintaining and…","schema":{"type":"string","enum":["PARTS","SALES","SERVICE","USED-VEHICLES-TRADE"],"description":"Filter by activity, valid actitvity values are: * PARTS: Spare Parts Sales * SALES: Sales of new vehicles * SERVICE: Maintaining and…"}},{"name":"fields","in":"query","required":false,"description":"Specifies which fields should be included in the result. If this filter is not used, per default all fields are returned. e.g.…","schema":{"type":"string","description":"Specifies which fields should be included in the result. If this filter is not used, per default all fields are returned. e.g.…"}},{"name":"page","in":"query","required":false,"description":"The index of the page to be returned. If this parameter is omitted, the first page will be returned.","schema":{"type":"integer","description":"The index of the page to be returned. If this parameter is omitted, the first page will be returned."}},{"name":"pageSize","in":"query","required":false,"description":"The index of the page to be returned. If this parameter is omitted, the first page will be returned.","schema":{"type":"integer","description":"The index of the page to be returned. If this parameter is omitted, the first page will be returned."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/transport:mercedes-benz-dealer/dealer-get":{"get":{"operationId":"transport_mercedes_benz_dealer_dealer_get","summary":"This request returns dealers for given parameters","description":"GET /dealers/{dealerId}","tags":["transport"],"parameters":[{"name":"dealerId","in":"query","required":true,"description":"The dealer id is dealer’s business key, also known as GS Id. e.g. GS0000857","schema":{"type":"string","default":"GS0000275","description":"The dealer id is dealer’s business key, also known as GS Id. e.g. GS0000857"}},{"name":"fields","in":"query","required":false,"description":"Specifies which fields should be included in the result. If this filter is not used, per default all fields are returned. e.g.…","schema":{"type":"string","description":"Specifies which fields should be included in the result. If this filter is not used, per default all fields are returned. e.g.…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}