POST Assistance/CreateOfficialReceipt

Request Information

URI Parameters

None.

Body Parameters

OfficialReciept
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

OfficialReceiptNumber

string

None.

CustomerID

globally unique identifier

None.

Customername

string

None.

DonationReference

globally unique identifier

None.

Paymentsourse

integer

None.

schemeregistrationid

globally unique identifier

None.

schemeregistrationname

string

None.

BulkRegistrationId

globally unique identifier

None.

BulkRegistrationName

string

None.

ProgRegistrationId

globally unique identifier

None.

ProgRegistrationName

string

None.

PaymentMode

integer

None.

amount

decimal number

None.

ReceiptDate

date

None.

Paymentstatus

integer

None.

Paymentstatustext

string

None.

FileContents

Collection of byte

None.

FileName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": "574a71a3-4625-42d7-a3a4-a30d7905ea1f",
  "OfficialReceiptNumber": "sample string 2",
  "CustomerID": "6a96c96e-1df5-4a24-b7bd-a690f36a93c6",
  "Customername": "sample string 4",
  "DonationReference": "81d0128d-e6fd-444b-896c-90a4c4d0e65a",
  "Paymentsourse": 6,
  "schemeregistrationid": "27ab0615-07c4-4688-b58e-30975da1da06",
  "schemeregistrationname": "sample string 8",
  "BulkRegistrationId": "69f02b7d-18f1-44a6-8568-29ff89754905",
  "BulkRegistrationName": "sample string 10",
  "ProgRegistrationId": "8a3d6a39-1ba9-457f-ab58-afef158f0cd3",
  "ProgRegistrationName": "sample string 12",
  "PaymentMode": 13,
  "amount": 1.0,
  "ReceiptDate": "2025-01-09T02:54:36.7597221+00:00",
  "Paymentstatus": 14,
  "Paymentstatustext": "sample string 15",
  "FileContents": "QEA=",
  "FileName": "sample string 16"
}

application/xml, text/xml

Sample:
<OfficialReciept xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Caresenz.Model">
  <BulkRegistrationId>69f02b7d-18f1-44a6-8568-29ff89754905</BulkRegistrationId>
  <BulkRegistrationName>sample string 10</BulkRegistrationName>
  <CustomerID>6a96c96e-1df5-4a24-b7bd-a690f36a93c6</CustomerID>
  <Customername>sample string 4</Customername>
  <DonationReference>81d0128d-e6fd-444b-896c-90a4c4d0e65a</DonationReference>
  <FileContents>QEA=</FileContents>
  <FileName>sample string 16</FileName>
  <ID>574a71a3-4625-42d7-a3a4-a30d7905ea1f</ID>
  <OfficialReceiptNumber>sample string 2</OfficialReceiptNumber>
  <PaymentMode>13</PaymentMode>
  <Paymentsourse>6</Paymentsourse>
  <Paymentstatus>14</Paymentstatus>
  <Paymentstatustext>sample string 15</Paymentstatustext>
  <ProgRegistrationId>8a3d6a39-1ba9-457f-ab58-afef158f0cd3</ProgRegistrationId>
  <ProgRegistrationName>sample string 12</ProgRegistrationName>
  <ReceiptDate>2025-01-09T02:54:36.7597221+00:00</ReceiptDate>
  <amount>1</amount>
  <schemeregistrationid>27ab0615-07c4-4688-b58e-30975da1da06</schemeregistrationid>
  <schemeregistrationname>sample string 8</schemeregistrationname>
</OfficialReciept>

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.