# Manage Org To Orgs Relation

## Manage Org To Orgs Relation

The Manage Org To Orgs Relation API allows to manage relation between organizations

## Input Parameters:

| Name                            | Required                                                                  | Definition                                                               | Comments                                                              |
| ------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------ | --------------------------------------------------------------------- |
| OrganizationSource              | Y                                                                         | Format: Alphanumeric, 1-30                                               |                                                                       |
| OrganizationTarget              | Y                                                                         | Format: Alphanumeric, 1-30                                               | it can be a list of organizations names under tag OrganizationTargets |
| OperationType                   | Y                                                                         | <p>Operation type done in API - closed list of values (per API):<br></p> |                                                                       |
| Approve Card Order API          | Approve,Decline                                                           |                                                                          |                                                                       |
| Instant Issue API               | CardNumber, RPID                                                          |                                                                          |                                                                       |
| Manage Org To Orgs Relation API | Create,Delete                                                             |                                                                          |                                                                       |
| Manage Store API                | Create, Update                                                            |                                                                          |                                                                       |
| Manage Sub Organization API     | Create,Update,View                                                        |                                                                          |                                                                       |
| Manage Terminal API             | Create, Update                                                            |                                                                          |                                                                       |
| Manage User API                 | Create, Update                                                            |                                                                          |                                                                       |
| Research Card API               | RPID, Blank (if RPID, RPID is required. If blank, CardNumber is required) |                                                                          |                                                                       |
| Manage FBE API                  | Create, ChangeStatus, Update                                              |                                                                          |                                                                       |
| Manage Praxell Code API         | View, Create, Update                                                      |                                                                          |                                                                       |
| Manage Fee API                  | Create, Update, Delete                                                    |                                                                          |                                                                       |
| Manage Payee API                | Add, GetPayees, Delete, Update                                            |                                                                          |                                                                       |
| Approve Card Order API          | Approve,Decline                                                           |                                                                          |                                                                       |
| Instant Issue API               | CardNumber, RPID                                                          |                                                                          |                                                                       |
| Manage Org To Orgs Relation API | Create,Delete                                                             |                                                                          |                                                                       |
| Manage Store API                | Create, Update                                                            |                                                                          |                                                                       |
| Manage Sub Organization API     | Create,Update,View                                                        |                                                                          |                                                                       |
| Manage Terminal API             | Create, Update                                                            |                                                                          |                                                                       |
| Manage User API                 | Create, Update                                                            |                                                                          |                                                                       |
| Research Card API               | RPID, Blank (if RPID, RPID is required. If blank, CardNumber is required) |                                                                          |                                                                       |
| Manage FBE API                  | Create, ChangeStatus, Update                                              |                                                                          |                                                                       |
| Manage Praxell Code API         | View, Create, Update                                                      |                                                                          |                                                                       |
| Manage Fee API                  | Create, Update, Delete                                                    |                                                                          |                                                                       |
| Manage Payee API                | Add, GetPayees, Delete, Update                                            |                                                                          |                                                                       |
| Approve Card Order API          | Approve,Decline                                                           |                                                                          |                                                                       |
| Instant Issue API               | CardNumber, RPID                                                          |                                                                          |                                                                       |
| Manage Org To Orgs Relation API | Create,Delete                                                             |                                                                          |                                                                       |
| Manage Store API                | Create, Update                                                            |                                                                          |                                                                       |
| Manage Sub Organization API     | Create,Update,View                                                        |                                                                          |                                                                       |
| Manage Terminal API             | Create, Update                                                            |                                                                          |                                                                       |
| Manage User API                 | Create, Update                                                            |                                                                          |                                                                       |
| Research Card API               | RPID, Blank (if RPID, RPID is required. If blank, CardNumber is required) |                                                                          |                                                                       |
| Manage FBE API                  | Create, ChangeStatus, Update                                              |                                                                          |                                                                       |
| Manage Praxell Code API         | View, Create, Update                                                      |                                                                          |                                                                       |
| Manage Fee API                  | Create, Update, Delete                                                    |                                                                          |                                                                       |
| Manage Payee API                | Add, GetPayees, Delete, Update                                            |                                                                          |                                                                       |
| RelationType                    | N                                                                         | Format: CallCenter (default), Bank                                       |                                                                       |

## Output Parameters:

## XML Samples

### Input XML

```json
<?xml version="1.0" ?>
 <PraxellXMLRequest>
    <AuthenticationDetails>
        <UserName></UserName>
        <UserPassword></UserPassword>
      <ClientSourceIP></ClientSourceIP> 
 </AuthenticationDetails>;
    <ServiceDetails>
        <ServiceName>ManageOrgToOrgsRelation</ServiceName>
        <UniqueRequestId>7532121212121213</UniqueRequestId>
    </ServiceDetails>
    <Origin>
        <OriginType>praxell</OriginType>
    </Origin>
    <ServiceParams>
       <OrganizationSource></OrganizationSource>
      <OrganizationTargets>
              <OrganizationTarget></OrganizationTarget>
              <OrganizationTarget></OrganizationTarget>
             <OrganizationTarget></OrganizationTarget>
            </OrganizationTargets>
      <OperationType></OperationType>
      <RelationType></RelationType>
    </ServiceParams>
 </PraxellXMLRequest>
```

```json
<?xml version="1.0"?>
 <PraxellXMLResponse>
     <ResponseDetails>
        <ServiceName>ManageOrgToOrgsRelation</ServiceName>
        <SessionId>38851911201245015</SessionId>
        <StatusCode>0</StatusCode>
        <StatusName>StatusOK</StatusName>
        <StatusDescription>NA</StatusDescription>
        <ServiceDate>2012-01-05 11:45:58</ServiceDate>
        <ServiceId>38851911201245015</ServiceId>
    </ResponseDetails>
   <ResponseParams>
   </ResponseParams>
 </PraxellXMLResponse>
```

```json
<?xml version="1.0"?>
<PraxellXMLResponse>
  <ResponseDetails>
    <ServiceName>ManageOrgToOrgsRelation</ServiceName>
    <SessionId>07071612200737105</SessionId>
    <StatusCode>70201</StatusCode>
    <StatusName>Invalid Organization</StatusName>
    <StatusDescription>Invalid Organization</StatusDescription>
    <ServiceDate>2021-10-01 12:37:50</ServiceDate>
    <ServiceId>07071612200737105</ServiceId>
  </ResponseDetails>
  <ResponseParams>
  </ResponseParams>
</PraxellXMLResponse>
```
