POST api/EmployeeTask

Request Information

URI Parameters

None.

Body Parameters

EmployeeTask
NameDescriptionTypeAdditional information
EmployeeId

string

None.

TaskTitle

string

None.

Description

string

None.

Category

string

None.

HospitalName

string

None.

Address

string

None.

City

string

None.

TaskId

string

None.

Type

string

None.

EXTRA1

string

None.

EXTRA2

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeId": "sample string 1",
  "TaskTitle": "sample string 2",
  "Description": "sample string 3",
  "Category": "sample string 4",
  "HospitalName": "sample string 5",
  "Address": "sample string 6",
  "City": "sample string 7",
  "TaskId": "sample string 8",
  "Type": "sample string 9",
  "EXTRA1": "sample string 10",
  "EXTRA2": "sample string 11"
}

application/xml, text/xml

Sample:
<EmployeeTask xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaiHealthCare.Models">
  <Address>sample string 6</Address>
  <Category>sample string 4</Category>
  <City>sample string 7</City>
  <Description>sample string 3</Description>
  <EXTRA1>sample string 10</EXTRA1>
  <EXTRA2>sample string 11</EXTRA2>
  <EmployeeId>sample string 1</EmployeeId>
  <HospitalName>sample string 5</HospitalName>
  <TaskId>sample string 8</TaskId>
  <TaskTitle>sample string 2</TaskTitle>
  <Type>sample string 9</Type>
</EmployeeTask>

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

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.