---
# System prepended metadata

title: Tenant Management Endpoint
tags: [Technical Reference, Endpoints, Tenants Management]

---

# Tenant Management Endpoint
## Flow


## ServiceURL and Payload

#### Department
##### SelectDepartmentCredentials
###### Method: GET
###### Endpoint: /api/TenantManagement/selectdepartmentcredentials
###### Payload:

```
ID uniqueidentifier : DepartmentID
```

###### Response:

```
[
  {
    "departmentId": "6fafea6e-ce76-44b0-a1da-d7facad251fd",
    "tenantId": "778df26c-1aab-4f5e-93fd-e4cae2c1bc39",
    "paymentCredentialID": "3dcb8460-610c-45ef-b3e8-bfb46c7be746",
    "isActive": true,
    "currencyCode": "USD",
    "merchantID": "800000009440",
    "username": "testing",
    "password": "testing123",
    "apiUrl": "https://fts-uat.cardconnect.com/cardconnect/rest/"
  }
]
```
---

#### Tenant Management

##### ViewTenantInformation
###### Method: GET
###### Endpoint: /api/TenantManagement/viewtenantinformation/{id}
###### Payload:

```
ID uniqueidentifier : TenantID
```
###### Response:

```
[
    {
        "tenantID": "778df26c-1aab-4f5e-93fd-e4cae2c1bc39",
        "tenantName": "Demo Tenant",
        "packageID": "1e456264-b17b-4ca4-84fe-52a398927281",
        "licenseID": "ac6fb6f4-4aad-41c8-b0a0-cf65537e03a5",
        "packageName": "OutsideHire Internal",
        "licenseTypeID": 1,
        "licenseTypeName": "Internal",
        "tenantContactFirstName": "Outsidehire",
        "tenantContactLastName": "Administrator",
        "tenantAddress": "123 Developer Street",
        "tenantAddress2": "Development Village",
        "tenantCity": "Application City",
        "tenantCountry": "US",
        "tenantState": "KY",
        "tenantZipCode": "31232",
        "tenantWebsite": "invoisure.app",
        "tenantEmailAddress": "developer@outsidehire.com",
        "tenantContactNumber": "1234567890",
        "tenantStatusID": 1,
        "tenantStatusName": "Internal",
        "tenantLogo": "https://invoisurestagingblob.blob.core.windows.net/tenantassets/Logo1.png",
        "currencyID": 147,
        "currencyCode": "USD",
        "currencyHTMLCode": "$",
        "created": "2024-03-06T13:46:00",
        "creator": "94c05aed-9838-4276-b968-be0c0e660e7e",
        "creatorName": "Outsidehire, Developer",
        "updated": "2024-08-28T10:08:00",
        "updater": "94c05aed-9838-4276-b968-be0c0e660e7e",
        "updaterName": "Outsidehire, Developer"
    }
]
```
---
##### UpdateTenantProfile
###### Method: POST
###### Endpoint: /api/TenantManagement/updatetenantprofile
###### Payload:

```
{
  "tenantID": "778df26c-1aab-4f5e-93fd-e4cae2c1bc39",
  "tenantName": "Demo Tenant",
  "currencyID": 147,
  "tenantContactFirstName": "Outsidehire",
  "tenantContactLastName": "Administrator",
  "tenantAddress": "123 Developer Street",
  "tenantAddress2": "Development Village",
  "tenantCity": "Application City",
  "tenantCountry": "US",
  "tenantState": "KY",
  "tenantZipCode": "31232",
  "tenantWebsite": "invoisure.app",
  "tenantEmailAddress": "developer@outsidehire.com",
  "tenantContactNumber": "1234567890",
  "tenantLogo": "https://invoisurestagingblob.blob.core.windows.net/tenantassets/Logo1.png",
  "updater": "94c05aed-9838-4276-b968-be0c0e660e7e"
}
```