POST api/ServiceCallDetails/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

GET_SPARE_PART
NameDescriptionTypeAdditional information
EMP_ID

string

None.

SERVICE_CALL_ID

string

None.

SP_ID

string

None.

QUANTITY

string

None.

AMOUNT

string

None.

TYPE

string

None.

EXTRA1

string

None.

EXTRA2

string

None.

EXTRA3

string

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",
  "TYPE": "sample string 6",
  "EXTRA1": "sample string 7",
  "EXTRA2": "sample string 8",
  "EXTRA3": "sample string 9"
}

application/xml, text/xml

Sample:
<GET_SPARE_PART 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 7</EXTRA1>
  <EXTRA2>sample string 8</EXTRA2>
  <EXTRA3>sample string 9</EXTRA3>
  <QUANTITY>sample string 4</QUANTITY>
  <SERVICE_CALL_ID>sample string 2</SERVICE_CALL_ID>
  <SP_ID>sample string 3</SP_ID>
  <TYPE>sample string 6</TYPE>
</GET_SPARE_PART>

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

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.