lib/swagger/sf-gate-vernonkeenan.yaml

2410 lines
61 KiB
YAML
Raw Permalink Normal View History

2021-08-14 22:34:08 +00:00
swagger: "2.0"
info:
2022-06-20 15:35:49 +00:00
version: 0.0.2
2021-08-14 22:34:08 +00:00
title: "sf-gate"
description: "Customer Information Microservice"
termsOfService: "http://taxnexus.net/terms/"
contact:
email: "noc@taxnexus.net"
license:
name: "Proprietary - Copyright (c) 2018-2021 by Taxnexus, Inc."
securityDefinitions:
ApiKeyAuth:
type: "apiKey"
in: "header"
name: "X-API-Key"
schemes:
- "http"
basePath: "/v1"
host: "sf-gate.vernonkeenan.com:8080"
consumes:
- "application/json"
produces:
- "application/json"
parameters:
accountIdQuery:
description: Taxnexus Record Id of an Account
in: query
name: accountId
required: false
type: string
accountRequest:
description: A request with an array of Account Objects
in: body
name: accountRequest
required: true
schema:
$ref: "#/definitions/AccountRequest"
activeQuery:
description: Only retrieve active records?
in: query
name: active
required: false
type: boolean
apiKeyQuery:
description: Taxnexus Id of the User to be retrieved
in: query
name: apikey
required: false
type: string
2022-09-05 00:01:32 +00:00
assetIdQuery:
description: Taxnexus Record Id of an Asset
in: query
name: assetId
required: false
type: string
assetRequest:
description: An array of new Asset records
in: body
name: assetRequest
required: true
schema:
$ref: "#/definitions/AssetRequest"
2021-08-14 22:34:08 +00:00
clusterIdQuery:
description: Taxnexus Record Id of a Cluster
in: query
name: clusterId
required: false
type: string
clusterRequest:
description: An array of Cluster records
in: body
name: ClusterRequest
required: true
schema:
$ref: "#/definitions/ClusterRequest"
2022-09-05 00:01:32 +00:00
companyProductIdQuery:
description: Taxnexus CompanyProduct record ID
in: query
name: companyProductId
required: false
type: string
2021-08-14 22:34:08 +00:00
contactIdQuery:
description: Taxnexus Record Id of a Contact
in: query
name: contactId
required: false
type: string
contactRequest:
description: An array of new Contact records
in: body
name: contactRequest
required: true
schema:
$ref: "#/definitions/ContactRequest"
2022-09-05 00:01:32 +00:00
companyProductRequest:
description: An array of new Contact records
in: body
name: contactRequest
required: true
schema:
$ref: "#/definitions/CompanyProductRequest"
2022-05-28 19:45:41 +00:00
contractIdQuery:
description: Taxnexus Contact record ID
in: query
name: contractId
required: false
type: string
contractRequest:
description: An array of new Contract records
in: body
name: contractsRequest
required: true
schema:
$ref: "#/definitions/ContractRequest"
2021-08-14 22:34:08 +00:00
databaseRequest:
description: An array of Database records
in: body
name: DatabaseRequest
required: true
schema:
$ref: "#/definitions/DatabaseRequest"
databaseIdQuery:
description: Taxnexus Record Id of a Database
in: query
name: databaseId
required: false
type: string
emailQuery:
description: Email address used for identity lookup
in: query
name: email
required: false
type: string
2022-09-05 00:01:32 +00:00
industryIdQuery:
description: Taxnexus Industry record ID
in: query
name: industryId
required: false
type: string
industryProductIdQuery:
description: Taxnexus IndustryProduct record ID
in: query
name: industryProductId
required: false
type: string
industryRequest:
description: An array of new Industry records
in: body
name: industryRequest
required: true
schema:
$ref: "#/definitions/IndustryRequest"
industryProductRequest:
description: An array of new Industry records
in: body
name: industryRequest
required: true
schema:
$ref: "#/definitions/IndustryProductRequest"
2021-08-14 22:34:08 +00:00
limitQuery:
description: "How many objects to return at one time"
format: int64
in: query
name: limit
required: false
type: integer
nameQuery:
description: The Name of this Object
in: query
name: name
required: false
type: string
offsetQuery:
description: How many objects to skip?
format: int64
in: query
name: offset
required: false
type: integer
roleIdQuery:
description: Taxnexus Id of the Role to be retrieved
in: query
name: roleId
required: false
type: string
templateIdQuery:
description: Taxnexus Record Id of a Template
in: query
name: templateId
required: false
type: string
tenantIdQuery:
description: Taxnexus Record Id of a Tenant
in: query
name: tenantId
required: false
type: string
tenantRequest:
description: An array of Tenant records
in: body
name: CTenantRequest
required: true
schema:
$ref: "#/definitions/TenantRequest"
userIdQuery:
description: Taxnexus Id of the User to be retrieved
in: query
name: userId
required: false
type: string
responses:
AccessForbidden:
description: "Access forbidden, account lacks access"
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/Error"
AccountResponse:
description: Taxnexus Response with Account objects with Contacts
headers:
Access-Control-Allow-Origin:
type: string
Cache-Control:
type: string
schema:
$ref: "#/definitions/AccountResponse"
2022-09-05 00:01:32 +00:00
AssetResponse:
description: Taxnexus Response with Asset objects with Contacts
headers:
Access-Control-Allow-Origin:
type: string
Cache-Control:
type: string
schema:
$ref: "#/definitions/AssetResponse"
2021-08-14 22:34:08 +00:00
ClusterResponse:
description: Taxnexus Response with Cluster objects
schema:
$ref: "#/definitions/ClusterResponse"
ContactResponse:
description: Taxnexus Response with Contact objects
schema:
$ref: "#/definitions/ContactResponse"
2022-09-05 00:01:32 +00:00
IndustryResponse:
headers:
Access-Control-Allow-Origin:
type: string
Cache-Control:
type: string
description: Taxnexus Response with Industry objects
schema:
$ref: "#/definitions/IndustryResponse"
IndustryProductResponse:
headers:
Access-Control-Allow-Origin:
type: string
Cache-Control:
type: string
description: Taxnexus Response with Industry objects
schema:
$ref: "#/definitions/IndustryProductResponse"
2022-05-28 19:45:41 +00:00
ContractResponse:
description: Taxnexus Response with an array of Contract objects
headers:
Access-Control-Allow-Origin:
type: string
Cache-Control:
type: string
schema:
$ref: "#/definitions/ContractResponse"
2022-09-05 00:01:32 +00:00
CompanyProductResponse:
description: Taxnexus Response with an array of CompanyProduct objects
headers:
Access-Control-Allow-Origin:
type: string
Cache-Control:
type: string
schema:
$ref: "#/definitions/CompanyProductResponse"
2021-08-14 22:34:08 +00:00
DatabaseResponse:
description: Taxnexus Response with Database objects
schema:
$ref: "#/definitions/DatabaseResponse"
DeleteResponse:
2022-06-20 15:35:49 +00:00
description: Taxnexus Response with Message Objects with Delete Status
2021-08-14 22:34:08 +00:00
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/DeleteResponse"
InvalidDataError:
headers:
Access-Control-Allow-Origin:
type: string
description: Invalid data was sent
schema:
$ref: "#/definitions/InvalidError"
NotFound:
description: Resource was not found
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/Error"
RoleResponse:
description: Taxnexus Response with Role objects
schema:
$ref: "#/definitions/RoleResponse"
ServerError:
description: Server Internal Error
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/Error"
TemplateResponse:
description: Taxnexus Response with Template objects
schema:
$ref: "#/definitions/TemplateResponse"
TenantResponse:
description: Taxnexus Response with Tenant objects
schema:
$ref: "#/definitions/TenantResponse"
Unauthorized:
description: "Access unauthorized, invalid API-KEY was used"
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/Error"
UnprocessableEntity:
description: "Unprocessable Entity, likely a bad parameter"
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/Error"
UserResponse:
description: Taxnexus Response with User objects
schema:
$ref: "#/definitions/UserResponse"
paths:
/accounts:
delete:
description: Delete Taxnexus Account record
operationId: deleteAccount
parameters:
- $ref: "#/parameters/accountIdQuery"
responses:
"200":
$ref: "#/responses/DeleteResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Delete An Account
tags:
- Accounts
get:
description: Return a list of all available Accounts
operationId: getAccounts
parameters:
- $ref: "#/parameters/limitQuery"
- $ref: "#/parameters/nameQuery"
- $ref: "#/parameters/offsetQuery"
- $ref: "#/parameters/activeQuery"
- $ref: "#/parameters/accountIdQuery"
- $ref: "#/parameters/emailQuery"
responses:
"200":
$ref: "#/responses/AccountResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Get a list of accounts
tags:
- Accounts
post:
description: Account record to be added
operationId: postAccounts
parameters:
- $ref: "#/parameters/accountRequest"
responses:
"200":
$ref: "#/responses/AccountResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Add a new account to Taxnexus
tags:
- Accounts
put:
description: Update a single account specified by accountId
operationId: putAccount
parameters:
- $ref: "#/parameters/accountRequest"
responses:
"200":
$ref: "#/responses/AccountResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Update a single account
tags:
- Accounts
2022-09-05 00:01:32 +00:00
/assets:
get:
description: Return a list of all available Assets
operationId: getAssets
parameters:
- $ref: "#/parameters/limitQuery"
- $ref: "#/parameters/offsetQuery"
- $ref: "#/parameters/activeQuery"
- $ref: "#/parameters/assetIdQuery"
responses:
"200":
$ref: "#/responses/AssetResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Get a list of assets
tags:
- Assets
post:
description: Industry record to be added
operationId: postAssets
parameters:
- $ref: "#/parameters/assetRequest"
responses:
"200":
$ref: "#/responses/AssetResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Add a new asset to Taxnexus
tags:
- Assets
2021-08-14 22:34:08 +00:00
/clusters:
get:
description: Return a list of Cluster records from the datastore
operationId: getClusters
parameters:
- $ref: "#/parameters/clusterIdQuery"
- $ref: "#/parameters/limitQuery"
- $ref: "#/parameters/offsetQuery"
responses:
"200":
$ref: "#/responses/ClusterResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Get a list Clusters
tags:
- Clusters
post:
description: Create Clusters in Taxnexus
operationId: postClusters
parameters:
- $ref: "#/parameters/clusterRequest"
responses:
"200":
$ref: "#/responses/ClusterResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Create new Clusters
tags:
- Clusters
put:
description: Update Cluster in Taxnexus
operationId: putClusters
parameters:
- $ref: "#/parameters/clusterRequest"
responses:
"200":
$ref: "#/responses/ClusterResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Update Clusters
tags:
- Clusters
2022-09-05 00:01:32 +00:00
/companyproducts:
get:
description: Return a list of all available CompanyProducts
operationId: getCompanyProducts
parameters:
- $ref: "#/parameters/limitQuery"
- $ref: "#/parameters/offsetQuery"
- $ref: "#/parameters/activeQuery"
- $ref: "#/parameters/companyProductIdQuery"
responses:
"200":
$ref: "#/responses/CompanyProductResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Get a list of companyproducts
tags:
- CompanyProducts
post:
description: Industry record to be added
operationId: postCompanyProducts
parameters:
- $ref: "#/parameters/companyProductRequest"
responses:
"200":
$ref: "#/responses/CompanyProductResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Add a new companyproduct to Taxnexus
tags:
- CompanyProducts
2021-08-14 22:34:08 +00:00
/contacts:
get:
description: Retrieve Contact records from the datastore
operationId: getContacts
parameters:
- $ref: "#/parameters/contactIdQuery"
- $ref: "#/parameters/limitQuery"
- $ref: "#/parameters/nameQuery"
- $ref: "#/parameters/offsetQuery"
- $ref: "#/parameters/activeQuery"
- $ref: "#/parameters/accountIdQuery"
- $ref: "#/parameters/emailQuery"
responses:
"200":
$ref: "#/responses/ContactResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Get a Contact record
tags:
- Contacts
post:
description: Contacts record to be added
operationId: postContacts
parameters:
- $ref: "#/parameters/contactRequest"
responses:
"200":
$ref: "#/responses/ContactResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Add a new Contacts to Taxnexus
tags:
- Contacts
2022-05-28 19:45:41 +00:00
/contracts:
get:
description: Return a list of all available Contracts
operationId: getContracts
parameters:
- $ref: "#/parameters/limitQuery"
- $ref: "#/parameters/offsetQuery"
- $ref: "#/parameters/activeQuery"
- $ref: "#/parameters/contractIdQuery"
responses:
"200":
$ref: "#/responses/ContractResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Get a list of contracts
tags:
- Contracts
post:
description: Contract record to be added
operationId: postContracts
parameters:
- $ref: "#/parameters/contractRequest"
responses:
"200":
$ref: "#/responses/ContractResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Add a new contract to Taxnexus
tags:
- Contracts
2022-09-05 00:01:32 +00:00
/industryproducts:
get:
description: Return a list of all available IndustryProducts
operationId: getIndustryProducts
parameters:
- $ref: "#/parameters/limitQuery"
- $ref: "#/parameters/offsetQuery"
- $ref: "#/parameters/activeQuery"
- $ref: "#/parameters/industryProductIdQuery"
responses:
"200":
$ref: "#/responses/IndustryProductResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Get a list of industryproducts
tags:
- Industryproducts
post:
description: Industry record to be added
operationId: postIndustryproducts
parameters:
- $ref: "#/parameters/industryProductRequest"
responses:
"200":
$ref: "#/responses/IndustryProductResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Add a new industryproduct to Taxnexus
tags:
- IndustryProducts
/industries:
get:
description: Return a list of all available Industries
operationId: getIndustries
parameters:
- $ref: "#/parameters/limitQuery"
- $ref: "#/parameters/offsetQuery"
- $ref: "#/parameters/activeQuery"
- $ref: "#/parameters/industryIdQuery"
responses:
"200":
$ref: "#/responses/IndustryResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Get a list of industries
tags:
- Industries
post:
description: Industry record to be added
operationId: postIndustries
parameters:
- $ref: "#/parameters/industryRequest"
responses:
"200":
$ref: "#/responses/IndustryResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Add a new industry to Taxnexus
tags:
- Industries
2021-08-14 22:34:08 +00:00
/roles:
get:
description: Return a list of Roles
operationId: getRoles
parameters:
- $ref: "#/parameters/limitQuery"
- $ref: "#/parameters/offsetQuery"
- $ref: "#/parameters/roleIdQuery"
responses:
"200":
$ref: "#/responses/RoleResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
summary: Get a list of Roles
security:
- ApiKeyAuth: []
tags:
- Roles
/templates:
get:
description:
"Returns the PDF rendering template, or a link to where to get
the template"
operationId: getTemplates
parameters:
- $ref: "#/parameters/limitQuery"
- $ref: "#/parameters/offsetQuery"
- $ref: "#/parameters/templateIdQuery"
responses:
"200":
$ref: "#/responses/TemplateResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
summary: Get PDF Rendering Templates
security:
- ApiKeyAuth: []
tags:
- Templates
/tenants:
get:
description: Return a list of Tenant records from the datastore
operationId: getTenants
parameters:
- $ref: "#/parameters/tenantIdQuery"
- $ref: "#/parameters/limitQuery"
- $ref: "#/parameters/offsetQuery"
responses:
"200":
$ref: "#/responses/TenantResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
summary: Get a list Tenants
security:
- ApiKeyAuth: []
tags:
- Tenants
post:
description: Create Tenants in Taxnexus
operationId: Tenants
parameters:
- $ref: "#/parameters/tenantRequest"
responses:
"200":
$ref: "#/responses/TenantResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
summary: Create new Tenants
tags:
- Tenants
put:
description: Update Tenant in Taxnexus
operationId: putTenants
parameters:
- $ref: "#/parameters/tenantRequest"
responses:
"200":
$ref: "#/responses/TenantResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
summary: Update Tenants
security:
- ApiKeyAuth: []
tags:
- Tenants
/databases:
get:
description: Return a list of Database records from the datastore
operationId: getDatabases
parameters:
- $ref: "#/parameters/databaseIdQuery"
- $ref: "#/parameters/limitQuery"
- $ref: "#/parameters/offsetQuery"
responses:
"200":
$ref: "#/responses/DatabaseResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
summary: Get a list Databases
security:
- ApiKeyAuth: []
tags:
- Databases
post:
description: Create Databases in Taxnexus
operationId: postDatabases
parameters:
- $ref: "#/parameters/databaseRequest"
responses:
"200":
$ref: "#/responses/DatabaseResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
summary: Create new Databases
security:
- ApiKeyAuth: []
tags:
- Databases
put:
description: Update Database in Taxnexus
operationId: putDatabases
parameters:
- $ref: "#/parameters/databaseRequest"
responses:
"200":
$ref: "#/responses/DatabaseResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
summary: Update Databases
security:
- ApiKeyAuth: []
tags:
- Databases
/users:
get:
description: Return a list of User records from the datastore
operationId: getUsers
parameters:
- $ref: "#/parameters/limitQuery"
- $ref: "#/parameters/offsetQuery"
- $ref: "#/parameters/userIdQuery"
- $ref: "#/parameters/activeQuery"
- $ref: "#/parameters/apiKeyQuery"
responses:
"200":
$ref: "#/responses/UserResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
summary: Get a list Users
security:
- ApiKeyAuth: []
tags:
- Users
definitions:
Account:
properties:
2022-09-05 00:01:32 +00:00
TenantID:
2021-08-14 22:34:08 +00:00
description: tenant identifier
type: string
2022-09-05 00:01:32 +00:00
ID:
description: Taxnexus Account Id
type: string
AccountNumber:
2021-08-14 22:34:08 +00:00
description: Account Number
type: string
2022-09-05 00:01:32 +00:00
AccountSource:
2021-08-14 22:34:08 +00:00
description: The marketing orgin of this account
type: string
2022-09-05 00:01:32 +00:00
AnnualRevenue:
2021-08-14 22:34:08 +00:00
description: Annual Revenue Estimate
format: double
type: number
2022-09-05 00:01:32 +00:00
BillingAddress:
2021-08-14 22:34:08 +00:00
$ref: "#/definitions/Address"
2022-09-05 00:01:32 +00:00
BillingContactID:
2021-08-14 22:34:08 +00:00
description: Contact ID
type: string
2022-09-05 00:01:32 +00:00
CreatedByID:
2021-08-14 22:34:08 +00:00
description: Created By User ID
type: string
2022-09-05 00:01:32 +00:00
CreatedDate:
2021-08-14 22:34:08 +00:00
description: Created Date
type: string
2022-09-05 00:01:32 +00:00
CloseDate:
description: Date company closed
2021-08-14 22:34:08 +00:00
type: string
2022-09-05 00:01:32 +00:00
CloudRevenueTotal:
type: number
CloudType:
2021-08-14 22:34:08 +00:00
type: string
2022-09-05 00:01:32 +00:00
CloudYear:
2021-08-14 22:34:08 +00:00
type: string
2022-09-05 00:01:32 +00:00
CrunchbaseURL:
2021-08-14 22:34:08 +00:00
type: string
2022-09-05 00:01:32 +00:00
Description:
2021-08-14 22:34:08 +00:00
description: Description
type: string
2022-09-05 00:01:32 +00:00
EarningsCall:
2021-08-14 22:34:08 +00:00
type: string
2022-09-05 00:01:32 +00:00
Email:
2021-08-14 22:34:08 +00:00
description: Main Account Email
type: string
2022-09-05 00:01:32 +00:00
EquityFunding:
type: number
Fax:
2021-08-14 22:34:08 +00:00
description: Fax
type: string
2022-09-05 00:01:32 +00:00
FoundedDate:
2021-08-14 22:34:08 +00:00
type: string
2022-09-05 00:01:32 +00:00
Industry:
2021-08-14 22:34:08 +00:00
description: Industry
type: string
2022-09-05 00:01:32 +00:00
Facebook:
2021-08-14 22:34:08 +00:00
type: string
2022-09-05 00:01:32 +00:00
Industries:
type: string
IPODate:
type: string
LastModifiedByID:
2021-08-14 22:34:08 +00:00
description: Last Modified By User ID
type: string
2022-09-05 00:01:32 +00:00
LastModifiedDate:
2021-08-14 22:34:08 +00:00
description: Last Modified Date
type: string
2022-09-05 00:01:32 +00:00
LinkedIn:
2021-08-14 22:34:08 +00:00
type: string
2022-09-05 00:01:32 +00:00
Location:
2021-08-14 22:34:08 +00:00
type: string
2022-09-05 00:01:32 +00:00
MarketCapitalization:
type: number
Name:
2021-08-14 22:34:08 +00:00
description: Account Name
type: string
2022-09-05 00:01:32 +00:00
NumberOfEmployees:
2021-08-14 22:34:08 +00:00
description: Employee Count Estimate
type: number
format: int64
2022-09-05 00:01:32 +00:00
NumberInvestments:
2021-08-14 22:34:08 +00:00
description: Number of Locations Estimate
type: number
format: int64
2022-09-05 00:01:32 +00:00
OwnerID:
2021-08-14 22:34:08 +00:00
description: Account Owner User ID
type: string
2022-09-05 00:01:32 +00:00
Ownership:
2021-08-14 22:34:08 +00:00
description: Ownership
type: string
2022-09-05 00:01:32 +00:00
ParentID:
2021-08-14 22:34:08 +00:00
description: Parent Account
type: string
2022-09-05 00:01:32 +00:00
Phone:
2021-08-14 22:34:08 +00:00
description: Phone
type: string
2022-09-05 00:01:32 +00:00
Publish:
type: boolean
SalesforceFirst:
type: boolean
ShippingAddress:
2021-08-14 22:34:08 +00:00
$ref: "#/definitions/Address"
2022-09-05 00:01:32 +00:00
ShippingContactID:
2021-08-14 22:34:08 +00:00
type: string
2022-09-05 00:01:32 +00:00
SIC:
2021-08-14 22:34:08 +00:00
description: SIC Code
type: string
2022-09-05 00:01:32 +00:00
SICDesc:
2021-08-14 22:34:08 +00:00
description: SIC Description
type: string
2022-09-05 00:01:32 +00:00
Site:
2021-08-14 22:34:08 +00:00
description: Account Site
type: string
2022-09-05 00:01:32 +00:00
TagLine:
2021-08-14 22:34:08 +00:00
type: string
2022-09-05 00:01:32 +00:00
TickerSymbol:
2021-08-14 22:34:08 +00:00
type: string
2022-09-05 00:01:32 +00:00
Type:
2021-08-14 22:34:08 +00:00
description: Type
type: string
2022-09-05 00:01:32 +00:00
Twitter:
2021-08-14 22:34:08 +00:00
type: string
2022-09-05 00:01:32 +00:00
Website:
2021-08-14 22:34:08 +00:00
description: Website
type: string
2022-09-05 00:01:32 +00:00
YearStarted:
2021-08-14 22:34:08 +00:00
description: Year Started
type: string
type: object
AccountRequest:
properties:
data:
items:
$ref: "#/definitions/Account"
type: array
meta:
$ref: "#/definitions/RequestMeta"
type: object
AccountResponse:
description: An array of Account objects
properties:
data:
items:
$ref: "#/definitions/Account"
type: array
meta:
$ref: "#/definitions/ResponseMeta"
type: object
Address:
properties:
city:
description: City
type: string
country:
description: Country full name
type: string
countrycode:
description: Country Code
type: string
postalcode:
description: Postal Code
type: string
state:
description: State full name
type: string
statecode:
description: State Code
type: string
street:
description: Street number and name
type: string
required:
- city
- statecode
type: object
2022-09-05 00:01:32 +00:00
CompanyProduct:
description: A software product or service vended by a Company
type: object
properties:
ID:
description: Taxnexus Record Id
type: string
CreatedByID:
description: Created By User ID
type: string
CreatedDate:
description: Created Date
type: string
LastModifiedByID:
description: Last Modified By User ID
type: string
LastModifiedDate:
description: Last Modified Date
type: string
AccountID:
description: Taxnexus ID of the Company that owns this Product
type: string
Description:
description: Description of product
type: string
Name:
description: Product Name
type: string
TagLine:
description: TagLine
type: string
URL:
description: Website
type: string
Asset:
properties:
ID:
type: string
description: Taxnexus Record Id
AccountID:
type: string
description: Account
Address:
$ref: "#/definitions/Address"
AssetLevel:
type: number
description: Asset Level
Name:
type: string
description: Asset Name
AssetProvidedByID:
type: string
description: Asset Provided By
AssetServicedByID:
type: string
description: Asset Serviced By
CompanyProductID:
type: string
description: Company Product
IsCompetitorProduct:
type: boolean
description: Competitor Asset
ConsequenceOfFailure:
type: string
description: Consequence Of Failure
ContactID:
type: string
description: Contact
CreatedByID:
type: string
description: Created By
CreatedDate:
type: string
description: Created Date
CurrentAmount:
type: number
description: Current Amount
CurrentLifecycleEndDate:
type: string
description: Current Lifecycle End Date
CurrentMrr:
type: number
description: Current Monthly Recurring Revenue
CurrentQuantity:
type: number
description: Current Quantity
Description:
type: string
description: Description
DigitalAssetStatus:
type: string
description: Digital Asset Status
ExternalIdentifier:
type: string
description: External Id
HasLifecycleManagement:
type: boolean
description: Has Lifecycle Management
InstallDate:
type: string
description: Install Date
IsInternal:
type: boolean
description: Internal Asset
LastModifiedByID:
type: string
description: Last Modified By
LastModifiedDate:
type: string
description: Last Modified Date
LocationID:
type: string
description: Location
ManufactureDate:
type: string
description: Manufacture Date
MIMEType:
type: string
description: MIME Type
ParentID:
type: string
description: Parent Asset
Price:
type: number
description: Price
Product2ID:
type: string
description: Product
ProductCode:
type: string
description: Product Code
ProductDescription:
type: string
description: Product Description
ProductFamily:
type: string
description: Product Family
StockKeepingUnit:
type: string
description: Product SKU
PurchaseDate:
type: string
description: Purchase Date
Quantity:
type: number
description: Quantity
RootAssetID:
type: string
description: Root Asset
SerialNumber:
type: string
description: Serial Number
Status:
type: string
description: Status
StatusReason:
type: string
description: Status Reason
TenantID:
type: string
description: Tenant ID
TotalLifecycleAmount:
type: number
description: Total Lifecycle Amount
Type:
type: string
description: Type
UUID:
type: string
description: Unique Identifier
URL:
type: string
description: URL
UsageEndDate:
type: string
description: Usage End Date
type: object
AssetRequest:
description: An array of Asset objects with Contacts
properties:
Data:
items:
$ref: "#/definitions/Asset"
type: array
type: object
AssetResponse:
description: An array of Asset objects with Contacts
properties:
Data:
items:
$ref: "#/definitions/Asset"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
2021-08-14 22:34:08 +00:00
Cluster:
type: object
properties:
id:
type: string
description: Taxnexus Record Id
name:
type: string
description: Cluster Name
createdbyid:
type: string
description: Created By
createddate:
type: string
description: Created Date
description:
type: string
description: Description
environment:
type: string
description: Environment
ref:
type: string
description: External Reference
gateway:
type: string
description: Gateway
ip_address:
type: string
description: IP Address
lastmodifiedbyid:
type: string
description: Last Modified By
lastmodifieddate:
type: string
description: Last Modified Date
ownerid:
type: string
description: Owner
status:
type: string
description: Status
subnet:
type: string
description: Subnet
tenantid:
type: string
description: tenantid
type:
type: string
description: Type
zone:
type: string
description: Zone
ClusterRequest:
properties:
data:
items:
$ref: "#/definitions/Cluster"
type: array
meta:
$ref: "#/definitions/RequestMeta"
required:
- meta
- data
type: object
ClusterResponse:
description: An array of cluster objects
properties:
data:
items:
$ref: "#/definitions/Cluster"
type: array
meta:
$ref: "#/definitions/ResponseMeta"
type: object
Contact:
properties:
2022-09-05 00:01:32 +00:00
TenantID:
2021-08-14 22:34:08 +00:00
description: tenant identifier
type: string
2022-09-05 00:01:32 +00:00
ID:
description: Taxnexus Record Id
type: string
AccountID:
2021-08-14 22:34:08 +00:00
description: The primary account ID of this contact
type: string
2022-09-05 00:01:32 +00:00
AssistantName:
2021-08-14 22:34:08 +00:00
description: Assistant Name
type: string
2022-09-05 00:01:32 +00:00
AssistantPhone:
2021-08-14 22:34:08 +00:00
description: Asst. Phone
type: string
2022-09-05 00:01:32 +00:00
BirthDate:
2021-08-14 22:34:08 +00:00
description: Birthdate
type: string
2022-09-05 00:01:32 +00:00
CreatedByID:
2021-08-14 22:34:08 +00:00
description: Created By User ID
type: string
2022-09-05 00:01:32 +00:00
CreatedDate:
2021-08-14 22:34:08 +00:00
description: Created Date
type: string
2022-09-05 00:01:32 +00:00
Department:
2021-08-14 22:34:08 +00:00
description: Department
type: string
2022-09-05 00:01:32 +00:00
Description:
2021-08-14 22:34:08 +00:00
description: Description
type: string
2022-09-05 00:01:32 +00:00
DoNotCall:
2021-08-14 22:34:08 +00:00
description: Do Not Call?
type: boolean
2022-09-05 00:01:32 +00:00
Email:
2021-08-14 22:34:08 +00:00
description: Email address
type: string
2022-09-05 00:01:32 +00:00
EmailBounceDate:
2021-08-14 22:34:08 +00:00
description: Email Bounce Date
type: string
2022-09-05 00:01:32 +00:00
EmailBounceReason:
2021-08-14 22:34:08 +00:00
description: Email Bounce Reason
type: string
2022-09-05 00:01:32 +00:00
Fax:
2021-08-14 22:34:08 +00:00
type: string
2022-09-05 00:01:32 +00:00
Facebook:
2021-08-14 22:34:08 +00:00
description: Fax Number
type: string
2022-09-05 00:01:32 +00:00
FirstName:
2021-08-14 22:34:08 +00:00
description: First Name
type: string
2022-09-05 00:01:32 +00:00
HasOptedOutOfEmail:
2021-08-14 22:34:08 +00:00
description: Email Opt Out
type: boolean
2022-09-05 00:01:32 +00:00
HasOptedOutOfFax:
2021-08-14 22:34:08 +00:00
description: Fax Opt Out
type: boolean
2022-09-05 00:01:32 +00:00
HomePhone:
2021-08-14 22:34:08 +00:00
description: Home Phone
type: string
2022-09-05 00:01:32 +00:00
IsEmailBounced:
2021-08-14 22:34:08 +00:00
description: Does this contact have bounced emails?
type: boolean
2022-09-05 00:01:32 +00:00
LastModifiedByID:
2021-08-14 22:34:08 +00:00
description: Last Modified By User ID
type: string
2022-09-05 00:01:32 +00:00
LastModifiedDate:
2021-08-14 22:34:08 +00:00
description: Last Modified Date
type: string
2022-09-05 00:01:32 +00:00
LastName:
2021-08-14 22:34:08 +00:00
description: Last Name
type: string
2022-09-05 00:01:32 +00:00
LeadSource:
2021-08-14 22:34:08 +00:00
description: Lead Source
type: string
2022-09-05 00:01:32 +00:00
LinkedIn:
2021-08-14 22:34:08 +00:00
description: LinkedIn Page
type: string
2022-09-05 00:01:32 +00:00
MailingAddress:
2021-08-14 22:34:08 +00:00
$ref: "#/definitions/Address"
2022-09-05 00:01:32 +00:00
MobilePhone:
2021-08-14 22:34:08 +00:00
description: Mobile Phone
type: string
2022-09-05 00:01:32 +00:00
Name:
2021-08-14 22:34:08 +00:00
description: Full Name
type: string
2022-09-05 00:01:32 +00:00
OtherAddress:
2021-08-14 22:34:08 +00:00
$ref: "#/definitions/Address"
2022-09-05 00:01:32 +00:00
OtherPhone:
2021-08-14 22:34:08 +00:00
description: Other Phone
type: string
2022-09-05 00:01:32 +00:00
OwnerID:
2021-08-14 22:34:08 +00:00
description: The User ID of the user who owns this Contact
type: string
2022-09-05 00:01:32 +00:00
PersonalEmail:
2021-08-14 22:34:08 +00:00
description: Personal Email Address for this Contact
type: string
2022-09-05 00:01:32 +00:00
Phone:
2021-08-14 22:34:08 +00:00
description: Phone Number
type: string
2022-09-05 00:01:32 +00:00
PhotoURL:
2021-08-14 22:34:08 +00:00
description: URL of a photograph of this User
type: string
2022-09-05 00:01:32 +00:00
Title:
2021-08-14 22:34:08 +00:00
description: Contact Title
type: string
2022-09-05 00:01:32 +00:00
Twitter:
2021-08-14 22:34:08 +00:00
type: string
type: object
2022-09-05 00:01:32 +00:00
CompanyProductRequest:
properties:
data:
items:
$ref: "#/definitions/CompanyProduct"
type: array
meta:
$ref: "#/definitions/RequestMeta"
required:
- meta
- data
type: object
CompanyProductResponse:
properties:
data:
items:
$ref: "#/definitions/CompanyProduct"
type: array
meta:
$ref: "#/definitions/ResponseMeta"
type: object
2021-08-14 22:34:08 +00:00
ContactRequest:
properties:
data:
items:
$ref: "#/definitions/Contact"
type: array
meta:
$ref: "#/definitions/RequestMeta"
required:
- meta
- data
type: object
ContactResponse:
properties:
data:
items:
$ref: "#/definitions/Contact"
type: array
meta:
$ref: "#/definitions/ResponseMeta"
type: object
2022-05-28 19:45:41 +00:00
Contract:
type: object
properties:
AccountID:
description: Account
type: string
ActivatedByID:
description: Activated By
type: string
ActivatedDate:
description: Activated Date
type: string
BillingAddress:
$ref: "#/definitions/Address"
description: Billing Address
BillingContactID:
description: Billing Contact
type: string
CompanySignedDate:
description: Company Signed Date
type: string
CompanySignedID:
description: Company Signed By
type: string
ContractNumber:
description: Contract Number
type: string
ContractTerm:
description: Contract Term (months)
type: number
CreatedByID:
description: Created By User ID
type: string
CreatedDate:
description: Created Date
type: string
CustomerSignedDate:
description: Customer Signed Date
type: string
CustomerSignedID:
description: Customer Signed By
type: string
CustomerSignedTitle:
description: Customer Signed Title
type: string
DefaultEndUserID:
description: End User
type: string
Description:
description: Description
type: string
EndDate:
description: Contract End Date
type: string
HourlyRate:
description: Hourly Rate
type: number
ID:
description: Telnexus Record Id
type: string
LastModifiedByID:
description: Last Modified By User ID
type: string
LastModifiedDate:
description: Last Modified Date
type: string
Name:
description: Contract Name
type: string
PaymentMethodID:
description: Payment Method
type: string
PaymentTerms:
description: Payment Terms
type: string
Perpetual:
description: Perpetual Agreement?
type: boolean
ShippingAddress:
$ref: "#/definitions/Address"
description: Shipping Address
ShippingContactID:
description: Shipping Contact
type: string
StartDate:
description: Contract Start Date
type: string
Status:
description: Status
type: string
TenantID:
description: Tenant Identifier
type: string
ContractRequest:
properties:
Data:
items:
$ref: "#/definitions/Contract"
type: array
type: object
ContractResponse:
properties:
Data:
items:
$ref: "#/definitions/Contract"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
2021-08-14 22:34:08 +00:00
Database:
type: object
description: A Database provisioned and owned by a Tenant
properties:
active:
description: Is this database active?
type: boolean
clusterid:
2022-06-20 15:35:49 +00:00
description: The ID of the Cluster in which this database is deployed
2021-08-14 22:34:08 +00:00
type: string
createdbyid:
description: Created By
type: string
createddate:
description: Created Date
type: string
databasename:
description: The name of the physical database in the cluster
type: string
dsn:
description: Database connection string
type: string
id:
description: Record Id
type: string
lastmodifiedbyid:
description: Last Modified By
type: string
lastmodifieddate:
description: Last Modifed Date
type: string
microservices:
2022-06-20 15:35:49 +00:00
description: List of Taxnexus microservices implemented by this Database
2021-08-14 22:34:08 +00:00
type: string
status:
description: The current status of this Tenant
type: string
tenantid:
description: The ID of the tenant who owns this Database
type: string
type:
description: "The type of Database (mysql, etc)"
type: string
DatabaseRequest:
description: An array of Database objects
properties:
data:
items:
$ref: "#/definitions/Database"
type: array
meta:
$ref: "#/definitions/RequestMeta"
type: object
DatabaseResponse:
description: An array of Database objects
properties:
data:
items:
$ref: "#/definitions/Database"
type: array
meta:
$ref: "#/definitions/ResponseMeta"
type: object
DeleteResponse:
properties:
Data:
items:
$ref: "#/definitions/Message"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
Error:
properties:
Code:
format: int64
type: integer
Fields:
type: string
Message:
type: string
type: object
2022-09-05 00:01:32 +00:00
IndustryProduct:
description: Junction object between Industry and CompanyProduct
type: object
properties:
ID:
description: Taxnexus Record Id
type: string
CreatedByID:
description: Created By User ID
type: string
CreatedDate:
description: Created Date
type: string
LastModifiedByID:
description: Last Modified By User ID
type: string
LastModifiedDate:
description: Last Modified Date
type: string
IndustryID:
type: string
HTML:
type: string
CompanyProductID:
type: string
Industry:
description: An industry that is being researched
type: object
properties:
ID:
description: Taxnexus Record Id
type: string
CreatedByID:
description: Created By User ID
type: string
CreatedDate:
description: Created Date
type: string
LastModifiedByID:
description: Last Modified By User ID
type: string
LastModifiedDate:
description: Last Modified Date
type: string
Name:
description: Industry Name
type: string
Description:
description: Industry Description
type: string
ParentIndustryID:
description: The ID of the Parent Industry
type: string
Level:
description: The hierarchical level of this Industry
type: string
Path:
description: The full path of this industry, including Parent
type: string
Slug:
description: The CMS Slug for this Industry
type: string
SiteURL:
description: The URL of the corresponding page on the CMS
type: string
IndustryRequest:
description: An array of Industry objects submitted for processing
properties:
Data:
items:
$ref: "#/definitions/Industry"
type: array
type: object
IndustryResponse:
description: An array of Industry objects produced in response to a request
properties:
Data:
items:
$ref: "#/definitions/Industry"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
IndustryProductRequest:
description: An array of IndustryProduct objects submitted for processing
properties:
Data:
items:
$ref: "#/definitions/IndustryProduct"
type: array
type: object
IndustryProductResponse:
description: An array of IndustryProduct objects produced in response to a request
properties:
Data:
items:
$ref: "#/definitions/IndustryProduct"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
2021-08-14 22:34:08 +00:00
InvalidError:
allOf:
- $ref: "#/definitions/Error"
- properties:
details:
items:
type: string
type: array
type: object
Message:
properties:
message:
type: string
ref:
type: string
status:
format: int64
type: number
type: object
Pagination:
properties:
limit:
format: int64
type: number
pagesize:
format: int64
type: number
poffset:
format: int64
type: integer
setsize:
format: int64
type: number
type: object
RequestMeta:
properties:
TaxnexusAccount:
description: Taxnexus Account Number of the Reseller or OEM
type: string
required:
- TaxnexusAccount
type: object
ResponseMeta:
properties:
Contact:
description: Microservice Contact Info
type: string
Copyright:
description: Copyright Info
type: string
License:
description: License Information and Restrictions
type: string
OperationID:
description: Operation ID
type: string
Pagination:
$ref: "#/definitions/Pagination"
RequestIP:
description: Request IP Address
type: string
RequestType:
description: Request Type
type: string
RequestURL:
description: Request URL
type: string
ServerInfo:
description: Data Server Info
type: string
ServerResponseTime:
description: Data Server Response Time (ms)
type: string
ServerTimestamp:
description: Backend Server Timestamp
type: string
TaxnexusAccount:
2022-06-20 15:35:49 +00:00
description: Taxnexus Account Number used for recording transactions
2021-08-14 22:34:08 +00:00
type: string
type: object
TenantRequest:
description: An array of Tenant objects
properties:
data:
items:
$ref: "#/definitions/Tenant"
type: array
meta:
$ref: "#/definitions/RequestMeta"
type: object
TenantResponse:
description: An array of Tenant objects
properties:
data:
items:
$ref: "#/definitions/Tenant"
type: array
meta:
$ref: "#/definitions/ResponseMeta"
type: object
TenantUser:
description: Relationship object that connects users to a tenant
type: object
properties:
accesslevel:
type: string
description: The Tenant access level for this User
tenantid:
type: string
description: The Tenant ID
userid:
type: string
description: The User ID
Role:
type: object
description: A functional role within a Tenant
properties:
id:
type: string
description: record id
auth0roleid:
description: the corresponding auth0 role
type: string
createdbyid:
type: string
description: created by
createddate:
type: string
description: created date
description:
type: string
description: role description
lastmodifiedbyid:
type: string
description: last modified by
lastmodifieddate:
type: string
description: last modifed date
rolename:
type: string
description: the name of this role
tenantid:
type: string
description: the id of the tenant that owns this role
RoleRequest:
description: An array of Role objects
properties:
data:
items:
$ref: "#/definitions/Role"
type: array
meta:
$ref: "#/definitions/RequestMeta"
type: object
RoleResponse:
description: An array of Role objects
properties:
data:
items:
$ref: "#/definitions/Role"
type: array
meta:
$ref: "#/definitions/ResponseMeta"
type: object
Template:
properties:
tenantid:
description: tenant identifier
type: string
CompanyID:
description: Company
type: string
CreatedByID:
type: string
CreatedDate:
type: string
Description:
description: Description
type: string
HTML:
description: HTML Body
type: string
format: byte
ID:
description: Taxnexus Record Id
type: string
IsActive:
description: Active?
type: boolean
IsMaster:
description: Master Template?
type: boolean
LastModifiedByID:
type: string
LastModifiedDate:
type: string
Name:
description: Template Name
type: string
ObjectType:
description: Object
type: string
RecordTypeName:
description: Record Type Name
type: string
Type:
description: Type
type: string
URL:
description: URL
type: string
type: object
TemplateResponse:
properties:
data:
items:
$ref: "#/definitions/Template"
type: array
meta:
$ref: "#/definitions/ResponseMeta"
type: object
Tenant:
type: object
description: Taxnexus Account Tenant
properties:
id:
type: string
description: Record Id
accountid:
type: string
description: The Account that owns this Tenant
active:
type: boolean
description: Is this Tenant currently active?
createdbyid:
type: string
description: Created By
createddate:
type: string
description: Created Date
lastmodifiedbyid:
type: string
description: Last Modified By
lastmodifieddate:
type: string
description: Last Modifed Date
status:
type: string
description: The current status of this Tenant
tenantname:
type: string
description: Name of the Tenant Resource
type:
type: string
description: Type of tenant
version:
type: string
2022-06-20 15:35:49 +00:00
description: The version number of the Tenant Onboarding system used to
2021-08-14 22:34:08 +00:00
create this tenant
databases:
items:
$ref: "#/definitions/Database"
type: array
roles:
items:
$ref: "#/definitions/Role"
type: array
tenantusers:
items:
$ref: "#/definitions/TenantUser"
type: array
User:
properties:
tenantid:
type: string
aboutme:
description: About Me
type: string
accountid:
description: Account ID
type: string
address:
$ref: "#/definitions/Address"
alias:
description: Alias
type: string
apikey:
description: API Key
type: string
auth0userid:
description: Auth0 User ID
type: string
communitynickname:
description: Nickname
type: string
companyname:
description: Company Name
type: string
contactid:
description: Contact
type: string
createdbyid:
description: Created User ID
type: string
createddate:
description: Date Created
type: string
delegatedapproverid:
description: Delegated Approver
type: string
department:
description: Department
type: string
division:
description: Division
type: string
email:
description: Email address
type: string
employeenumber:
description: Employee Number
type: string
endday:
description: Time day ends
type: string
environment:
description: Environment
type: string
extension:
description: Extension
type: string
fabricapikey:
description: Fabric API Key
type: string
fax:
description: Fax
type: string
firstname:
description: The first name
type: string
forecastenabled:
description: Allow Forecasting
type: boolean
fullphotourl:
description: Full Photo URL
type: string
id:
description: Taxnexus ID
type: string
isactive:
description: Active
type: boolean
isportalenabled:
description: Is the user enabled for Communities?
type: boolean
isprofilephotoactive:
description: Has Profile Photo
type: boolean
issystemcontrolled:
type: boolean
lastip:
description: ip address of last login
type: string
lastlogin:
description: last login time
type: string
lastmodifiedbyid:
description: Last Modified User ID
type: string
lastmodifieddate:
description: Last Modified Date
type: string
lastname:
description: The Last Name
type: string
logincount:
description: number of times user has logged in
format: int64
type: number
managerid:
description: Manager
type: string
mobilephone:
description: Mobile
type: string
name:
description: Name
type: string
outofofficemessage:
description: Out of office message
type: string
phone:
description: Phone
type: string
portalrole:
description: Portal Role Level
type: string
profileid:
description: Profile
type: string
receivesadmininfoemails:
description: Admin Info Emails
type: boolean
receivesinfoemails:
description: Info Emails
type: boolean
senderemail:
description: Email Sender Address
type: string
sendername:
description: Email Sender Name
type: string
signature:
description: Email Signature
type: string
smallphotourl:
description: Small Photo URL
type: string
startday:
description: The time day starts
type: string
taxnexusaccount:
description: Taxnexus Account
type: string
timezonesidkey:
description: Time Zone
type: string
title:
description: Title
type: string
username:
description: Username
type: string
userroleid:
description: Role
type: string
usertype:
description: User Type
type: string
userroles:
items:
$ref: "#/definitions/UserRole"
type: array
tenantusers:
items:
$ref: "#/definitions/TenantUser"
type: array
type: object
UserResponse:
description: An array of Print-Ready ingest Objects
properties:
data:
items:
$ref: "#/definitions/User"
type: array
meta:
$ref: "#/definitions/ResponseMeta"
type: object
UserRole:
description: Relationship object that connects user to a role
type: object
properties:
description:
type: string
description: Role description
roleid:
type: string
description: The Role ID
userid:
type: string
description: The User ID
name:
type: string
description: Role Name
auth0roleid:
type: string
description: Linked role ID