# 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                                       |                                                                       |

| 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                                            |

## 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>
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://apidocs.juicefin.com/apis/administration/manage-org-to-orgs-relation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
