GET api/AccountFiles?AccountNum={AccountNum}&UtilityId={UtilityId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
AccountNum

integer

Required

UtilityId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of AccountFile
NameDescriptionTypeAdditional information
AccountFileId

integer

None.

LegacyFileId

integer

None.

AccountNum

integer

None.

UtilityId

integer

None.

FileName

string

Max length: 255

FileDescription

string

Max length: 200

FileData

Collection of byte

None.

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

Base64Data

string

None.

UploadedBy

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AccountFileId": 1,
    "LegacyFileId": 2,
    "AccountNum": 3,
    "UtilityId": 4,
    "FileName": "sample string 5",
    "FileDescription": "sample string 6",
    "FileData": "QEA=",
    "DateCreated": "2020-02-15T11:14:28.6350841+00:00",
    "DateUpdated": "2020-02-15T11:14:28.6350841+00:00",
    "CreatedBy": 9,
    "UpdatedBy": 10,
    "Base64Data": "sample string 11",
    "UploadedBy": "sample string 12"
  },
  {
    "AccountFileId": 1,
    "LegacyFileId": 2,
    "AccountNum": 3,
    "UtilityId": 4,
    "FileName": "sample string 5",
    "FileDescription": "sample string 6",
    "FileData": "QEA=",
    "DateCreated": "2020-02-15T11:14:28.6350841+00:00",
    "DateUpdated": "2020-02-15T11:14:28.6350841+00:00",
    "CreatedBy": 9,
    "UpdatedBy": 10,
    "Base64Data": "sample string 11",
    "UploadedBy": "sample string 12"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAccountFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <AccountFile>
    <AccountFileId>1</AccountFileId>
    <AccountNum>3</AccountNum>
    <Base64Data>sample string 11</Base64Data>
    <CreatedBy>9</CreatedBy>
    <DateCreated>2020-02-15T11:14:28.6350841+00:00</DateCreated>
    <DateUpdated>2020-02-15T11:14:28.6350841+00:00</DateUpdated>
    <FileData>QEA=</FileData>
    <FileDescription>sample string 6</FileDescription>
    <FileName>sample string 5</FileName>
    <LegacyFileId>2</LegacyFileId>
    <UpdatedBy>10</UpdatedBy>
    <UploadedBy>sample string 12</UploadedBy>
    <UtilityId>4</UtilityId>
  </AccountFile>
  <AccountFile>
    <AccountFileId>1</AccountFileId>
    <AccountNum>3</AccountNum>
    <Base64Data>sample string 11</Base64Data>
    <CreatedBy>9</CreatedBy>
    <DateCreated>2020-02-15T11:14:28.6350841+00:00</DateCreated>
    <DateUpdated>2020-02-15T11:14:28.6350841+00:00</DateUpdated>
    <FileData>QEA=</FileData>
    <FileDescription>sample string 6</FileDescription>
    <FileName>sample string 5</FileName>
    <LegacyFileId>2</LegacyFileId>
    <UpdatedBy>10</UpdatedBy>
    <UploadedBy>sample string 12</UploadedBy>
    <UtilityId>4</UtilityId>
  </AccountFile>
</ArrayOfAccountFile>