GET api/Practices/GetPractice

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

PracticeViewModel
NameDescriptionTypeAdditional information
Name

string

None.

Address

string

None.

Code

string

None.

FromEmail

string

None.

SMTPServer

string

None.

SMTPPort

integer

None.

SMTPUsername

string

None.

SMTPPassword

string

None.

CurrencySymbol

string

None.

VatPercentage

decimal number

None.

LogoMediaId

integer

None.

IconMediaId

integer

None.

HeaderColour

string

None.

HtmlHeader

string

None.

ReferralHeader

string

None.

CustomerStatementHeader

string

None.

ReminderHeader

string

None.

SignupRequestHeader

string

None.

LocationGPS

DbGeography

None.

LocationGeoCode

string

None.

PracticeId

integer

None.

LogoMediaKey

globally unique identifier

None.

LogoMediaFileName

string

None.

IconMediaKey

globally unique identifier

None.

IconMediaFileName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Address": "sample string 2",
  "Code": "sample string 3",
  "FromEmail": "sample string 4",
  "SMTPServer": "sample string 5",
  "SMTPPort": 1,
  "SMTPUsername": "sample string 6",
  "SMTPPassword": "sample string 7",
  "CurrencySymbol": "sample string 8",
  "VatPercentage": 1.0,
  "LogoMediaId": 1,
  "IconMediaId": 1,
  "HeaderColour": "sample string 9",
  "HtmlHeader": "sample string 10",
  "ReferralHeader": "sample string 11",
  "CustomerStatementHeader": "sample string 12",
  "ReminderHeader": "sample string 13",
  "SignupRequestHeader": "sample string 14",
  "LocationGPS": null,
  "LocationGeoCode": "sample string 15",
  "PracticeId": 16,
  "LogoMediaKey": "e37c26b2-9e88-4686-8cb4-166a141c0f46",
  "LogoMediaFileName": "sample string 18",
  "IconMediaKey": "3f16e155-35cc-4b7e-aa35-cfc5e6f8eb64",
  "IconMediaFileName": "sample string 20"
}

text/html

Sample:
{"Name":"sample string 1","Address":"sample string 2","Code":"sample string 3","FromEmail":"sample string 4","SMTPServer":"sample string 5","SMTPPort":1,"SMTPUsername":"sample string 6","SMTPPassword":"sample string 7","CurrencySymbol":"sample string 8","VatPercentage":1.0,"LogoMediaId":1,"IconMediaId":1,"HeaderColour":"sample string 9","HtmlHeader":"sample string 10","ReferralHeader":"sample string 11","CustomerStatementHeader":"sample string 12","ReminderHeader":"sample string 13","SignupRequestHeader":"sample string 14","LocationGPS":null,"LocationGeoCode":"sample string 15","PracticeId":16,"LogoMediaKey":"e37c26b2-9e88-4686-8cb4-166a141c0f46","LogoMediaFileName":"sample string 18","IconMediaKey":"3f16e155-35cc-4b7e-aa35-cfc5e6f8eb64","IconMediaFileName":"sample string 20"}

application/xml, text/xml

Sample:
<PracticeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FleetAPI.Models">
  <Address>sample string 2</Address>
  <Code>sample string 3</Code>
  <CurrencySymbol>sample string 8</CurrencySymbol>
  <CustomerStatementHeader>sample string 12</CustomerStatementHeader>
  <FromEmail>sample string 4</FromEmail>
  <HeaderColour>sample string 9</HeaderColour>
  <HtmlHeader>sample string 10</HtmlHeader>
  <IconMediaFileName>sample string 20</IconMediaFileName>
  <IconMediaId>1</IconMediaId>
  <IconMediaKey>3f16e155-35cc-4b7e-aa35-cfc5e6f8eb64</IconMediaKey>
  <LocationGPS xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Data.Entity.Spatial" i:nil="true" />
  <LocationGeoCode>sample string 15</LocationGeoCode>
  <LogoMediaFileName>sample string 18</LogoMediaFileName>
  <LogoMediaId>1</LogoMediaId>
  <LogoMediaKey>e37c26b2-9e88-4686-8cb4-166a141c0f46</LogoMediaKey>
  <Name>sample string 1</Name>
  <PracticeId>16</PracticeId>
  <ReferralHeader>sample string 11</ReferralHeader>
  <ReminderHeader>sample string 13</ReminderHeader>
  <SMTPPassword>sample string 7</SMTPPassword>
  <SMTPPort>1</SMTPPort>
  <SMTPServer>sample string 5</SMTPServer>
  <SMTPUsername>sample string 6</SMTPUsername>
  <SignupRequestHeader>sample string 14</SignupRequestHeader>
  <VatPercentage>1</VatPercentage>
</PracticeViewModel>