POST api/Payment/SavePayment

Request Information

URI Parameters

None.

Body Parameters

Payment
NameDescriptionTypeAdditional information
id

integer

None.

PatientName

string

None.

Clinic_Name

string

None.

ClinicId

integer

None.

SampleType

string

None.

receivedamount

decimal number

None.

totalamount

decimal number

None.

CreatedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "PatientName": "sample string 2",
  "Clinic_Name": "sample string 3",
  "ClinicId": 4,
  "SampleType": "sample string 5",
  "receivedamount": 1.0,
  "totalamount": 1.0,
  "CreatedBy": "sample string 6"
}

application/xml, text/xml

Sample:
<Payment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cryobank.Models">
  <ClinicId>4</ClinicId>
  <Clinic_Name>sample string 3</Clinic_Name>
  <CreatedBy>sample string 6</CreatedBy>
  <PatientName>sample string 2</PatientName>
  <SampleType>sample string 5</SampleType>
  <id>1</id>
  <receivedamount>1</receivedamount>
  <totalamount>1</totalamount>
</Payment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.