Return To Inventory
The Return To Inventory API allows "fixing" a card that was spoiled in the inventory (which means its status changed to SPLT), this API will set its status to CII (Card In Inventory) and will allow using it again.
Input Parameters
Input Parameters:
| Name | Required | Definition | Comments |
|---|---|---|---|
| RetailPackId | C | Format: Pattern: 12-5-1-1. 1..12digits-1..5digits-1digit-1 digit Description: Praxell Retail pack identifier |
|
| Type | Y | Format: RPID CARD Description: Type of transaction for charge fee |
Output Parameters:
Output Parameters:
XML Samples
Input XML
Input XML
<?xml version="1.0" ?>
<PraxellXMLRequest>
<AuthenticationDetails>
<UserName>your_username</UserName>
<UserPassword>your_password</UserPassword>
<ClientSourceIP></ClientSourceIP>
</AuthenticationDetails>
<ServiceDetails>
<ServiceName>ReturnToInventory</ServiceName>
<UniqueRequestId>1212121212121213</UniqueRequestId>
</ServiceDetails>
<Origin>
<OriginType>ExtAPI</OriginType>
</Origin>
<ServiceParams>
<Type>RPID</Type>
<RetailPackId>9999999999998036</RetailPackId>
</ServiceParams>
</PraxellXMLRequest>
Success Response
<?xml version="1.0" ?>
<PraxellXMLResponse>
<ResponseDetails>
<ServiceName>ReturnToInventory</ServiceName>
<SessionId>05200637022706028152</SessionId>
<StatusCode>0</StatusCode>
<StatusName>StatusOK</StatusName>
<StatusDescription>NA</StatusDescription>
<ServiceDate>2007-05-27 06:17:54</ServiceDate>
<ServiceId>05200637022706028152</ServiceId>
</ResponseDetails>
<ResponseParams>
</ResponseParams>
</PraxellXMLResponse>
Error Response
<?xml version="1.0"?>
<PraxellXMLResponse>
<ResponseDetails>
<ServiceName>ReturnToInventory</ServiceName>
<SessionId>07071612200737105</SessionId>
<StatusCode>70000</StatusCode>
<StatusName>Processor error</StatusName>
<StatusDescription>Processor error</StatusDescription>
<ServiceDate>2021-10-01 12:37:50</ServiceDate>
<ServiceId>07071612200737105</ServiceId>
</ResponseDetails>
<ResponseParams>
</ResponseParams>
</PraxellXMLResponse>