POST api/Cart/Create

Request Information

URI Parameters

None.

Body Parameters

Cart
NameDescriptionTypeAdditional information
Id

integer

None.

ExpenseId

integer

None.

UHIDNo

string

None.

Qty

integer

None.

Rate

decimal number

None.

EntryDate

date

None.

PackageId

integer

None.

Name

string

None.

CashbackAmount

decimal number

None.

Discount

decimal number

None.

EntryPerson

string

None.

DeleteStatus

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ExpenseId": 2,
  "UHIDNo": "sample string 3",
  "Qty": 4,
  "Rate": 5.0,
  "EntryDate": "2025-12-21T15:26:01.4018903+05:30",
  "PackageId": 6,
  "Name": "sample string 7",
  "CashbackAmount": 1.1,
  "Discount": 1.0,
  "EntryPerson": "sample string 8",
  "DeleteStatus": true
}

application/xml, text/xml

Sample:
<Cart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PolyClinicClass">
  <CashbackAmount>1.1</CashbackAmount>
  <DeleteStatus>true</DeleteStatus>
  <Discount>1</Discount>
  <EntryDate>2025-12-21T15:26:01.4018903+05:30</EntryDate>
  <EntryPerson>sample string 8</EntryPerson>
  <ExpenseId>2</ExpenseId>
  <Id>1</Id>
  <Name>sample string 7</Name>
  <PackageId>6</PackageId>
  <Qty>4</Qty>
  <Rate>5</Rate>
  <UHIDNo>sample string 3</UHIDNo>
</Cart>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.