PwsGetVendors
Overview
This web service retrieves a list of expense report vendors.
Rate Limiting
In order to protect our servers from inadvertent service overuse or intentional attack, and to fairly distribute services to all our customers, we have implemented a rate limiting algorithm. When fully deployed, this new algorithm will cause services to either succeed with new warnings or fail with new errors when services are consumed at too high a rate. Programs that consume Projector services should be enhanced to handle rate limiting errors so that they can continue functioning properly. For more information please visit: Projector Rate Limiting Behavior.
Request Format
- PwsGetVendors
- serviceRequest: PwsGetVendorsRq
- RequestId: Int32
- SessionTicket: String
- ExpenseDocumentIdentity: PwsExpenseDocumentRef
- IncludeExpenseReportPayeesFlag: Boolean
- IncludeInactiveFlag: Boolean
- IncludeSubcontractorInvoicePayeesFlag: Boolean
- IncludeVendorInvoicePayeesFlag: Boolean
- ResourceIdentity: PwsResourceRef
- serviceRequest: PwsGetVendorsRq
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
Int32 | No | Click here for more information. | 1 | ||
String | Yes | Click here for more information. | AV795EkfoxzwEpVD7pZJJA== | ||
ExpenseDocumentIdentity | If "IncludeExpenseReportPayeesFlag" = 'true', one of ExpenseDocumentIdetity or ResourceIdentity is required | If specified, the expense document's company and disbursing currency will be used to determine the proper value for ExpenseReportPayeeFlag in PwsVendorSummary. Otherwise, the resource's company and disbursing currency will. Note: This is only applicable if "IncludeExpenseReportPayeesFlag" = 'true' | |||
IncludeExpenseReportPayeesFlag | Boolean | No | false | If set to 'true', vendors that are enabled for expense reports are included in the response. | true |
IncludeInactiveFlag | Boolean | No | false | If set to 'true', inactive vendors are included in the response. | false |
IncludeSubcontractorInvoicePayeesFlag | Boolean | No | false | If set to 'true', vendors that are enabled for subcontractor invoices are included in the response. | false |
IncludeVendorInvoicePayeesFlag | Boolean | No | false | If set to 'true', vendors that are enabled for vendor invoices are included in the response. | false |
ResourceIdentity | See ExpenseDocumentIdentity | If specified, the resource's company and disbursing currency will be used to determine the proper value for ExpenseReportPayeeFlag in PwsVendorSummary. Note: This is only applicable if "IncludeExpenseReportPayeesFlag" = 'true' |
Request Usage Example(s)
Response Format
- PwsGetVendorsResponse
- PwsGetVendorsResult: PwsGetVendorsRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- Vendors: PwsVendorSummary[]
- ExpenseReportVendorIdentity: PwsVendorRef
- PwsGetVendorsResult: PwsGetVendorsRs
Response Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
Messages | The web service response status and message. Click here for more information. | ||
ResponseId | Int32 | Click here for more information. | 1 |
Status | Click here for more information. | Ok | |
DateTime | Click here for more information. | 2018-03-05T19:49:28.5492052Z | |
Vendors | The vendor summary records that were fetched by the service. | ||
ExpenseReportVendorIdentity | The expense report vendor identity. Note: This is only applicable if "IncludeExpenseReportPayeesFlag" = 'true' in the request |
Response Usage Example(s)
PwsGetVendors - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
57545 | ResourceNotFound | The specified resource does not exist. |
65494 | ExpenseDocumentNotFound | Expense document not found. |
65731 | MustSpecifyEitherExpenseDocumentOrResource | When searching for expense report vendors, either an expense document or resource must be specified. |