POST api/v1/ReceiptSave

Request Information

URI Parameters

None.

Body Parameters

ReceiptSaveInput
NameDescriptionTypeAdditional information
Mode

string

None.

ID

integer

None.

MobileNo

string

None.

RcvdAgainst

string

None.

UserID

integer

None.

ValidMonths

integer

None.

RcvdAmount

decimal number

None.

RcvdModeID

integer

None.

LocID

integer

None.

MemberID

integer

None.

DebtorID

integer

None.

InvoiceID

integer

None.

DebtorName

string

None.

Gender

string

None.

DebtorAddress

string

None.

PIN

string

None.

EmailID

string

None.

DOB

string

None.

DOA

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Mode": "sample string 1",
  "ID": 2,
  "MobileNo": "sample string 3",
  "RcvdAgainst": "sample string 4",
  "UserID": 5,
  "ValidMonths": 6,
  "RcvdAmount": 7.0,
  "RcvdModeID": 8,
  "LocID": 9,
  "MemberID": 10,
  "DebtorID": 11,
  "InvoiceID": 12,
  "DebtorName": "sample string 13",
  "Gender": "sample string 14",
  "DebtorAddress": "sample string 15",
  "PIN": "sample string 16",
  "EmailID": "sample string 17",
  "DOB": "sample string 18",
  "DOA": "sample string 19"
}

application/xml, text/xml

Sample:
<ReceiptSaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI">
  <DOA>sample string 19</DOA>
  <DOB>sample string 18</DOB>
  <DebtorAddress>sample string 15</DebtorAddress>
  <DebtorID>11</DebtorID>
  <DebtorName>sample string 13</DebtorName>
  <EmailID>sample string 17</EmailID>
  <Gender>sample string 14</Gender>
  <ID>2</ID>
  <InvoiceID>12</InvoiceID>
  <LocID>9</LocID>
  <MemberID>10</MemberID>
  <MobileNo>sample string 3</MobileNo>
  <Mode>sample string 1</Mode>
  <PIN>sample string 16</PIN>
  <RcvdAgainst>sample string 4</RcvdAgainst>
  <RcvdAmount>7</RcvdAmount>
  <RcvdModeID>8</RcvdModeID>
  <UserID>5</UserID>
  <ValidMonths>6</ValidMonths>
</ReceiptSaveInput>

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

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.