Overview
This web service retrieves a list of companines (PwsCompanySummary), based on specified search criteria. You can specify which company or comapnies to retrieve either by specifying a set of search criteria, or by specifying a specific company (PwsCompanyRef).
Request Format
PwsGetCurrencies Request
- PwsGetCurrencies
- serviceRequest: PwsGetCurrenciesRq
- RequestId: Int32
- SessionTicket: String
- DisbursedCurrencyIdentity: PwsCurrencyRef
- EffectiveDate: DateTime
- IncurredOpsCurrencyIdentity: PwsOpsCurrencyRef
- ResourceIdentity: PwsResourceRef
- serviceRequest: PwsGetCurrenciesRq
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
RequestId | Int32 | No | Click here for more information. | ||
SessionTicket | String | Yes | Click here for more information. | ATtU220EvBSE2+GCN9U58g== | |
DisbursedCurrencyIdentity | |||||
EffectiveDate | DateTime | No | |||
IncurredOpsCurrencyIdentity | |||||
ResourceIdentity |
Request Usage Example(s)
Response Format
PwsGetCurrencies Response
- PwsGetCurrenciesResponse
- PwsGetCurrenciesResult: PwsGetCurrenciesRs
- Messages: PwsMessage
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- Currencies: PwsCurrencyRate
- PwsGetCurrenciesResult: PwsGetCurrenciesRs
Response Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
Messages | |||
ResponseId | Int32 | Click here for more information. | |
Status | RequestStatus | Click here for more information | Ok |
ServerTimestampUtc | DateTime | Click here for more information. | |
Currencies |
Response Usage Example(s)
Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
57530 | CurrencyNotValidForAccount | The specified currency is not enabled for this account. |
57545 | ResourceNotFound | The specified resource does not exist. |