New maintenance request

POST {{baseUrl}}/create

Creates a new maintenance request in the system. The maintenance request will be assigned an ID automatically. This can be found in the response.

Request Body

{"firstName"=>"{{$randomFirstName}}", "lastName"=>"{{$randomLastName}}", "serviceType"=>"Oil Change"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"firstName":"Ben","id":"0729d37c-ef9f-4ffa-8f71-a6eedf1f95b7","lastName":"Smith","status":"success","service":"Oil Change"}