PUT api/OwnerJournals/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

OwnerJournal
NameDescriptionTypeAdditional information
Id

integer

None.

LegacyId

integer

None.

UtilityId

integer

None.

JournalDate

date

None.

OwnerId

integer

None.

StatementId

integer

None.

Type

string

Max length: 50

Amount

decimal number

None.

Posted

string

Max length: 1

Notes

string

Max length: 255

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "LegacyId": 2,
  "UtilityId": 3,
  "JournalDate": "2020-08-28T19:57:02.4773376+00:00",
  "OwnerId": 5,
  "StatementId": 1,
  "Type": "sample string 6",
  "Amount": 7.0,
  "Posted": "sample string 8",
  "Notes": "sample string 9",
  "DateCreated": "2020-08-28T19:57:02.4773376+00:00",
  "DateUpdated": "2020-08-28T19:57:02.4773376+00:00",
  "CreatedBy": 12,
  "UpdatedBy": 13
}

application/xml, text/xml

Sample:
<OwnerJournal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <Amount>7</Amount>
  <CreatedBy>12</CreatedBy>
  <DateCreated>2020-08-28T19:57:02.4773376+00:00</DateCreated>
  <DateUpdated>2020-08-28T19:57:02.4773376+00:00</DateUpdated>
  <Id>1</Id>
  <JournalDate>2020-08-28T19:57:02.4773376+00:00</JournalDate>
  <LegacyId>2</LegacyId>
  <Notes>sample string 9</Notes>
  <OwnerId>5</OwnerId>
  <Posted>sample string 8</Posted>
  <StatementId>1</StatementId>
  <Type>sample string 6</Type>
  <UpdatedBy>13</UpdatedBy>
  <UtilityId>3</UtilityId>
</OwnerJournal>

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

Response Information

Resource Description

None.