GET api/client/GetClient

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Client
NameDescriptionTypeAdditional information
ClientId

integer

None.

Name

string

None.

PracticeId

integer

None.

Address

string

None.

LocationGPS

DbGeography

None.

LocationGeoCode

string

None.

Email

string

None.

CellNumber

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ClientId": 1,
    "Name": "sample string 2",
    "PracticeId": 1,
    "Address": "sample string 3",
    "LocationGPS": null,
    "LocationGeoCode": "sample string 4",
    "Email": "sample string 5",
    "CellNumber": "sample string 6"
  },
  {
    "ClientId": 1,
    "Name": "sample string 2",
    "PracticeId": 1,
    "Address": "sample string 3",
    "LocationGPS": null,
    "LocationGeoCode": "sample string 4",
    "Email": "sample string 5",
    "CellNumber": "sample string 6"
  }
]

text/html

Sample:
[{"ClientId":1,"Name":"sample string 2","PracticeId":1,"Address":"sample string 3","LocationGPS":null,"LocationGeoCode":"sample string 4","Email":"sample string 5","CellNumber":"sample string 6"},{"ClientId":1,"Name":"sample string 2","PracticeId":1,"Address":"sample string 3","LocationGPS":null,"LocationGeoCode":"sample string 4","Email":"sample string 5","CellNumber":"sample string 6"}]

application/xml, text/xml

Sample:
<ArrayOfClient xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FleetAPI.DataModel">
  <Client>
    <Address>sample string 3</Address>
    <CellNumber>sample string 6</CellNumber>
    <ClientId>1</ClientId>
    <Email>sample string 5</Email>
    <LocationGPS xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Data.Entity.Spatial" i:nil="true" />
    <LocationGeoCode>sample string 4</LocationGeoCode>
    <Name>sample string 2</Name>
    <PracticeId>1</PracticeId>
  </Client>
  <Client>
    <Address>sample string 3</Address>
    <CellNumber>sample string 6</CellNumber>
    <ClientId>1</ClientId>
    <Email>sample string 5</Email>
    <LocationGPS xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Data.Entity.Spatial" i:nil="true" />
    <LocationGeoCode>sample string 4</LocationGeoCode>
    <Name>sample string 2</Name>
    <PracticeId>1</PracticeId>
  </Client>
</ArrayOfClient>