POST api/ARReceipts

Request Information

URI Parameters

None.

Body Parameters

ARReceipt
NameDescriptionTypeAdditional information
ReceiptId

integer

None.

LegacyReceiptId

integer

None.

ARJournalId

integer

None.

PaymentId

integer

None.

DatePosted

date

None.

AmtPosted

decimal number

None.

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ReceiptId": 1,
  "LegacyReceiptId": 2,
  "ARJournalId": 3,
  "PaymentId": 4,
  "DatePosted": "2020-08-27T03:37:24.7962658+00:00",
  "AmtPosted": 6.0,
  "DateCreated": "2020-08-27T03:37:24.7962658+00:00",
  "DateUpdated": "2020-08-27T03:37:24.7962658+00:00",
  "CreatedBy": 9,
  "UpdatedBy": 10
}

application/xml, text/xml

Sample:
<ARReceipt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <ARJournalId>3</ARJournalId>
  <AmtPosted>6</AmtPosted>
  <CreatedBy>9</CreatedBy>
  <DateCreated>2020-08-27T03:37:24.7962658+00:00</DateCreated>
  <DatePosted>2020-08-27T03:37:24.7962658+00:00</DatePosted>
  <DateUpdated>2020-08-27T03:37:24.7962658+00:00</DateUpdated>
  <LegacyReceiptId>2</LegacyReceiptId>
  <PaymentId>4</PaymentId>
  <ReceiptId>1</ReceiptId>
  <UpdatedBy>10</UpdatedBy>
</ARReceipt>

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

Response Information

Resource Description

ARReceipt
NameDescriptionTypeAdditional information
ReceiptId

integer

None.

LegacyReceiptId

integer

None.

ARJournalId

integer

None.

PaymentId

integer

None.

DatePosted

date

None.

AmtPosted

decimal number

None.

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ReceiptId": 1,
  "LegacyReceiptId": 2,
  "ARJournalId": 3,
  "PaymentId": 4,
  "DatePosted": "2020-08-27T03:37:24.7962658+00:00",
  "AmtPosted": 6.0,
  "DateCreated": "2020-08-27T03:37:24.7962658+00:00",
  "DateUpdated": "2020-08-27T03:37:24.7962658+00:00",
  "CreatedBy": 9,
  "UpdatedBy": 10
}

application/xml, text/xml

Sample:
<ARReceipt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <ARJournalId>3</ARJournalId>
  <AmtPosted>6</AmtPosted>
  <CreatedBy>9</CreatedBy>
  <DateCreated>2020-08-27T03:37:24.7962658+00:00</DateCreated>
  <DatePosted>2020-08-27T03:37:24.7962658+00:00</DatePosted>
  <DateUpdated>2020-08-27T03:37:24.7962658+00:00</DateUpdated>
  <LegacyReceiptId>2</LegacyReceiptId>
  <PaymentId>4</PaymentId>
  <ReceiptId>1</ReceiptId>
  <UpdatedBy>10</UpdatedBy>
</ARReceipt>