Overview
This web service inserts or updates a single vendor based on a detailed vendor structure (PwsVendorDetail). The service returns the identity of the vendor (PwsVendorRef) that has been inserted or updated. The caller can optionally request that the full vendor element (PwsVendorElement) be included in the response.
Request Format
- PwsSaveVendor
- serviceRequest: PwsSaveVendorRq
- RequestId: Int32
- SessionTicket: String
- ClearResourceVendorPayeesFlag: Boolean
- ClearVendorReconciliationGlAcctFlag: Boolean
- FullDetailFlag: Boolean
- Vendor: PwsVendorDetail
- serviceRequest: PwsSaveVendorRq
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
RequestId | Int32 | No | Click here for more information. | 1 | |
SessionTicket | String | Yes | Click here for more information. | AaNO7kKwfPfmXiw5wd7KdQ== | |
ClearResourceVendorPayeesFlag | Boolean | No | false | If set to 'true', the resource vendor payees will be cleared | false |
ClearVendorReconciliationGlAcctFlag | Boolean | No | false | If set to 'true', the vendor reconciliation general ledger account will be cleared | false |
FullDetailFlag | Boolean | No | false | If set to "true", the complete vendor detail will be included in response. | true |
Vendor | Yes | The detailed vendor information to be inserted or updated |
Request Usage Example(s)
Response Format
- PwsSaveVendorResponse
- PwsSaveVendorResult: PwsSaveVendorRs
- Messages: PwsMessage
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- Vendor: PwsVendorElement
- VendorIdentity: PwsVendorRef
- PwsSaveVendorResult: PwsSaveVendorRs