POST api/ServiceCallDetails

Request Information

URI Parameters

None.

Body Parameters

AED_SERVICE_CALL
NameDescriptionTypeAdditional information
EMP_ID

string

None.

SERVICE_CALL_ID

string

None.

SP_ID

string

None.

QUANTITY

string

None.

AMOUNT

string

None.

LATITUDE

string

None.

LONGITUDE

string

None.

TYPE

string

None.

EXTRA1

string

None.

EXTRA2

string

None.

EXTRA3

string

None.

EXTRA4

string

None.

PHOTO

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "EMP_ID": "sample string 1",
  "SERVICE_CALL_ID": "sample string 2",
  "SP_ID": "sample string 3",
  "QUANTITY": "sample string 4",
  "AMOUNT": "sample string 5",
  "LATITUDE": "sample string 6",
  "LONGITUDE": "sample string 7",
  "TYPE": "sample string 8",
  "EXTRA1": "sample string 9",
  "EXTRA2": "sample string 10",
  "EXTRA3": "sample string 11",
  "EXTRA4": "sample string 12",
  "PHOTO": "QEA="
}

application/xml, text/xml

Sample:
<AED_SERVICE_CALL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaiHealthCare.Models">
  <AMOUNT>sample string 5</AMOUNT>
  <EMP_ID>sample string 1</EMP_ID>
  <EXTRA1>sample string 9</EXTRA1>
  <EXTRA2>sample string 10</EXTRA2>
  <EXTRA3>sample string 11</EXTRA3>
  <EXTRA4>sample string 12</EXTRA4>
  <LATITUDE>sample string 6</LATITUDE>
  <LONGITUDE>sample string 7</LONGITUDE>
  <PHOTO>QEA=</PHOTO>
  <QUANTITY>sample string 4</QUANTITY>
  <SERVICE_CALL_ID>sample string 2</SERVICE_CALL_ID>
  <SP_ID>sample string 3</SP_ID>
  <TYPE>sample string 8</TYPE>
</AED_SERVICE_CALL>

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

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.