POST api/AddEmployeeTask

Request Information

URI Parameters

None.

Body Parameters

ADDEmployeeTask
NameDescriptionTypeAdditional information
EmployeeID

string

None.

EmployeeType

string

None.

Date

string

None.

Location

string

None.

TodaysWork

string

None.

Remark

string

None.

Latitude

string

None.

Longitude

string

None.

EXTRA1

string

None.

EXTRA2

string

None.

EXTRA3

string

None.

EXTRA4

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeID": "sample string 1",
  "EmployeeType": "sample string 2",
  "Date": "sample string 3",
  "Location": "sample string 4",
  "TodaysWork": "sample string 5",
  "Remark": "sample string 6",
  "Latitude": "sample string 7",
  "Longitude": "sample string 8",
  "EXTRA1": "sample string 9",
  "EXTRA2": "sample string 10",
  "EXTRA3": "sample string 11",
  "EXTRA4": "sample string 12"
}

application/xml, text/xml

Sample:
<ADDEmployeeTask xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaiHealthCare.Models">
  <Date>sample string 3</Date>
  <EXTRA1>sample string 9</EXTRA1>
  <EXTRA2>sample string 10</EXTRA2>
  <EXTRA3>sample string 11</EXTRA3>
  <EXTRA4>sample string 12</EXTRA4>
  <EmployeeID>sample string 1</EmployeeID>
  <EmployeeType>sample string 2</EmployeeType>
  <Latitude>sample string 7</Latitude>
  <Location>sample string 4</Location>
  <Longitude>sample string 8</Longitude>
  <Remark>sample string 6</Remark>
  <TodaysWork>sample string 5</TodaysWork>
</ADDEmployeeTask>

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

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.