PUT api/Practices

Request Information

URI Parameters

None.

Body Parameters

Practice
NameDescriptionTypeAdditional information
PracticeId

integer

None.

Name

string

None.

Code

string

None.

FromEmail

string

None.

HtmlHeader

string

None.

ReferralHeader

string

None.

CustomerStatementHeader

string

None.

ReminderHeader

string

None.

SignupRequestHeader

string

None.

SMTPServer

string

None.

SMTPPort

integer

None.

SMTPUsername

string

None.

SMTPPassword

string

None.

LocationGPS

DbGeography

None.

CurrencySymbol

string

None.

VatPercentage

decimal number

None.

LocationGeoCode

string

None.

Address

string

None.

IconMediaId

integer

None.

LogoMediaId

integer

None.

HeaderColour

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PracticeId": 1,
  "Name": "sample string 2",
  "Code": "sample string 3",
  "FromEmail": "sample string 4",
  "HtmlHeader": "sample string 5",
  "ReferralHeader": "sample string 6",
  "CustomerStatementHeader": "sample string 7",
  "ReminderHeader": "sample string 8",
  "SignupRequestHeader": "sample string 9",
  "SMTPServer": "sample string 10",
  "SMTPPort": 1,
  "SMTPUsername": "sample string 11",
  "SMTPPassword": "sample string 12",
  "LocationGPS": null,
  "CurrencySymbol": "sample string 13",
  "VatPercentage": 1.0,
  "LocationGeoCode": "sample string 14",
  "Address": "sample string 15",
  "IconMediaId": 1,
  "LogoMediaId": 1,
  "HeaderColour": "sample string 16"
}

text/html

Sample:
{"PracticeId":1,"Name":"sample string 2","Code":"sample string 3","FromEmail":"sample string 4","HtmlHeader":"sample string 5","ReferralHeader":"sample string 6","CustomerStatementHeader":"sample string 7","ReminderHeader":"sample string 8","SignupRequestHeader":"sample string 9","SMTPServer":"sample string 10","SMTPPort":1,"SMTPUsername":"sample string 11","SMTPPassword":"sample string 12","LocationGPS":null,"CurrencySymbol":"sample string 13","VatPercentage":1.0,"LocationGeoCode":"sample string 14","Address":"sample string 15","IconMediaId":1,"LogoMediaId":1,"HeaderColour":"sample string 16"}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[FleetAPI.DataModel.AspNetRole, FleetAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[FleetAPI.DataModel.AspNetRole, FleetAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Practice'.

Response Information

Resource Description

None.