Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Car Rental for Rental Company Gives Wrong Info on Filter #182

Open
mhrosen opened this issue Jul 13, 2020 · 1 comment
Open

Car Rental for Rental Company Gives Wrong Info on Filter #182

mhrosen opened this issue Jul 13, 2020 · 1 comment

Comments

@mhrosen
Copy link
Collaborator

mhrosen commented Jul 13, 2020

I did curl https://bee-travels.v2.ibmdeveloper.net/api/v1/cars/china/wuhan?rental_company=Carlux&body_type=suv&style=luxury

The response was:

[
    {
        "id":"572aee3d-e6a5-4e3f-89a1-e87859af8146",
        "car_id":"a88b1991-59cb-4189-a540-204f082b3db2",
        "city":"Wuhan",
        "country":"China",
        "rental_company":"Chakra",
        "cost":243,
        "name":"Porsche Cayenne",
        "body_type":"suv",
        "style":"luxury",
        "image":"https://s3.us.cloud-object-storage.appdomain.cloud/bee-travels-cars/porsche_cayenne.jpg"
    },
    {
        "id":"f4e93d6f-e640-4f20-8db6-85468318139a",
        "car_id":"a88b1991-59cb-4189-a540-204f082b3db2",
        "city":"Wuhan",
        "country":"China",
        "rental_company":"Carlux",
        "cost":248,
        "name":"Porsche Cayenne",
        "body_type":"suv",
        "style":"luxury",
        "image":"https://s3.us.cloud-object-storage.appdomain.cloud/bee-travels-cars/porsche_cayenne.jpg"
    },
    {
        "id":"d67347f2-51f5-4c9f-8561-5c630adc6836",
        "car_id":"6896b0bf-8acf-46c2-8d59-2705ad881f40",
        "city":"Wuhan",
        "country":"China",
        "rental_company":"Rentio",
        "cost":237,
        "name":"Chevrolet Suburban",
        "body_type":"suv",
        "style":"luxury",
        "image":"https://s3.us.cloud-object-storage.appdomain.cloud/bee-travels-cars/chevrolet_suburban.jpg"
    },
    {
        "id":"8c67761d-c825-413f-badf-cd725a40a968",
        "car_id":"6896b0bf-8acf-46c2-8d59-2705ad881f40",
        "city":"Wuhan",
        "country":"China",
        "rental_company":"Capsule",
        "cost":210,
        "name":"Chevrolet Suburban",
        "body_type":"suv",
        "style":"luxury",
        "image":"https://s3.us.cloud-object-storage.appdomain.cloud/bee-travels-cars/chevrolet_suburban.jpg"
    },
    {
        "id":"fc9b8041-c2be-488d-9505-c6c0fba76416",
        "car_id":"6896b0bf-8acf-46c2-8d59-2705ad881f40",
        "city":"Wuhan",
        "country":"China",
        "rental_company":"Capsule",
        "cost":217,
        "name":"Chevrolet Suburban",
        "body_type":"suv",
        "style":"luxury",
        "image":"https://s3.us.cloud-object-storage.appdomain.cloud/bee-travels-cars/chevrolet_suburban.jpg"
    },
    {
        "id":"a74d2cd3-cfbf-4615-bc38-50778dedacda",
        "car_id":"6896b0bf-8acf-46c2-8d59-2705ad881f40",
        "city":"Wuhan",
        "country":"China",
        "rental_company":"Rentio",
        "cost":207,
        "name":"Chevrolet Suburban",
        "body_type":"suv",
        "style":"luxury",
        "image":"https://s3.us.cloud-object-storage.appdomain.cloud/bee-travels-cars/chevrolet_suburban.jpg"
    },
    {
        "id":"82d51bad-53f2-4b0e-91b7-7f2ede57836a",
        "car_id":"6896b0bf-8acf-46c2-8d59-2705ad881f40",
        "city":"Wuhan",
        "country":"China",
        "rental_company":"Rentio",
        "cost":231,
        "name":"Chevrolet Suburban",
        "body_type":"suv",
        "style":"luxury",
        "image":"https://s3.us.cloud-object-storage.appdomain.cloud/bee-travels-cars/chevrolet_suburban.jpg"
    },
    {
        "id":"6063587a-00f3-42c5-93b7-0c0853f1cb1d",
        "car_id":"6896b0bf-8acf-46c2-8d59-2705ad881f40",
        "city":"Wuhan",
        "country":"China",
        "rental_company":"Rent Pad",
        "cost":217,
        "name":"Chevrolet Suburban",
        "body_type":"suv",
        "style":"luxury",
        "image":"https://s3.us.cloud-object-storage.appdomain.cloud/bee-travels-cars/chevrolet_suburban.jpg"
    },
    {
        "id":"2e998dad-a4b1-4a87-acc9-edd2e1983c73",
        "car_id":"a88b1991-59cb-4189-a540-204f082b3db2",
        "city":"Wuhan",
        "country":"China",
        "rental_company":"Chakra",
        "cost":243,
        "name":"Porsche Cayenne",
        "body_type":"suv",
        "style":"luxury",
        "image":"https://s3.us.cloud-object-storage.appdomain.cloud/bee-travels-cars/porsche_cayenne.jpg"
    }
]

There are results with different rental companies when it should only be Carlux

@MaxShapiro32
Copy link
Member

@mhrosen This has been fixed and just needs to be updated on https://bee-travels.v2.ibmdeveloper.net

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants