POST api/GetManagementCarFromReg
Get a car's details from the registration number
Request Information
Payload
Name | Payload Parameters | Additional information |
---|---|---|
Parameters | string Registration |
None. |
Response Information
Response body formats
application/json, text/json
Sample:
[ { "UniqueID": 1, "RegistrationNumber": "sample string 2", "Make": "sample string 3", "Model": "sample string 4", "EngineSize": 1, "Colour": "sample string 5", "PersonnelID": 6, "Leaver": true, "EmployeeName": "Unknown (Leaver)", "Source": "sample string 8", "AvailableFrom": "2025-04-29T19:26:13.6548662+01:00", "AvailableTo": "2025-04-29T19:26:13.6548662+01:00" }, { "UniqueID": 1, "RegistrationNumber": "sample string 2", "Make": "sample string 3", "Model": "sample string 4", "EngineSize": 1, "Colour": "sample string 5", "PersonnelID": 6, "Leaver": true, "EmployeeName": "Unknown (Leaver)", "Source": "sample string 8", "AvailableFrom": "2025-04-29T19:26:13.6548662+01:00", "AvailableTo": "2025-04-29T19:26:13.6548662+01:00" }, { "UniqueID": 1, "RegistrationNumber": "sample string 2", "Make": "sample string 3", "Model": "sample string 4", "EngineSize": 1, "Colour": "sample string 5", "PersonnelID": 6, "Leaver": true, "EmployeeName": "Unknown (Leaver)", "Source": "sample string 8", "AvailableFrom": "2025-04-29T19:26:13.6548662+01:00", "AvailableTo": "2025-04-29T19:26:13.6548662+01:00" } ]
text/html
Sample:
[{"UniqueID":1,"RegistrationNumber":"sample string 2","Make":"sample string 3","Model":"sample string 4","EngineSize":1,"Colour":"sample string 5","PersonnelID":6,"Leaver":true,"EmployeeName":"Unknown (Leaver)","Source":"sample string 8","AvailableFrom":"2025-04-29T19:26:13.6548662+01:00","AvailableTo":"2025-04-29T19:26:13.6548662+01:00"},{"UniqueID":1,"RegistrationNumber":"sample string 2","Make":"sample string 3","Model":"sample string 4","EngineSize":1,"Colour":"sample string 5","PersonnelID":6,"Leaver":true,"EmployeeName":"Unknown (Leaver)","Source":"sample string 8","AvailableFrom":"2025-04-29T19:26:13.6548662+01:00","AvailableTo":"2025-04-29T19:26:13.6548662+01:00"},{"UniqueID":1,"RegistrationNumber":"sample string 2","Make":"sample string 3","Model":"sample string 4","EngineSize":1,"Colour":"sample string 5","PersonnelID":6,"Leaver":true,"EmployeeName":"Unknown (Leaver)","Source":"sample string 8","AvailableFrom":"2025-04-29T19:26:13.6548662+01:00","AvailableTo":"2025-04-29T19:26:13.6548662+01:00"}]
application/xml, text/xml
Sample:
<ArrayOfEmployeeCarDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Carval.SelfService.BLL.Employee"> <EmployeeCarDetails> <AvailableFrom>2025-04-29T19:26:13.6548662+01:00</AvailableFrom> <AvailableTo>2025-04-29T19:26:13.6548662+01:00</AvailableTo> <Colour>sample string 5</Colour> <EngineSize>1</EngineSize> <Leaver>true</Leaver> <Make>sample string 3</Make> <Model>sample string 4</Model> <PersonnelID>6</PersonnelID> <RegistrationNumber>sample string 2</RegistrationNumber> <Source>sample string 8</Source> <UniqueID>1</UniqueID> </EmployeeCarDetails> <EmployeeCarDetails> <AvailableFrom>2025-04-29T19:26:13.6548662+01:00</AvailableFrom> <AvailableTo>2025-04-29T19:26:13.6548662+01:00</AvailableTo> <Colour>sample string 5</Colour> <EngineSize>1</EngineSize> <Leaver>true</Leaver> <Make>sample string 3</Make> <Model>sample string 4</Model> <PersonnelID>6</PersonnelID> <RegistrationNumber>sample string 2</RegistrationNumber> <Source>sample string 8</Source> <UniqueID>1</UniqueID> </EmployeeCarDetails> <EmployeeCarDetails> <AvailableFrom>2025-04-29T19:26:13.6548662+01:00</AvailableFrom> <AvailableTo>2025-04-29T19:26:13.6548662+01:00</AvailableTo> <Colour>sample string 5</Colour> <EngineSize>1</EngineSize> <Leaver>true</Leaver> <Make>sample string 3</Make> <Model>sample string 4</Model> <PersonnelID>6</PersonnelID> <RegistrationNumber>sample string 2</RegistrationNumber> <Source>sample string 8</Source> <UniqueID>1</UniqueID> </EmployeeCarDetails> </ArrayOfEmployeeCarDetails>