POST api/v1/TherapistSave

Request Information

URI Parameters

None.

Body Parameters

TherapistSaveInput
NameDescriptionTypeAdditional information
Mode

string

None.

ID

integer

None.

CategoryID

integer

None.

TherapistID

string

None.

Name

string

None.

Address

string

None.

Mobile

string

None.

PIN

string

None.

CommPer

decimal number

None.

LocID

integer

None.

CompID

integer

None.

Gender

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Mode": "sample string 1",
  "ID": 2,
  "CategoryID": 3,
  "TherapistID": "sample string 4",
  "Name": "sample string 5",
  "Address": "sample string 6",
  "Mobile": "sample string 7",
  "PIN": "sample string 8",
  "CommPer": 9.0,
  "LocID": 10,
  "CompID": 11,
  "Gender": "sample string 12"
}

application/xml, text/xml

Sample:
<TherapistSaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <Address>sample string 6</Address>
  <CategoryID>3</CategoryID>
  <CommPer>9</CommPer>
  <CompID>11</CompID>
  <Gender>sample string 12</Gender>
  <ID>2</ID>
  <LocID>10</LocID>
  <Mobile>sample string 7</Mobile>
  <Mode>sample string 1</Mode>
  <Name>sample string 5</Name>
  <PIN>sample string 8</PIN>
  <TherapistID>sample string 4</TherapistID>
</TherapistSaveInput>

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 'TherapistSaveInput'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.