POST api/PIMS/GetAccountingReport

Request Information

URI Parameters

None.

Body Parameters

GenerateReportReq
NameDescriptionTypeAdditional information
PropertyID

integer

None.

FromDate

string

None.

ToDate

string

None.

ReportType

string

None.

TimeOffset

integer

None.

Vendor

integer

None.

Entity

integer

None.

Maid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PropertyID": 1,
  "FromDate": "sample string 2",
  "ToDate": "sample string 3",
  "ReportType": "sample string 4",
  "TimeOffset": 5,
  "Vendor": 6,
  "Entity": 7,
  "Maid": 8
}

application/xml, text/xml

Sample:
<GenerateReportReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PIMS.DTO">
  <Entity>7</Entity>
  <FromDate>sample string 2</FromDate>
  <Maid>8</Maid>
  <PropertyID>1</PropertyID>
  <ReportType>sample string 4</ReportType>
  <TimeOffset>5</TimeOffset>
  <ToDate>sample string 3</ToDate>
  <Vendor>6</Vendor>
</GenerateReportReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

QBAccountingReportModel
NameDescriptionTypeAdditional information
accountingDetails

Collection of AccountingDetails

None.

Total

Collection of decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "accountingDetails": [
    {
      "CheckInDate": "sample string 1",
      "EntryDate": "sample string 2",
      "Property": "sample string 3",
      "CustomerName": "sample string 4",
      "Vendor": "sample string 5",
      "VendorPayment": 6.1,
      "CleaningFees": 7.1,
      "Rent": 8.1,
      "PaymentReceived": "sample string 9",
      "CleaningCost": 10.1,
      "TotalCleaning": 11.1,
      "Total": [
        1.1,
        2.1
      ]
    },
    {
      "CheckInDate": "sample string 1",
      "EntryDate": "sample string 2",
      "Property": "sample string 3",
      "CustomerName": "sample string 4",
      "Vendor": "sample string 5",
      "VendorPayment": 6.1,
      "CleaningFees": 7.1,
      "Rent": 8.1,
      "PaymentReceived": "sample string 9",
      "CleaningCost": 10.1,
      "TotalCleaning": 11.1,
      "Total": [
        1.1,
        2.1
      ]
    }
  ],
  "Total": [
    1.1,
    2.1
  ]
}

application/xml, text/xml

Sample:
<QBAccountingReportModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PIMS.DTO">
  <Total xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:double>1.1</d2p1:double>
    <d2p1:double>2.1</d2p1:double>
  </Total>
  <accountingDetails>
    <AccountingDetails>
      <CheckInDate>sample string 1</CheckInDate>
      <CleaningCost>10.1</CleaningCost>
      <CleaningFees>7.1</CleaningFees>
      <CustomerName>sample string 4</CustomerName>
      <EntryDate>sample string 2</EntryDate>
      <PaymentReceived>sample string 9</PaymentReceived>
      <Property>sample string 3</Property>
      <Rent>8.1</Rent>
      <Total xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:double>1.1</d4p1:double>
        <d4p1:double>2.1</d4p1:double>
      </Total>
      <TotalCleaning>11.1</TotalCleaning>
      <Vendor>sample string 5</Vendor>
      <VendorPayment>6.1</VendorPayment>
    </AccountingDetails>
    <AccountingDetails>
      <CheckInDate>sample string 1</CheckInDate>
      <CleaningCost>10.1</CleaningCost>
      <CleaningFees>7.1</CleaningFees>
      <CustomerName>sample string 4</CustomerName>
      <EntryDate>sample string 2</EntryDate>
      <PaymentReceived>sample string 9</PaymentReceived>
      <Property>sample string 3</Property>
      <Rent>8.1</Rent>
      <Total xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:double>1.1</d4p1:double>
        <d4p1:double>2.1</d4p1:double>
      </Total>
      <TotalCleaning>11.1</TotalCleaning>
      <Vendor>sample string 5</Vendor>
      <VendorPayment>6.1</VendorPayment>
    </AccountingDetails>
  </accountingDetails>
</QBAccountingReportModel>