TAG LINE
TAG LINE
SMALL TITLE

Owner

(API Version v7)


Represents a business unit or corporate entity within the system. Currently limited to one business unit.


What can you do with Owner?


Properties

Property Details
identity
READ-ONLY
"identity": 27
Type: Number
This is the unique numeric identifier for the Owner
name
READ-ONLY
"name": "Default Owner"
Type: String
User defined name for this Owner.
tree
"tree": "1"
Type: String
Represents the level in which this Owner exists in the corporate hierarchy.
fiscalYearStartingMonth
"fiscalYearStartingMonth": 1
Type: Number
Represents the month in which the fiscal year begins.
amountPrecision
"amountPrecision": 2
Type: Number
Number of decimal points to round when generating charges. Maximum allowed is 11.
largeLogo
"largeLogo": "base64encoded"
Type: String
Large logo to show in the menu and login screen
smallLogo
"smallLogo": "base64encoded"
Type: String
Small logo to show in the menu when displayed on a smaller screen form factor such as a tablet.
primaryColor
"primaryColor": "#000000"
Type: String
unused
secondaryColor
"secondaryColor": "#0000FF"
Type: String
unused
dynamicUsageClassExtensionAttributeId
"dynamicUsageClassExtensionAttributeId": 14
Type: Number
Unique identifier for the associated ExtensionAttribute object.
dynamicUsageClassExtensionAttributeName
"dynamicUsageClassExtensionAttributeName": "Sample Name"
Type: String
The name of the object associated with the dynamicUsageClassExtensionAttributeId property.
defaultLocaleId
"defaultLocaleId": 23
Type: Number
Unique identifier for the associated Locale object.
defaultLocaleName
"defaultLocaleName": "Sample Name"
Type: String
The name of the object associated with the defaultLocaleId property.
realTimeUsageTaxation
"realTimeUsageTaxation": true
Type: Boolean
Whether or not to tax usage at time of real-time rating.
isCustomerPortalActive
"isCustomerPortalActive": true
Type: Boolean
Whether or not the built in Customer portal option is active and available for your customers.
roundingMethodTypeId
"roundingMethodTypeId": 22
Type: Number
Unique identifier for the associated RoundingMethodType object.
roundingMethodTypeName
"roundingMethodTypeName": "Sample Name"
Type: String
The name of the object associated with the roundingMethodTypeId property.
usageBillingGraceDays
"usageBillingGraceDays": 10
Type: Number
This represents a late usage rating threshold. The threshold on how many days in the past the system will honor when usage arrives late in the system.
isReportingDatabaseEnabled
"isReportingDatabaseEnabled": true
Type: Boolean
Identifies if a reporting database is enambled in the system.
displayName
"displayName": "Hello World"
Type: String
An optional display only name for the Owner.
vatNumber
"vatNumber": "VAT0001IE"
Type: String
The VAT number of the owner.
bankingReferenceIdentifier
"bankingReferenceIdentifier": "Hello World"
Type: String
Seller identifier or bank assigned creditor identifier
registrationIdentifier
"registrationIdentifier": "Hello World"
Type: String
Seller legal registration identifier.
electronicInvoiceEndpointIdentifier
"electronicInvoiceEndpointIdentifier": "Hello World"
Type: String
Whether or not the built in Customer portal option is active and available for your customers.
billPrepaidAdjustments
"billPrepaidAdjustments": true
Type: Boolean
Controlls how the customer's prepaid periods are billed (default is true). If false, only charges dated up to the next bill day of the package are billed.


Patch Types

The PATCH verb allows you to update an object. Just like a put, you only need to supply the fields that will be updated in the payload. However, a patch allows you to update many objects at once.

PATCH operations can be used as a standard API call. Below you will find the child objects that can be updated as part of PATCH operations for the Owner object.

Standard PATCH objects:

  • usageRatePlan - update, delete
  • currency - create, update, delete
  • customerPortalSetting - create, update, delete
  • contact - create, update, delete

DataFlow PATCH objects:

  • owner - create, update, delete
  • usageRatePlan - update, delete
  • currency - create, update, delete
  • customerPortalSetting - create, update, delete
  • contact - create, update, delete

End Points

GETOwner/
Retrieve Owner information.
Retrieve Owner information.
GET Owner/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "name": "Default Owner",
            "tree": "1",
            "fiscalYearStartingMonth": "1",
            "amountPrecision": "2",
            "largeLogo": "base64encoded",
            "smallLogo": "base64encoded",
            "primaryColor": "#000000",
            "secondaryColor": "#0000FF",
            "dynamicUsageClassExtensionAttributeId": 14,
            "dynamicUsageClassExtensionAttributeName": "Sample Text Data",
            "defaultLocaleId": 21,
            "defaultLocaleName": "Sample Text Data",
            "realTimeUsageTaxation": true,
            "isCustomerPortalActive": true,
            "roundingMethodTypeId": 27,
            "roundingMethodTypeName": "Sample Text Data",
            "usageBillingGraceDays": "10",
            "isReportingDatabaseEnabled": true,
            "displayName": "Sample Text Data",
            "vatNumber": "VAT0001IE",
            "bankingReferenceIdentifier": "Sample Text Data",
            "registrationIdentifier": "Sample Text Data",
            "electronicInvoiceEndpointIdentifier": "Sample Text Data",
            "billPrepaidAdjustments": true
        }
    ]
}
GETOwner/Paged
Retrieve Owner information. This endpoint implements pagination for its results. Individual pages can be requested to return a particular paged set in the list of results. To learn more, see details on working with paginated endpoints.
Retrieve Owner information.
GET Owner/Paged
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "pagination": {
        "pageNumber": 1,
        "pageSize": 20,
        "excludeTotalCount": false
    },
    "pagedResults": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "name": "Default Owner",
                "tree": "1",
                "fiscalYearStartingMonth": "1",
                "amountPrecision": "2",
                "largeLogo": "base64encoded",
                "smallLogo": "base64encoded",
                "primaryColor": "#000000",
                "secondaryColor": "#0000FF",
                "dynamicUsageClassExtensionAttributeId": 25,
                "dynamicUsageClassExtensionAttributeName": "Sample Text Data",
                "defaultLocaleId": 5,
                "defaultLocaleName": "Sample Text Data",
                "realTimeUsageTaxation": true,
                "isCustomerPortalActive": true,
                "roundingMethodTypeId": 3,
                "roundingMethodTypeName": "Sample Text Data",
                "usageBillingGraceDays": "10",
                "isReportingDatabaseEnabled": true,
                "displayName": "Sample Text Data",
                "vatNumber": "VAT0001IE",
                "bankingReferenceIdentifier": "Sample Text Data",
                "registrationIdentifier": "Sample Text Data",
                "electronicInvoiceEndpointIdentifier": "Sample Text Data",
                "billPrepaidAdjustments": true
            }
        ]
    }
}
GETOwner/Paged/Detail
Retrieve Owner information. This endpoint returns additional detailed data related to this object. The specifics on which data is returned will depend on which related objects have been populated in the system.
Retrieve Owner information.
GET Owner/Paged/Detail
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "pagination": {
        "pageNumber": 1,
        "pageSize": 20,
        "excludeTotalCount": false
    },
    "pagedResults": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "name": "Default Owner",
                "tree": "1",
                "fiscalYearStartingMonth": "1",
                "amountPrecision": "2",
                "largeLogo": "base64encoded",
                "smallLogo": "base64encoded",
                "primaryColor": "#000000",
                "secondaryColor": "#0000FF",
                "dynamicUsageClassExtensionAttributeId": 14,
                "dynamicUsageClassExtensionAttributeName": "Sample Text Data",
                "defaultLocaleId": 14,
                "defaultLocaleName": "Sample Text Data",
                "realTimeUsageTaxation": true,
                "isCustomerPortalActive": true,
                "roundingMethodTypeId": 5,
                "roundingMethodTypeName": "Sample Text Data",
                "usageBillingGraceDays": "10",
                "isReportingDatabaseEnabled": true,
                "displayName": "Sample Text Data",
                "vatNumber": "VAT0001IE",
                "bankingReferenceIdentifier": "Sample Text Data",
                "registrationIdentifier": "Sample Text Data",
                "electronicInvoiceEndpointIdentifier": "Sample Text Data",
                "billPrepaidAdjustments": true,
                "details": {
                    "currentRatePlan": {
                        "identity": 48,
                        "name": "Sample Text Data",
                        "displayName": "Sample Text Data",
                        "start": "2021-04-26T15:25:27.587Z"
                    },
                    "currencies": [
                        {
                            "identity": 46,
                            "name": "Sample Text Data",
                            "code": "Sample Text Data",
                            "symbol": "Sample Text Data",
                            "isDefault": true
                        }
                    ],
                    "contacts": [
                        {
                            "identity": 18,
                            "contactTypeId": 6,
                            "contactTypeName": "Sample Text Data",
                            "title": "Sample Text Data",
                            "firstName": "Sample Text Data",
                            "lastName": "Sample Text Data",
                            "isUsedForTax": true,
                            "updated": "2021-04-26T15:25:27.587Z",
                            "name": "Sample Text Data",
                            "details": {
                                "contactPoints": [
                                    {
                                        "identity": 20,
                                        "contactPointTypeId": 30,
                                        "contactPointTypeName": "Sample Text Data",
                                        "value": "Sample Text Data",
                                        "contactId": 48,
                                        "updated": "2021-04-26T15:25:27.587Z"
                                    }
                                ],
                                "address": {
                                    "identity": 69,
                                    "address1": "Sample Text Data",
                                    "address2": "Sample Text Data",
                                    "stateId": 28,
                                    "stateName": "Sample Text Data",
                                    "countryId": 66,
                                    "countryName": "Sample Text Data",
                                    "zipCode": "Sample Text Data",
                                    "latitude": 21.55,
                                    "longitude": 99.79,
                                    "cityName": "Sample Text Data",
                                    "taxJurisdictionCodeUpdated": "2021-04-26T15:25:27.587Z",
                                    "isIncorporated": true,
                                    "updated": "2021-04-26T15:25:27.587Z",
                                    "stateCode": "Sample Text Data",
                                    "countryCode": "Sample Text Data"
                                }
                            }
                        }
                    ],
                    "customerPortalSetting": {
                        "identity": 57,
                        "allowPayments": true,
                        "allowPaymentMethodCreation": true,
                        "allowPaymentMethodUpdate": true,
                        "allowPaymentProductCancellation": true,
                        "largeLogo": "Sample Text Data",
                        "smallLogo": "Sample Text Data",
                        "primaryColor": "Sample Text Data",
                        "secondaryColor": "Sample Text Data",
                        "title": "Sample Text Data",
                        "description": "Sample Text Data"
                    },
                    "samlSetting": {
                        "identity": 54,
                        "entityIdentifier": "Sample Text Data",
                        "federationMetadataURL": "Sample Text Data",
                        "isActive": true,
                        "scimToken": "Sample Text Data"
                    }
                }
            }
        ]
    }
}
GETOwner/{id}
Retrieve Owner information.
{id}Unique identifier for the Owner object.
Retrieve Owner information.
GET Owner/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "name": "Default Owner",
        "tree": "1",
        "fiscalYearStartingMonth": "1",
        "amountPrecision": "2",
        "largeLogo": "base64encoded",
        "smallLogo": "base64encoded",
        "primaryColor": "#000000",
        "secondaryColor": "#0000FF",
        "dynamicUsageClassExtensionAttributeId": 8,
        "dynamicUsageClassExtensionAttributeName": "Sample Text Data",
        "defaultLocaleId": 6,
        "defaultLocaleName": "Sample Text Data",
        "realTimeUsageTaxation": true,
        "isCustomerPortalActive": true,
        "roundingMethodTypeId": 14,
        "roundingMethodTypeName": "Sample Text Data",
        "usageBillingGraceDays": "10",
        "isReportingDatabaseEnabled": true,
        "displayName": "Sample Text Data",
        "vatNumber": "VAT0001IE",
        "bankingReferenceIdentifier": "Sample Text Data",
        "registrationIdentifier": "Sample Text Data",
        "electronicInvoiceEndpointIdentifier": "Sample Text Data",
        "billPrepaidAdjustments": true
    }
}
GETOwner/{id}/Detail
Retrieve Owner information. This endpoint returns additional detailed data related to this object. The specifics on which data is returned will depend on which related objects have been populated in the system.
{id}Unique identifier for the Owner object.
Retrieve Owner information.
GET Owner/{id}/Detail
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "name": "Default Owner",
        "tree": "1",
        "fiscalYearStartingMonth": "1",
        "amountPrecision": "2",
        "largeLogo": "base64encoded",
        "smallLogo": "base64encoded",
        "primaryColor": "#000000",
        "secondaryColor": "#0000FF",
        "dynamicUsageClassExtensionAttributeId": 9,
        "dynamicUsageClassExtensionAttributeName": "Sample Text Data",
        "defaultLocaleId": 21,
        "defaultLocaleName": "Sample Text Data",
        "realTimeUsageTaxation": true,
        "isCustomerPortalActive": true,
        "roundingMethodTypeId": 10,
        "roundingMethodTypeName": "Sample Text Data",
        "usageBillingGraceDays": "10",
        "isReportingDatabaseEnabled": true,
        "displayName": "Sample Text Data",
        "vatNumber": "VAT0001IE",
        "bankingReferenceIdentifier": "Sample Text Data",
        "registrationIdentifier": "Sample Text Data",
        "electronicInvoiceEndpointIdentifier": "Sample Text Data",
        "billPrepaidAdjustments": true,
        "details": {
            "currentRatePlan": {
                "identity": 48,
                "name": "Sample Text Data",
                "displayName": "Sample Text Data",
                "start": "2021-04-26T15:25:27.587Z"
            },
            "currencies": [
                {
                    "identity": 46,
                    "name": "Sample Text Data",
                    "code": "Sample Text Data",
                    "symbol": "Sample Text Data",
                    "isDefault": true
                }
            ],
            "contacts": [
                {
                    "identity": 18,
                    "contactTypeId": 6,
                    "contactTypeName": "Sample Text Data",
                    "title": "Sample Text Data",
                    "firstName": "Sample Text Data",
                    "lastName": "Sample Text Data",
                    "isUsedForTax": true,
                    "updated": "2021-04-26T15:25:27.587Z",
                    "name": "Sample Text Data",
                    "details": {
                        "contactPoints": [
                            {
                                "identity": 20,
                                "contactPointTypeId": 30,
                                "contactPointTypeName": "Sample Text Data",
                                "value": "Sample Text Data",
                                "contactId": 48,
                                "updated": "2021-04-26T15:25:27.587Z"
                            }
                        ],
                        "address": {
                            "identity": 69,
                            "address1": "Sample Text Data",
                            "address2": "Sample Text Data",
                            "stateId": 28,
                            "stateName": "Sample Text Data",
                            "countryId": 66,
                            "countryName": "Sample Text Data",
                            "zipCode": "Sample Text Data",
                            "latitude": 21.55,
                            "longitude": 99.79,
                            "cityName": "Sample Text Data",
                            "taxJurisdictionCodeUpdated": "2021-04-26T15:25:27.587Z",
                            "isIncorporated": true,
                            "updated": "2021-04-26T15:25:27.587Z",
                            "stateCode": "Sample Text Data",
                            "countryCode": "Sample Text Data"
                        }
                    }
                }
            ],
            "customerPortalSetting": {
                "identity": 57,
                "allowPayments": true,
                "allowPaymentMethodCreation": true,
                "allowPaymentMethodUpdate": true,
                "allowPaymentProductCancellation": true,
                "largeLogo": "Sample Text Data",
                "smallLogo": "Sample Text Data",
                "primaryColor": "Sample Text Data",
                "secondaryColor": "Sample Text Data",
                "title": "Sample Text Data",
                "description": "Sample Text Data"
            },
            "samlSetting": {
                "identity": 54,
                "entityIdentifier": "Sample Text Data",
                "federationMetadataURL": "Sample Text Data",
                "isActive": true,
                "scimToken": "Sample Text Data"
            }
        }
    }
}
PATCHOwner/{id}
Update or Add the Owner object and optionally make changes to any child objects. Patch end points allow for adding/updating multiple related entities and the results of those changes will be reported in the response JSON payload in the items array.
{id}Unique identifier for the Owner object.
Update or Add the Owner object and optionally make changes to any child objects.
PATCH Owner/{id}

{
    "details": {},
    "owners": {
        "items": [
            {
                "patchType": "create",
                "patchClientId": 1,
                "tree": "1",
                "fiscalYearStartingMonth": "1",
                "amountPrecision": "2",
                "largeLogo": "base64encoded",
                "smallLogo": "base64encoded",
                "primaryColor": "#000000",
                "secondaryColor": "#0000FF",
                "dynamicUsageClassExtensionAttributeId": 19,
                "defaultLocaleId": 18,
                "realTimeUsageTaxation": true,
                "isCustomerPortalActive": true,
                "roundingMethodTypeId": 21,
                "usageBillingGraceDays": "10",
                "isReportingDatabaseEnabled": true,
                "displayName": "Sample Text Data",
                "vatNumber": "VAT0001IE",
                "bankingReferenceIdentifier": "Sample Text Data",
                "registrationIdentifier": "Sample Text Data",
                "electronicInvoiceEndpointIdentifier": "Sample Text Data",
                "billPrepaidAdjustments": true
            }
        ]
    }
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "patch",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "action": "created",
                "dtoTypeKey": "owner",
                "instance": {
                    "identity": 1,
                    "name": "Default Owner",
                    "tree": "1",
                    "fiscalYearStartingMonth": "1",
                    "amountPrecision": "2",
                    "largeLogo": "base64encoded",
                    "smallLogo": "base64encoded",
                    "primaryColor": "#000000",
                    "secondaryColor": "#0000FF",
                    "dynamicUsageClassExtensionAttributeId": 15,
                    "dynamicUsageClassExtensionAttributeName": "Sample Text Data",
                    "defaultLocaleId": 11,
                    "defaultLocaleName": "Sample Text Data",
                    "realTimeUsageTaxation": true,
                    "isCustomerPortalActive": true,
                    "roundingMethodTypeId": 2,
                    "roundingMethodTypeName": "Sample Text Data",
                    "usageBillingGraceDays": "10",
                    "isReportingDatabaseEnabled": true,
                    "displayName": "Sample Text Data",
                    "vatNumber": "VAT0001IE",
                    "bankingReferenceIdentifier": "Sample Text Data",
                    "registrationIdentifier": "Sample Text Data",
                    "electronicInvoiceEndpointIdentifier": "Sample Text Data",
                    "billPrepaidAdjustments": true
                }
            }
        ]
    }
}