Description
This call adds an item to a return case in pixi* Repairs
Request Parameters
| # |
Name |
Type |
Required |
Example |
Description |
| 1 |
InvLineKey |
integer |
1 |
123 |
Invoice line ID used as reference |
| 2 |
QuantityToReturn |
integer |
1 |
123 |
Item quantity that should be returned |
| 3 |
ItemOk |
boolean |
0 |
0 or 1 |
Item condition; 0 = Damaged, 1 = OK |
| 4 |
RET_ID |
integer |
0 |
123 |
Return case ID from pixi* Repairs |
| 5 |
ReturnReason |
string |
0 |
abcdefg |
Return reason |
| 6 |
CustomersComment |
string |
0 |
abcdefg |
Customer comment |
| 7 |
ReceiversComment |
string |
0 |
abcdefg |
Receiver comment |
| 8 |
Employee |
string |
0 |
abcdefg |
User that added the item |
| 9 |
ReturnDate |
string |
0 |
YYYY-MM-DD hh:mm:ss |
Date the item was returned |
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:pixiAddReturnCaseLine>
<dem:InvLineKey>123</dem:InvLineKey>
<dem:QuantityToReturn>123</dem:QuantityToReturn>
<dem:ItemOk>0 or 1</dem:ItemOk>
<dem:RET_ID>123</dem:RET_ID>
<dem:ReturnReason>abcdefg</dem:ReturnReason>
<dem:CustomersComment>abcdefg</dem:CustomersComment>
<dem:ReceiversComment>abcdefg</dem:ReceiversComment>
<dem:Employee>abcdefg</dem:Employee>
<dem:ReturnDate>YYYY-MM-DD hh:mm:ss</dem:ReturnDate>
</dem:pixiAddReturnCaseLine>
</soapenv:Body>
</soapenv:Envelope>
Response
Body 1:
| # |
Name |
Type |
Description |
| 1 |
UPDATED_RETURN_ID |
integer |
Return case ID that was updated |
| 2 |
RET_LINE_ID |
integer |
Return case line ID that was created |
Additional Notes
## This API call is used to create new return lines to a return case which can be worked on in pixi* Repairs.
Return cases this call is referring to are not shown in Customer Service, Web and can also not be opened in pixi* Mobile.