PUT api/ARJournals/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

ARJournal
NameDescriptionTypeAdditional information
JournalId

integer

None.

LegacyJournalId

integer

None.

UtilityId

integer

None.

AccountNum

integer

None.

BatchId

integer

None.

BatchSequence

integer

None.

BillId

integer

None.

BillItemId

integer

None.

ARAmt

decimal number

None.

AmtRec

decimal number

None.

GLCode

string

Max length: 50

DueDate

date

None.

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "JournalId": 1,
  "LegacyJournalId": 2,
  "UtilityId": 3,
  "AccountNum": 4,
  "BatchId": 1,
  "BatchSequence": 1,
  "BillId": 1,
  "BillItemId": 1,
  "ARAmt": 5.0,
  "AmtRec": 6.0,
  "GLCode": "sample string 7",
  "DueDate": "2020-08-28T07:39:40.5452647+00:00",
  "DateCreated": "2020-08-28T07:39:40.5452647+00:00",
  "DateUpdated": "2020-08-28T07:39:40.5452647+00:00",
  "CreatedBy": 10,
  "UpdatedBy": 11
}

application/xml, text/xml

Sample:
<ARJournal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <ARAmt>5</ARAmt>
  <AccountNum>4</AccountNum>
  <AmtRec>6</AmtRec>
  <BatchId>1</BatchId>
  <BatchSequence>1</BatchSequence>
  <BillId>1</BillId>
  <BillItemId>1</BillItemId>
  <CreatedBy>10</CreatedBy>
  <DateCreated>2020-08-28T07:39:40.5452647+00:00</DateCreated>
  <DateUpdated>2020-08-28T07:39:40.5452647+00:00</DateUpdated>
  <DueDate>2020-08-28T07:39:40.5452647+00:00</DueDate>
  <GLCode>sample string 7</GLCode>
  <JournalId>1</JournalId>
  <LegacyJournalId>2</LegacyJournalId>
  <UpdatedBy>11</UpdatedBy>
  <UtilityId>3</UtilityId>
</ARJournal>

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

Response Information

Resource Description

None.