GET api/Entities/{id}
Returns a specific Entity
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | Unique identifier of the Entity |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "ID": 1, "Name": "sample string 2", "Type": 0, "Gender": 0, "BirthDate": "14/03/2025 09:39", "Account": 4 }
application/xml, text/xml
Sample:
<Entity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CapitalPlanner.Data.Models"> <Account>4</Account> <BirthDate>2025-03-14T09:39:51.55175+01:00</BirthDate> <Gender>Male</Gender> <ID>1</ID> <Name>sample string 2</Name> <Type>Person</Type> </Entity>