Parameter | Required | Description | Data Type |
---|---|---|---|
carId | true | ID of car that needs to be fetched | string |
Status Code | Reason |
---|---|
400 | Invalid ID supplied |
404 | Car not found |
Parameter | Required | Description | Data Type |
---|---|---|---|
garageId | true | ID of garage that needs to be fetched | string |
Status Code | Reason |
---|---|
400 | Invalid ID supplied |
404 | Garage not found |
Parameter | Required | Description | Data Type |
---|---|---|---|
carId | true | ID of car that needs to be fetched | string |
Status Code | Reason |
---|---|
400 | Invalid ID supplied |
404 | Car not found |
type | required | access | description | notes |
---|---|---|---|---|
int | required | - | - | car's id |
float | required | - | - | The price of the car |
string | required | - | - | The engine parameter of the car |
boolean | required | - | - | Indicate the car is MT or AT |
string | required | - | - | The brand of the car |
string | optional | - | - | Any other comments for the car |
type | required | access | description | notes |
---|---|---|---|---|
int | required | - | - | Garage's id |
string | required | - | - | The address of the garage |
string | required | - | - | The description of the garage |
string | required | - | - | The name of the garage |
string | required | - | - | The telephone of the garage |