POST api/Add_CP_Panchakarma?casePaperId={casePaperId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
casePaperId

string

Required

Body Parameters

Collection of OPDPanchakarma
NameDescriptionTypeAdditional information
ID

integer

None.

CasePaperNo

string

None.

OPDCaseNo

string

None.

IPDCaseNo

string

None.

PanchID

integer

None.

Remark

string

None.

Type

string

None.

Date

date

None.

IsCompleted

boolean

None.

LoginUser

string

None.

TimeStamp

Collection of byte

None.

Charges

decimal number

None.

Amount

decimal number

None.

quantity

decimal number

None.

Discount

decimal number

None.

DiscountAmount

decimal number

None.

CGSTRate

decimal number

None.

CGSTAmount

decimal number

None.

SGSTRate

decimal number

None.

SGSTAmount

decimal number

None.

IGSTRate

decimal number

None.

IGSTAmount

decimal number

None.

TotalAmount

decimal number

None.

BranchId

integer

None.

IsBilled

boolean

None.

GST

decimal number

None.

IsCPItem

integer

None.

CareplanDId

integer

None.

kitfound

boolean

None.

PatientID

integer

None.

TreatmentName

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "CasePaperNo": "sample string 2",
    "OPDCaseNo": "sample string 3",
    "IPDCaseNo": "sample string 4",
    "PanchID": 5,
    "Remark": "sample string 6",
    "Type": "sample string 7",
    "Date": "2026-01-15T19:18:29.808895+05:30",
    "IsCompleted": true,
    "LoginUser": "sample string 10",
    "TimeStamp": "QEA=",
    "Charges": 1.0,
    "Amount": 1.0,
    "quantity": 1.0,
    "Discount": 11.1,
    "DiscountAmount": 12.1,
    "CGSTRate": 1.0,
    "CGSTAmount": 1.0,
    "SGSTRate": 1.0,
    "SGSTAmount": 1.0,
    "IGSTRate": 1.0,
    "IGSTAmount": 1.0,
    "TotalAmount": 1.0,
    "BranchId": 1,
    "IsBilled": true,
    "GST": 1.0,
    "IsCPItem": 1,
    "CareplanDId": 1,
    "kitfound": true,
    "PatientID": 1,
    "TreatmentName": "sample string 14"
  },
  {
    "ID": 1,
    "CasePaperNo": "sample string 2",
    "OPDCaseNo": "sample string 3",
    "IPDCaseNo": "sample string 4",
    "PanchID": 5,
    "Remark": "sample string 6",
    "Type": "sample string 7",
    "Date": "2026-01-15T19:18:29.808895+05:30",
    "IsCompleted": true,
    "LoginUser": "sample string 10",
    "TimeStamp": "QEA=",
    "Charges": 1.0,
    "Amount": 1.0,
    "quantity": 1.0,
    "Discount": 11.1,
    "DiscountAmount": 12.1,
    "CGSTRate": 1.0,
    "CGSTAmount": 1.0,
    "SGSTRate": 1.0,
    "SGSTAmount": 1.0,
    "IGSTRate": 1.0,
    "IGSTAmount": 1.0,
    "TotalAmount": 1.0,
    "BranchId": 1,
    "IsBilled": true,
    "GST": 1.0,
    "IsCPItem": 1,
    "CareplanDId": 1,
    "kitfound": true,
    "PatientID": 1,
    "TreatmentName": "sample string 14"
  }
]

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 'List`1'.

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.