POST api/Masters/Savepatientpayment

Request Information

URI Parameters

None.

Body Parameters

customerpayment
NameDescriptionTypeAdditional information
rid

string

None.

rdate

string

None.

gtime

string

None.

cname

string

None.

cmount

string

None.

paymnetstatus

string

None.

paymentmode

string

None.

paymenttime

string

None.

paymentdate

string

None.

mobno

string

None.

adress

string

None.

Request Formats

application/json, text/json

Sample:
{
  "rid": "sample string 1",
  "rdate": "sample string 2",
  "gtime": "sample string 3",
  "cname": "sample string 4",
  "cmount": "sample string 5",
  "paymnetstatus": "sample string 6",
  "paymentmode": "sample string 7",
  "paymenttime": "sample string 8",
  "paymentdate": "sample string 9",
  "mobno": "sample string 10",
  "adress": "sample string 11"
}

application/xml, text/xml

Sample:
<customerpayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/akwiecommApi.Models">
  <adress>sample string 11</adress>
  <cmount>sample string 5</cmount>
  <cname>sample string 4</cname>
  <gtime>sample string 3</gtime>
  <mobno>sample string 10</mobno>
  <paymentdate>sample string 9</paymentdate>
  <paymentmode>sample string 7</paymentmode>
  <paymenttime>sample string 8</paymenttime>
  <paymnetstatus>sample string 6</paymnetstatus>
  <rdate>sample string 2</rdate>
  <rid>sample string 1</rid>
</customerpayment>

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

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Message

string

None.

status

integer

None.

Isupoad

boolean

None.

imageurl

string

None.

Data

Object

None.

IsSuccess

boolean

None.

StatusCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "status": 2,
  "Isupoad": true,
  "imageurl": "sample string 4",
  "Data": {},
  "IsSuccess": true,
  "StatusCode": 7
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/akwiecommApi.Models">
  <Data />
  <IsSuccess>true</IsSuccess>
  <Isupoad>true</Isupoad>
  <Message>sample string 1</Message>
  <StatusCode>7</StatusCode>
  <imageurl>sample string 4</imageurl>
  <status>2</status>
</Response>