Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

This web service retrieves a list of project summary records (PwsAccountingPeriodSummary), based on specified search criteria. For example, the following parameters affect the list of accounting periods retrieved:

  • QueryString: Find all accounting periods matching specified string in accounting period code or name
  • AccountingPeriodIdentity: If specified, the identified accounting period will be returned. And QueryString will be ignored.

Request Format

Panel
titlePwsGetAccountingPeriodList Request
  • PwsGetAccountingPeriodList
    • serviceRequest: PwsGetAccountingPeriodListRq
      • RequestId: Int32
      • SessionTicket: String
      • AccountingPeriodIdentity: PwsAccountingPeriodRef
      • IncludeFullyClosedFlag: Boolean
      • IncludeOpenForAdjustmentsFlag: Boolean
      • IncludeOpenForApTransactionsFlag: Boolean
      • IncludeOpenForArTransactionsFlag: Boolean
      • IncludeOpenForCostFlag: Boolean
      • IncludeOpenForGlTransactionsFlag: Boolean
      • IncludeOpenForTimeFlag: Boolean
      • MaxRowsToReturn: Int32
      • QueryString: String
      • CompanyIdentity: PwsCompanyRef

Request Elements

Element

Data Type

Required?

Default

Description

Sample Data

RequestId

Int32



Click here for more information.


SessionTicket

String



Click here for more information.


AccountingPeriodIdentity

PwsAccountingPeriodRef





IncludeFullyClosedFlag

Boolean





IncludeOpenForAdjustmentsFlag

Boolean





IncludeOpenForApTransactionsFlag

Boolean





IncludeOpenForArTransactionsFlag

Boolean





IncludeOpenForCostFlag

Boolean





IncludeOpenForGlTransactionsFlag

Boolean





IncludeOpenForTimeFlag

Boolean





MaxRowsToReturn

Int32





QueryString

String





CompanyIdentity

PwsCompanyRef





Usage Example(s)

Code Block
languagexml
titleExample 01 - Project is not specified
collapsetrue
</soapenv:Envelope>
Code Block
languagexml
titleExample 02 - Project is specified
collapsetrue
</soapenv:Envelope>

Response Format

Panel
titlePwsGetAccountingPeriodList Response

Response Elements

Element

Data Type

Description

Sample Data

Messages

PwsMessage



ResponseId

Int32

Click here for more information.


StatusRequestStatusClick here for more informationOk

ServerTimestampUtc

DateTime

Click here for more information.


AccountingPeriods

PwsAccountingPeriodSummary



Usage Example(s)

Code Block
languagexml
titleExample 01 - Project is not specified with error code
collapsetrue
</s:Envelope>
Code Block
languagexml
titleExample 02 - Project is specified
collapsetrue
</s:Envelope>

Common Errors and Warnings

ErrorNumber

ErrorCode

Description