PUT api/MeterReadingUploads/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

MeterReadingUpload
NameDescriptionTypeAdditional information
UploadId

integer

None.

FileName

string

Max length: 200

FileData

string

None.

UtilityId

integer

None.

ReadingCount

integer

None.

DateCreated

date

None.

CreatedBy

integer

None.

UserName

string

None.

Saved

integer

None.

Skipped

integer

None.

Errors

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UploadId": 1,
  "FileName": "sample string 2",
  "FileData": "sample string 3",
  "UtilityId": 4,
  "ReadingCount": 1,
  "DateCreated": "2020-08-27T10:14:24.5159564+00:00",
  "CreatedBy": 6,
  "UserName": "sample string 7",
  "Saved": 8,
  "Skipped": 9,
  "Errors": 10
}

application/xml, text/xml

Sample:
<MeterReadingUpload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <CreatedBy>6</CreatedBy>
  <DateCreated>2020-08-27T10:14:24.5159564+00:00</DateCreated>
  <Errors>10</Errors>
  <FileData>sample string 3</FileData>
  <FileName>sample string 2</FileName>
  <ReadingCount>1</ReadingCount>
  <Saved>8</Saved>
  <Skipped>9</Skipped>
  <UploadId>1</UploadId>
  <UserName>sample string 7</UserName>
  <UtilityId>4</UtilityId>
</MeterReadingUpload>

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

Response Information

Resource Description

None.