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 |
---|---|---|---|
Car | true | broken car1 | Car |
Parameter | Required | Description | Data Type |
---|---|---|---|
garageId | true | ID of garage | 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 |
name | type | required | access | description | notes |
---|---|---|---|---|---|
id | int | optional | - | - | Address' indentifier |
zip | long | optional | - | - | The location |
location | string | optional | - | - | The zip code for this location |
name | type | required | access | description | notes |
---|---|---|---|---|---|
id | int | required | - | - | car's id |
price | float | required | readOnly | - | The price of the car |
engine | string | required | - | - | The engine parameter of the car |
mt | boolean | required | - | - | Indicate the car is MT or AT |
brand | string | required | - | - | The brand of the car |
repairHistory | Array:string | optional | - | - | Repair history |
notes | string | optional | - | - | Any other comments for the car |
name | type | required | access | description | notes |
---|---|---|---|---|---|
id | int | required | - | - | Customer's identifier |
address | Address | optional | - | - | Customer's address |
Array:Email | optional | - | - | The list of customer emails | |
name | string | required | - | - | Customer's name |
surname | string | required | - | - | Customer's surname |
name | type | required | access | description | notes |
---|---|---|---|---|---|
id | int | optional | - | - | Email identifier |
default | boolean | optional | - | - | The flag shows if this email is a default email |
address | string | optional | - | - | Email address |
name | type | required | access | description | notes |
---|---|---|---|---|---|
id | int | required | - | - | Garage's id |
address | string | required | - | - | The address of the garage |
description | string | required | - | - | The description of the garage |
holdingCars | Array:Car | optional | - | - | Holding cars |
name | string | required | - | - | The name of the garage |
telephone | string | required | - | - | The telephone of the garage |
name | type | required | access | description | notes |
---|---|---|---|---|---|
id | int | required | - | - | car's id |
engine | string | required | - | - | The engine parameter of the car |
mt | boolean | required | - | - | Indicate the car is MT or AT |
brand | string | required | - | - | The brand of the car |
notes | string | optional | - | - | Any other comments for the car |