TAG LINE
SMALL TITLE

Owner

(API Version v4)


What can you do with Owner?


Properties

Property Details
identity
READ-ONLY
"identity": 13
Type: Number
This is the unique numeric identifier for the Owner
name
"name": "Hello World"
Type: String
tree
"tree": "Hello World"
Type: String
fiscalYearStartingMonth
"fiscalYearStartingMonth": 9
Type: Number
amountPrecision
"amountPrecision": 3
Type: Number
largeLogo
"largeLogo": "Hello World"
Type: String
smallLogo
"smallLogo": "Hello World"
Type: String
primaryColor
"primaryColor": "Hello World"
Type: String
secondaryColor
"secondaryColor": "Hello World"
Type: String
dynamicUsageClassExtensionAttributeId
"dynamicUsageClassExtensionAttributeId": 24
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": 21
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
isCustomerPortalActive
"isCustomerPortalActive": true
Type: Boolean
roundingMethodTypeId
"roundingMethodTypeId": 27
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.


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 or nested within the envelope of a DataFlow. Below you will find the child objects that can be updated as part of PATCH operations for the Owner object.

Standard PATCH objects:

DataFlow PATCH objects:


End Points

GETapi/v4/Owner/
Retrieve all of the Owner objects.
Retrieve all of the Owner objects.
GET api/v4/Owner/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "name": "Sample Text Data",
            "tree": "Sample Text Data",
            "fiscalYearStartingMonth": 17,
            "amountPrecision": 23,
            "largeLogo": "Sample Text Data",
            "smallLogo": "Sample Text Data",
            "primaryColor": "Sample Text Data",
            "secondaryColor": "Sample Text Data",
            "dynamicUsageClassExtensionAttributeId": 13,
            "dynamicUsageClassExtensionAttributeName": "Sample Text Data",
            "defaultLocaleId": 27,
            "defaultLocaleName": "Sample Text Data",
            "realTimeUsageTaxation": true,
            "isCustomerPortalActive": true,
            "roundingMethodTypeId": 1,
            "roundingMethodTypeName": "Sample Text Data"
        }
    ]
}
GETapi/v4/Owner/Paged
Retrieve all of the Owner objects in a paged fashion. 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 all of the Owner objects in a paged fashion.
GET api/v4/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": "Sample Text Data",
                "tree": "Sample Text Data",
                "fiscalYearStartingMonth": 9,
                "amountPrecision": 22,
                "largeLogo": "Sample Text Data",
                "smallLogo": "Sample Text Data",
                "primaryColor": "Sample Text Data",
                "secondaryColor": "Sample Text Data",
                "dynamicUsageClassExtensionAttributeId": 23,
                "dynamicUsageClassExtensionAttributeName": "Sample Text Data",
                "defaultLocaleId": 4,
                "defaultLocaleName": "Sample Text Data",
                "realTimeUsageTaxation": true,
                "isCustomerPortalActive": true,
                "roundingMethodTypeId": 14,
                "roundingMethodTypeName": "Sample Text Data"
            }
        ]
    }
}
GETapi/v4/Owner/Paged/Detail
Retrieve all of the Owner objects in a paged fashion with all object details. 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 all of the Owner objects in a paged fashion with all object details.
GET api/v4/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": "Sample Text Data",
                "tree": "Sample Text Data",
                "fiscalYearStartingMonth": 17,
                "amountPrecision": 18,
                "largeLogo": "Sample Text Data",
                "smallLogo": "Sample Text Data",
                "primaryColor": "Sample Text Data",
                "secondaryColor": "Sample Text Data",
                "dynamicUsageClassExtensionAttributeId": 1,
                "dynamicUsageClassExtensionAttributeName": "Sample Text Data",
                "defaultLocaleId": 1,
                "defaultLocaleName": "Sample Text Data",
                "realTimeUsageTaxation": true,
                "isCustomerPortalActive": true,
                "roundingMethodTypeId": 6,
                "roundingMethodTypeName": "Sample Text Data",
                "details": {
                    "sampleSingleObject": {
                        "identity": 2,
                        "property1": "Sample Text",
                        "property2": "2021-04-26T15:25:29.117Z",
                        "property3": 2
                    },
                    "sampleMultipleObjects": {
                        "totalCount": 1,
                        "items": [
                            {
                                "identity": 2,
                                "property1": "Sample Text",
                                "property2": "2021-04-26T15:25:29.117Z",
                                "property3": 2
                            }
                        ]
                    }
                }
            }
        ]
    }
}
GETapi/v4/Owner/{id}
Retrieve an instance of the Owner object by its ID.
{id}Unique identifier for the Owner object.
Retrieve an instance of the Owner object by its ID.
GET api/v4/Owner/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "name": "Sample Text Data",
        "tree": "Sample Text Data",
        "fiscalYearStartingMonth": 9,
        "amountPrecision": 19,
        "largeLogo": "Sample Text Data",
        "smallLogo": "Sample Text Data",
        "primaryColor": "Sample Text Data",
        "secondaryColor": "Sample Text Data",
        "dynamicUsageClassExtensionAttributeId": 14,
        "dynamicUsageClassExtensionAttributeName": "Sample Text Data",
        "defaultLocaleId": 4,
        "defaultLocaleName": "Sample Text Data",
        "realTimeUsageTaxation": true,
        "isCustomerPortalActive": true,
        "roundingMethodTypeId": 14,
        "roundingMethodTypeName": "Sample Text Data"
    }
}
GETapi/v4/Owner/{id}/Detail
Retrieve deep detail of the Owner object by its ID. 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 deep detail of the Owner object by its ID.
GET api/v4/Owner/{id}/Detail
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "name": "Sample Text Data",
        "tree": "Sample Text Data",
        "fiscalYearStartingMonth": 22,
        "amountPrecision": 27,
        "largeLogo": "Sample Text Data",
        "smallLogo": "Sample Text Data",
        "primaryColor": "Sample Text Data",
        "secondaryColor": "Sample Text Data",
        "dynamicUsageClassExtensionAttributeId": 20,
        "dynamicUsageClassExtensionAttributeName": "Sample Text Data",
        "defaultLocaleId": 16,
        "defaultLocaleName": "Sample Text Data",
        "realTimeUsageTaxation": true,
        "isCustomerPortalActive": true,
        "roundingMethodTypeId": 23,
        "roundingMethodTypeName": "Sample Text Data",
        "details": {
            "sampleSingleObject": {
                "identity": 2,
                "property1": "Sample Text",
                "property2": "2021-04-26T15:25:29.117Z",
                "property3": 2
            },
            "sampleMultipleObjects": {
                "totalCount": 1,
                "items": [
                    {
                        "identity": 2,
                        "property1": "Sample Text",
                        "property2": "2021-04-26T15:25:29.117Z",
                        "property3": 2
                    }
                ]
            }
        }
    }
}
PATCHapi/v4/Owner/{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 api/v4/Owner/{id}

{
    "details": {},
    "owners": {
        "items": [
            {
                "patchType": "create",
                "patchClientId": 1,
                "name": "Sample Text Data",
                "tree": "Sample Text Data",
                "fiscalYearStartingMonth": 10,
                "amountPrecision": 15,
                "largeLogo": "Sample Text Data",
                "smallLogo": "Sample Text Data",
                "primaryColor": "Sample Text Data",
                "secondaryColor": "Sample Text Data",
                "dynamicUsageClassExtensionAttributeId": 14,
                "defaultLocaleId": 14,
                "realTimeUsageTaxation": true,
                "isCustomerPortalActive": true,
                "roundingMethodTypeId": 24
            }
        ]
    }
}
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": "Sample Text Data",
                    "tree": "Sample Text Data",
                    "fiscalYearStartingMonth": 5,
                    "amountPrecision": 27,
                    "largeLogo": "Sample Text Data",
                    "smallLogo": "Sample Text Data",
                    "primaryColor": "Sample Text Data",
                    "secondaryColor": "Sample Text Data",
                    "dynamicUsageClassExtensionAttributeId": 9,
                    "dynamicUsageClassExtensionAttributeName": "Sample Text Data",
                    "defaultLocaleId": 15,
                    "defaultLocaleName": "Sample Text Data",
                    "realTimeUsageTaxation": true,
                    "isCustomerPortalActive": true,
                    "roundingMethodTypeId": 24,
                    "roundingMethodTypeName": "Sample Text Data"
                }
            }
        ]
    }
}
POSTapi/v4/Owner/Search
Retreive a list of Owner objects based on search criteria. Search end points allow for retrieving results based on search criteria. Search criteria is sent as the payload of the POST.
Retreive a list of Owner objects based on search criteria.
POST api/v4/Owner/Search

{
    "query": {
        "top": 20,
        "search": [
            {
                "name": "MyFieldName",
                "operator": "startsWith",
                "value": "a"
            }
        ]
    }
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "itemCount": 1,
    "items": [
        {
            "identity": 1,
            "name": "Sample Text Data",
            "tree": "Sample Text Data",
            "fiscalYearStartingMonth": 25,
            "amountPrecision": 9,
            "largeLogo": "Sample Text Data",
            "smallLogo": "Sample Text Data",
            "primaryColor": "Sample Text Data",
            "secondaryColor": "Sample Text Data",
            "dynamicUsageClassExtensionAttributeId": 21,
            "dynamicUsageClassExtensionAttributeName": "Sample Text Data",
            "defaultLocaleId": 27,
            "defaultLocaleName": "Sample Text Data",
            "realTimeUsageTaxation": true,
            "isCustomerPortalActive": true,
            "roundingMethodTypeId": 25,
            "roundingMethodTypeName": "Sample Text Data"
        }
    ]
}