> For the complete documentation index, see [llms.txt](https://apidocs.juicefin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.juicefin.com/apis/administration/manage-praxell-code.md).

# Manage Praxell Code

## Manage Praxell Code

The Manage Praxell Code API allows to add, update and delete Praxell codes. In addition it allows to get the relevant available SMS and display a template.

## Input Parameters:

| Name                   | Required | Definition                                                                                                      | Comments                             |
| ---------------------- | -------- | --------------------------------------------------------------------------------------------------------------- | ------------------------------------ |
| DisplayTemplateID      | N        | Format: Alphanumeric, 2 (default empty)                                                                         | Create, Update                       |
| IsActivity             | N        | Format: Y/N (default)                                                                                           | Create, Update                       |
| IsFee                  | N        | Format: Y/N (default)                                                                                           | Create, Update                       |
| IsGCR                  | N        | Format: Y/N (default)                                                                                           | Create, Update                       |
| OperationType          | N        | <p>Format options:<br>View<br>Create<br>Update</p>                                                              | Create, Update, Delete               |
| PraxellCode            | Y        | <p>Format: Alphanumeric,<br>Description: validates if exists</p>                                                | Create, Update, Delete               |
| PraxellCodeDescription | Y        | Format: Alphanumeric, 80                                                                                        | Create, Update                       |
| SMSTemplateID          | N        | Format: Alphanumeric, 2 (default empty)                                                                         | Create, Update                       |
| Type                   | N        | <p>Format options:<br>Load<br>Unload<br>Other</p>                                                               | Create, Update                       |
| TransactionType        | C        | <p>Format:<br>List of values: Credit, Debit, Auth, Info<br>Description: provide the type of the transaction</p> | Create (Required), Update (Optional) |

## Output Parameters:

| Name                   | Definition                                                       | Failure Case | Success Case | Comments |
| ---------------------- | ---------------------------------------------------------------- | ------------ | ------------ | -------- |
| PraxellCode            | <p>Format: Alphanumeric,<br>Description: validates if exists</p> | Not returned | Returned     | Create   |
| PraxellCodeDescription | Format: Alphanumeric, 80                                         | Not returned | Returned     | Create   |

## XML Samples

### Input XML

```json
<?xml version="1.0" ?>
<PraxellXMLRequest>
    <AuthenticationDetails>
        <UserName>PPM_PMA_QA</UserName>
        <UserPassword>1q2w3e4r</UserPassword>
      <ClientSourceIP></ClientSourceIP> 
 </AuthenticationDetails>;
    <ServiceDetails>
        <ServiceName>ManagePraxellCode</ServiceName>
        <UniqueRequestId>12121212121212163</UniqueRequestId>
    </ServiceDetails>
    <Origin>
        <OriginType>praxell</OriginType>
    </Origin>
    <ServiceParams>
        <OperationType>Create</OperationType>
        <PraxellCode>XP11DF</PraxellCode>
        <PraxellCodeDescription>AAA</PraxellCodeDescription>
        <IsActivity>N</IsActivity>
        <IsGCR>N</IsGCR>
        <SMSTemplateID>A5</SMSTemplateID>
        <DisplayTemplateID>D</DisplayTemplateID>
        <IsFee>Y</IsFee>
        <Type>Other</Type>
        <TransactionType>Info</TransactionType>
    </ServiceParams>
</PraxellXMLRequest>
```

```json
```

```json
<?xml version="1.0"?>
<PraxellXMLResponse>
  <ResponseDetails>
    <ServiceName>ManagePraxellCode</ServiceName>
    <SessionId>07071612200737105</SessionId>
    <StatusCode>70029</StatusCode>
    <StatusName>Data not found (cardholder not found)</StatusName>
    <StatusDescription>Data not found (cardholder not found)</StatusDescription>
    <ServiceDate>2021-10-01 12:37:50</ServiceDate>
    <ServiceId>07071612200737105</ServiceId>
  </ResponseDetails>
  <ResponseParams>
  </ResponseParams>
</PraxellXMLResponse>
```
