POST api/AccountingExportFiles

Request Information

URI Parameters

None.

Body Parameters

AccountingExportFile
NameDescriptionTypeAdditional information
RecordId

integer

None.

UtilityId

integer

None.

PostingDate

date

None.

FileData

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordId": 1,
  "UtilityId": 2,
  "PostingDate": "2020-08-28T07:37:24.5201539+00:00",
  "FileData": "sample string 4"
}

application/xml, text/xml

Sample:
<AccountingExportFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <FileData>sample string 4</FileData>
  <PostingDate>2020-08-28T07:37:24.5201539+00:00</PostingDate>
  <RecordId>1</RecordId>
  <UtilityId>2</UtilityId>
</AccountingExportFile>

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

Response Information

Resource Description

AccountingExportFile
NameDescriptionTypeAdditional information
RecordId

integer

None.

UtilityId

integer

None.

PostingDate

date

None.

FileData

string

None.

Response Formats

application/json, text/json

Sample:
{
  "RecordId": 1,
  "UtilityId": 2,
  "PostingDate": "2020-08-28T07:37:24.5201539+00:00",
  "FileData": "sample string 4"
}

application/xml, text/xml

Sample:
<AccountingExportFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <FileData>sample string 4</FileData>
  <PostingDate>2020-08-28T07:37:24.5201539+00:00</PostingDate>
  <RecordId>1</RecordId>
  <UtilityId>2</UtilityId>
</AccountingExportFile>