POST api/AED_SparePartCart

Request Information

URI Parameters

None.

Body Parameters

ADD_SparePartCart
NameDescriptionTypeAdditional information
EmployeeID

string

None.

SparePartCartID

string

None.

ServiceCallID

string

None.

SparePartName

string

None.

Charges

string

None.

PN

string

None.

OldSN

string

None.

NewSN

string

None.

Quantity

string

None.

Task

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeID": "sample string 1",
  "SparePartCartID": "sample string 2",
  "ServiceCallID": "sample string 3",
  "SparePartName": "sample string 4",
  "Charges": "sample string 5",
  "PN": "sample string 6",
  "OldSN": "sample string 7",
  "NewSN": "sample string 8",
  "Quantity": "sample string 9",
  "Task": "sample string 10"
}

application/xml, text/xml

Sample:
<ADD_SparePartCart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaiHealthCare.Models">
  <Charges>sample string 5</Charges>
  <EmployeeID>sample string 1</EmployeeID>
  <NewSN>sample string 8</NewSN>
  <OldSN>sample string 7</OldSN>
  <PN>sample string 6</PN>
  <Quantity>sample string 9</Quantity>
  <ServiceCallID>sample string 3</ServiceCallID>
  <SparePartCartID>sample string 2</SparePartCartID>
  <SparePartName>sample string 4</SparePartName>
  <Task>sample string 10</Task>
</ADD_SparePartCart>

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

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.