Description
API call to create supplier/purchase orders from suggestion profile
Request Parameters
| # |
Name |
Type |
Required |
Example |
Description |
| 1 |
ProfileId |
string |
1 |
7 |
Supplier/purchase order profile ID |
Request body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dem="https://api.pixi.eu/soap/demosandbox/">
<soapenv:Header/>
<soapenv:Body>
<dem:pixiCreateSupplierOrderFromProfile>
<dem:ProfileId>7</dem:ProfileId>
</dem:pixiCreateSupplierOrderFromProfile>
</soapenv:Body>
</soapenv:Envelope>
Response
Body 1: SupplierOrderSuggestion result
| # |
Name |
Type |
Description |
| 1 |
SupplOrderNr |
integer |
Supplier/purchase order number |
| 2 |
SupplNr |
string |
Supplier number |
Body 2: SupplierOrderSuggestion result
| # |
Name |
Type |
Description |
| 1 |
Status |
string |
Execution status |
| 2 |
Message |
string |
Status description |
Additional Notes
####**Helpful Information**
1) The user that is used to create the purchase/supplier orders is always "API".
2) Items cannot be added to existing purchase/supplier orders with this call - no matter the configuration of the used profile.
----------
####**Troubleshooting**
**How to get the "ProfileID"**
The profile ID is only displayed when manually opening a profile in pixi* Web. Check the URL in the browser to see the "profileId".
----------
####**Error Messages**
_Supplier Order Suggestion Profile not found!_
The provided supplier order suggestion profile could not be found in the database. Use an existing profile ID.