lib/swagger/board-vernonkeenan.yaml

1435 lines
36 KiB
YAML
Raw Permalink Normal View History

2021-07-31 03:05:02 +00:00
swagger: "2.0"
info:
2021-08-05 19:37:53 +00:00
description: Taxnexus Onboarding Service
title: board
termsOfService: "http://taxnexus.net/terms/"
2021-07-31 03:05:02 +00:00
contact:
2021-08-05 19:37:53 +00:00
email: noc@taxnexus.net
2021-07-31 03:05:02 +00:00
license:
2021-08-05 19:37:53 +00:00
name: "Proprietary - Copyright (c) 2018-2021 by Taxnexus, Inc."
version: 0.0.1
2021-07-31 03:05:02 +00:00
schemes:
2021-08-05 19:37:53 +00:00
- http
host: "board.vernonkeenan.com:8080"
basePath: /v1
2021-07-31 03:05:02 +00:00
produces:
2021-08-05 19:37:53 +00:00
- application/json
2021-07-31 03:05:02 +00:00
paths:
2021-08-05 19:37:53 +00:00
/developers:
options:
description: CORS support
operationId: developerOptions
2021-07-31 03:05:02 +00:00
responses:
"200":
2021-08-05 19:37:53 +00:00
$ref: "#/responses/CORSResponse"
tags:
- cors
post:
2021-07-31 03:05:02 +00:00
security:
- ApiKeyAuth: []
2021-08-05 19:37:53 +00:00
consumes:
- application/json
description: Register new developers with POST
operationId: postDevelopers
2021-07-31 03:05:02 +00:00
parameters:
2021-08-05 19:37:53 +00:00
- $ref: "#/parameters/developerRequest"
2021-07-31 03:05:02 +00:00
responses:
"200":
2021-08-05 19:37:53 +00:00
$ref: "#/responses/DeveloperResponse"
2021-07-31 03:05:02 +00:00
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
2021-08-05 19:37:53 +00:00
summary: Onboard new developer
2021-07-31 03:05:02 +00:00
tags:
2021-08-05 19:37:53 +00:00
- Developers
/iqs:
2021-07-31 03:05:02 +00:00
options:
description: CORS support
2021-08-05 19:37:53 +00:00
operationId: iqOptions
2021-07-31 03:05:02 +00:00
responses:
"200":
$ref: "#/responses/CORSResponse"
tags:
- cors
post:
2021-08-05 19:37:53 +00:00
security:
- ApiKeyAuth: []
consumes:
- application/json
description: Register new Taxnexus IQ Customer with POST
operationId: postIQ
2021-07-31 03:05:02 +00:00
parameters:
2021-08-05 19:37:53 +00:00
- $ref: "#/parameters/iqRequest"
2021-07-31 03:05:02 +00:00
responses:
"200":
2021-08-05 19:37:53 +00:00
$ref: "#/responses/IqResponse"
2021-07-31 03:05:02 +00:00
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
2021-08-05 19:37:53 +00:00
summary: Onboard new new Taxnexus IQ Customer
2021-07-31 03:05:02 +00:00
tags:
2021-08-05 19:37:53 +00:00
- Iq
/leads:
options:
description: CORS support
operationId: leadsOptions
2021-07-31 03:05:02 +00:00
responses:
"200":
2021-08-05 19:37:53 +00:00
$ref: "#/responses/CORSResponse"
2021-07-31 03:05:02 +00:00
tags:
2021-08-05 19:37:53 +00:00
- cors
post:
consumes:
- application/json
description: Add a new full Lead Record
operationId: postLeads
2021-07-31 03:05:02 +00:00
parameters:
2021-08-05 19:37:53 +00:00
- $ref: "#/parameters/leadRequest"
2021-07-31 03:05:02 +00:00
responses:
"200":
2021-08-05 19:37:53 +00:00
$ref: "#/responses/LeadResponse"
2021-07-31 03:05:02 +00:00
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
2021-08-05 19:37:53 +00:00
summary: Add a new Lead record
2021-07-31 03:05:02 +00:00
tags:
2021-08-05 19:37:53 +00:00
- Leads
put:
description: Update Lead records
operationId: putLeads
2021-07-31 03:05:02 +00:00
parameters:
2021-08-05 19:37:53 +00:00
- $ref: "#/parameters/leadRequest"
2021-07-31 03:05:02 +00:00
responses:
"200":
2021-08-05 19:37:53 +00:00
$ref: "#/responses/LeadResponse"
2021-07-31 03:05:02 +00:00
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
2021-08-05 19:37:53 +00:00
summary: Update Leads
2021-07-31 03:05:02 +00:00
tags:
2021-08-05 19:37:53 +00:00
- Leads
/userauths:
2021-07-31 03:05:02 +00:00
options:
description: CORS support
2021-08-05 19:37:53 +00:00
operationId: userAuthOptions
2021-07-31 03:05:02 +00:00
responses:
"200":
$ref: "#/responses/CORSResponse"
tags:
- cors
2021-08-05 19:37:53 +00:00
"/userauths/{usernamePath}":
get:
description:
Return a single UserAuth object from datastore as a Singleton
operationId: getUserAuth
2021-07-31 03:05:02 +00:00
parameters:
2021-08-05 19:37:53 +00:00
- $ref: "#/parameters/usernamePath"
2021-07-31 03:05:02 +00:00
responses:
"200":
2021-08-05 19:37:53 +00:00
$ref: "#/responses/UserAuthResponse"
2021-07-31 03:05:02 +00:00
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
2021-08-05 19:37:53 +00:00
summary: Get a single UserAuth object
2021-07-31 03:05:02 +00:00
tags:
2021-08-05 19:37:53 +00:00
- UserAuth
/users:
2021-07-31 03:05:02 +00:00
get:
2021-08-05 19:37:53 +00:00
description: Get a clean user record
operationId: getUsers
2021-07-31 03:05:02 +00:00
parameters:
2021-08-05 19:37:53 +00:00
- $ref: "#/parameters/emailQueryRequired"
2021-07-31 03:05:02 +00:00
responses:
"200":
2021-08-05 19:37:53 +00:00
$ref: "#/responses/UserResponse"
2021-07-31 03:05:02 +00:00
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
tags:
2021-08-05 19:37:53 +00:00
- Users
2021-07-31 03:05:02 +00:00
options:
description: CORS support
2021-08-05 19:37:53 +00:00
operationId: userOptions
2021-07-31 03:05:02 +00:00
responses:
"200":
$ref: "#/responses/CORSResponse"
tags:
- cors
definitions:
Account:
properties:
AccountNumber:
description: Account Number
type: string
AccountSource:
description: The marketing orgin of this account
type: string
Active:
description: Active
type: boolean
AdministrativeLevel:
description:
"For tax authorities, this account's administrative level,
e.g. Local, County, State or Federal"
type: string
Amount:
description: Rollup Tax Amount
format: double
type: number
AmountInvoiced:
description: Amount Invoiced
format: double
type: number
AmountPaid:
description: Amount Paid
format: double
type: number
AnnualRevenue:
description: Annual Revenue Estimate
format: double
type: number
Balance:
description: Account Balance
format: double
type: number
BillingAddress:
$ref: "#/definitions/Address"
BillingContactID:
description: Contact ID
type: string
BillingPreference:
description: Billing Preference
type: string
BusinessAddress:
$ref: "#/definitions/Address"
CannabisCustomer:
description: Is this a cannabis customer?
type: boolean
ChannelProgramLevelName:
description: Channel Program Level Name
type: string
ChannelProgramName:
description: Channel Program Name
type: string
ClientEndDate:
description: Client End Date
type: string
ClientStartDate:
description: Client Start Date
type: string
CompanyID:
description: The Company ID of this Account
type: string
CoordinateID:
description: The Id of the geo coordinates of this account
type: string
CreatedByID:
description: Created By User ID
type: string
CreatedDate:
description: Created Date
type: string
CustomerID:
description: Customer ID from source system
type: string
CustomerPriority:
description: Customer Priority
type: string
DBA:
description: This Account's 'Doing Business As' name
type: string
DUNSNumber:
description: D-U-N-S Number
type: string
DandBCompanyID:
description: D-n-B Company
type: string
DefaultAddress:
$ref: "#/definitions/Address"
DefaultBackendID:
description: Default Backend ID
type: string
DefaultDeliveryContactID:
description: Default Delivery Address Contact ID
type: string
DefaultEndUserID:
description: Default End User Contact ID
type: string
Description:
description: Description
type: string
EIN:
description: EIN
type: string
Email:
description: Main Account Email
type: string
EnrollmentStatus:
description: Enrollment Status
type: string
Fax:
description: Fax
type: string
ID:
2021-08-05 19:37:53 +00:00
description: Taxnexus Account Id
2021-07-31 03:05:02 +00:00
type: string
ISPCustomer:
description: ISP Customer?
type: boolean
Industry:
description: Industry
type: string
IsCustomerPortal:
description: Customer Portal Account
type: boolean
IsPartner:
description: Partner Account
type: boolean
JigSaw:
description: Data.com Key
type: string
LastModifiedByID:
description: Last Modified By User ID
type: string
LastModifiedDate:
description: Last Modified Date
type: string
MSPCustomer:
description: MSP Customer?
type: boolean
NAICSCode:
description: NAICS Code
type: string
NAICSDesc:
description: NAICS Description
type: string
Name:
description: Account Name
type: string
NumberOfEmployees:
description: Employee Count Estimate
format: int64
type: number
NumberOfLocations:
description: Number of Locations Estimate
format: int64
type: number
OpenCharges:
description: Open Charges
format: double
type: number
OrderContactID:
description: Vendor Order Contact ID
type: string
OrderEmail:
description: Order Email
type: string
OwnerID:
description: Account Owner User ID
type: string
Ownership:
description: Ownership
type: string
ParentFK:
description: Parent Foreign Key
type: string
ParentID:
description: Parent Account
type: string
Phone:
description: Phone
type: string
PlaceID:
description:
The ID of the Place situs record that applies to this Account
type: string
PreparerID:
description: Tax Preparer Contact ID
type: string
Rating:
description: Rating
type: string
RatingEngineID:
description: Rating Engine identifier
type: string
Ref:
description: External Reference ID
type: string
RevenueBase:
description: Rollup Revenue Base
format: double
type: number
RevenueNet:
description: Rollup Revenue Net
format: double
type: number
RevenueNotTaxable:
description: Rollup Revenue Not Taxable
format: double
type: number
SIC:
description: SIC Code
type: string
SICDesc:
description: SIC Description
type: string
ShippingAddress:
$ref: "#/definitions/Address"
ShippingCensusTract:
description: Shipping Census Tract
type: string
ShippingConactID:
description: Shipping Contact ID
type: string
ShippingCounty:
description: Shipping County
type: string
Site:
description: Account Site
type: string
Status:
description: Account Status
type: string
TaxExemption:
description: Tax Exemption
type: string
TaxOnTax:
description: Rollup Tax On Tax
format: double
type: number
TelecomCustomer:
description: Telecom Customer?
type: boolean
TickerSymbol:
description: Ticker Symbol
type: string
TradeStyle:
description: Tradestyle
type: string
Type:
description: Type
type: string
UnappliedPayments:
description: Unapplied Payments
format: double
type: number
UnitBase:
description: Rollup Unit Base
type: number
UpsellOpportunity:
description: Upsell Opportunity
type: string
WHMCSClientID:
description: WHMCS Client ID
format: int64
type: number
Website:
description: Website
type: string
XeroContactID:
description: Xero Contact ID
type: string
YearStarted:
description: Year Started
type: string
type: object
2021-08-05 19:37:53 +00:00
Address:
2021-07-31 03:05:02 +00:00
properties:
2021-08-05 19:37:53 +00:00
City:
description: City
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
Country:
description: Country full name
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
CountryCode:
description: Country Code
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
PostalCode:
description: Postal Code
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
State:
description: State full name
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
StateCode:
description: State Code
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
Street:
description: Street number and name
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
type: object
Contact:
properties:
AccountID:
description: The primary account ID of this contact
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
AssistantName:
description: Assistant Name
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
AssistantPhone:
description: Asst. Phone
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
BirthDate:
description: Birthdate
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
CreatedByID:
description: Created By User ID
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
CreatedDate:
description: Created Date
2021-07-31 03:05:02 +00:00
type: string
Department:
description: Department
type: string
Description:
description: Description
type: string
DoNotCall:
description: Do Not Call?
type: boolean
Email:
description: Email address
type: string
EmailBounceDate:
description: Email Bounce Date
type: string
EmailBouncedReason:
description: Email Bounce Reason
type: string
EnrollmentStatus:
2021-08-05 19:37:53 +00:00
description: Taxnexus Enrollment Status
2021-07-31 03:05:02 +00:00
type: string
Fax:
description: Fax Number
type: string
FirstName:
description: First Name
type: string
HasOptedOutOfEmail:
description: Email Opt Out
type: boolean
HasOptedOutOfFax:
description: Fax Opt Out
type: boolean
HomePhone:
description: Home Phone
type: string
ID:
2021-08-05 19:37:53 +00:00
description: Taxnexus Record Id
2021-07-31 03:05:02 +00:00
type: string
IsEmailBounced:
description: Does this contact have bounced emails?
type: boolean
IsProvisioned:
description: Is Provisioned?
type: boolean
LastModifiedByID:
description: Last Modified By User ID
type: string
LastModifiedDate:
description: Last Modified Date
type: string
LastName:
description: Last Name
type: string
LeadSource:
description: Lead Source
type: string
Level:
description: Level
type: string
LinkedIn:
description: LinkedIn Page
type: string
MailingAddress:
$ref: "#/definitions/Address"
MailingLists:
description: Mailing Lists
type: string
MobilePhone:
description: Mobile Phone
type: string
Name:
description: Full Name
type: string
OtherAddress:
$ref: "#/definitions/Address"
OtherPhone:
description: Other Phone
type: string
OwnerID:
description: The User ID of the user who owns this Contact
type: string
PersonalEmail:
description: Personal Email Address for this Contact
type: string
Phone:
description: Phone Number
type: string
PhotoURL:
description: URL of a photograph of this User
type: string
RecruitingStatus:
description: Recruiting Status
type: string
Ref:
description: "External reference to this contact, if any"
type: string
ReportsToID:
description: Reports To Contact ID
type: string
Salutation:
description: Contact Salutation
type: string
Status:
description: The Contact Status
type: string
TenantID:
description: Tenant Identifier
type: string
Title:
description: Contact Title
type: string
Type:
description: Contact Type
type: string
type: object
2021-08-05 19:37:53 +00:00
Database:
description: A Database provisioned and owned by a Tenant
2021-07-31 03:05:02 +00:00
properties:
2021-08-05 19:37:53 +00:00
Active:
description: Is this database active?
type: boolean
ClusterID:
description:
The ID of the Cluster in which this database is deployed
type: string
CreatedByID:
description: Created By
type: string
CreatedDate:
description: Created Date
type: string
DSN:
description: Database connection string
type: string
DatabaseName:
description: The name of the physical database in the cluster
type: string
ID:
description: Record Id
type: string
LastModifiedByID:
description: Last Modified By
type: string
LastModifiedDate:
description: Last Modifed Date
type: string
Microservices:
description:
List of Taxnexus microservices implemented by this Database
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
2021-07-31 03:05:02 +00:00
type: object
2021-08-05 19:37:53 +00:00
Developer:
2021-07-31 03:05:02 +00:00
properties:
2021-08-05 19:37:53 +00:00
Account:
$ref: "#/definitions/Account"
Contact:
$ref: "#/definitions/Contact"
PaymentMethod:
$ref: "#/definitions/PaymentMethod"
type: object
RuleExecution:
2021-07-31 03:05:02 +00:00
type: object
properties:
2021-08-05 19:37:53 +00:00
SagaID:
description: The Taxnexus SagaID for this rule execution
type: string
SagaType:
description: The Taxnexus SagaType for this rule execution
type: string
RuleID:
description: The Temporal Workflow ID
type: string
RunID:
description: The Temporal First Started Workflow Run ID
type: string
IQ:
properties:
Account:
$ref: "#/definitions/Account"
Contact:
$ref: "#/definitions/Contact"
Lead:
$ref: "#/definitions/Lead"
PaymentMethod:
$ref: "#/definitions/PaymentMethod"
Tenant:
$ref: "#/definitions/Tenant"
User:
$ref: "#/definitions/User"
2021-07-31 03:05:02 +00:00
type: object
Error:
properties:
2021-08-05 19:37:53 +00:00
code:
2021-07-31 03:05:02 +00:00
format: int64
type: integer
2021-08-05 19:37:53 +00:00
fields:
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
message:
2021-07-31 03:05:02 +00:00
type: string
type: object
Lead:
properties:
Address:
$ref: "#/definitions/Address"
Company:
description: Company
type: string
Description:
description: Description
type: string
Email:
description: Email
type: string
FirstName:
description: First Name
type: string
ID:
2021-08-05 19:37:53 +00:00
description: Taxnexus Record Id
2021-07-31 03:05:02 +00:00
type: string
LastName:
description: Last Name
type: string
MobilePhone:
description: Mobile
type: string
Name:
description: Name
type: string
OwnerId:
description: LeadBasic Owner
type: string
PartnerAccountId:
description: Partner Account
type: string
Phone:
description: Phone
type: string
ProductID:
description: Product
type: string
RefererURL:
description: referer_url
type: string
Status:
description: LeadBasic Status
type: string
Title:
description: Title
type: string
Type:
description: Type
type: string
UTMCampaign:
description: utm_campaign
type: string
UTMContent:
description: utm_content
type: string
UTMMedium:
description: utm_medium
type: string
UTMSource:
description: utm_source
type: string
UTMTerm:
description: utm_term
type: string
Website:
description: Website
type: string
type: object
2021-08-05 19:37:53 +00:00
PaymentMethod:
description:
Describes the EFT or other payment information for an account and
billing contact
2021-07-31 03:05:02 +00:00
properties:
2021-08-05 19:37:53 +00:00
AccountID:
description: Account
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
AchAccountType:
description: ACH Account Type
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
AchBankAccount:
description: ACH Bank Account
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
AchRouting:
description: ACH Routing
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
Active:
description: Active?
type: boolean
Autopay:
description: Autopay?
type: boolean
BankName:
description: Bank Name
type: string
BillingContactID:
description: Billing Contact
type: string
CCnumber:
description: Credit Card Number
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
CCtype:
description: CC Type
type: string
CompanyID:
description: Company
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
ContractID:
description: Contract
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
CreatedByID:
description: Created By
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
CreatedDate:
description: Created Date
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
Default:
description: Default Payment Method?
type: boolean
ExpirationDate:
description: Expiration Date
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
ExpirationMonth:
description: Expiration Month
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
ExpirationYear:
description: Expiration Year
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
Gateway:
description: Gateway
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
GatewayKey:
description: Gateway Key
2021-07-31 03:05:02 +00:00
type: string
2021-08-05 19:37:53 +00:00
ID:
2021-08-14 22:34:08 +00:00
description: Taxnexus Record Id
2021-08-05 19:37:53 +00:00
type: string
LastModifiedByID:
description: Last Modified By
type: string
LastModifiedDate:
description: Last Modified Date
type: string
Nickname:
description: Nickname
type: string
RecordType:
description: Record Type
type: string
Ref:
description: External Reference
type: string
type: object
Role:
description: A functional role within a Tenant
properties:
Auth0RoleID:
description: The corresponding Auth0 Role
type: string
CreatedByID:
description: Created By
type: string
CreatedDate:
description: Created Date
type: string
Description:
description: Role Description
type: string
ID:
description: Record Id
type: string
LastModifiedByID:
description: Last Modified By
type: string
LastModifiedDate:
description: Last Modifed Date
type: string
RoleName:
description: The name of this role
type: string
TenantID:
description: The ID of the Tenant that owns this Role
type: string
type: object
Tenant:
description: Taxnexus Account Tenant
properties:
AccountID:
description: The Account that owns this Tenant
type: string
Active:
description: Is this Tenant currently active?
type: boolean
CreatedByID:
description: Created By
type: string
CreatedDate:
description: Created Date
type: string
Databases:
items:
$ref: "#/definitions/Database"
type: array
ID:
description: Record Id
type: string
LastModifiedByID:
description: Last Modified By
type: string
LastModifiedDate:
description: Last Modifed Date
type: string
Roles:
items:
$ref: "#/definitions/Role"
type: array
Status:
description: The current status of this Tenant
type: string
TenantName:
description: Name of the Tenant Resource
type: string
TenantUsers:
items:
$ref: "#/definitions/TenantUser"
type: array
Type:
description: The type of Tenant
type: string
Version:
description:
The version number of the Tenant Onboarding system used to
create this tenant
type: string
type: object
TenantUser:
description: Relationship object that connects users to a tenant
properties:
AccessLevel:
description: The makeTenantUser access level for this User
type: string
AccountID:
description: Account ID
type: string
Auth0UserID:
description: Auth0 User ID
type: string
CompanyName:
description: Account Name
type: string
ContactID:
description: Contact ID
type: string
TaxnexusAccount:
description: Taxnexus Account
type: string
TenantActive:
description: Tenant active?
type: boolean
TenantID:
description: The Tenant ID
type: string
TenantName:
description: Tenant Name
type: string
TenantStatus:
description: Tenant Status
type: string
TenantType:
description: Tenant type
type: string
TenantVersion:
description: Tenant Version
type: string
UserEmail:
description: User Email Address
type: string
UserFullName:
description: User Full Name
type: string
UserID:
description: The User ID
type: string
Username:
description: Username
type: string
User:
properties:
APIKey:
description: API Key
type: string
AboutMe:
description: About Me
type: string
AccountID:
description: Account ID
type: string
Address:
$ref: "#/definitions/Address"
Alias:
description: Alias
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
EndOfDay:
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
IsProphilePhotoActive:
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
ReceivesAdminEmails:
description: Info Emails
type: boolean
ReceivesAdminInfoEmails:
description: Admin 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
StartOfDay:
description: The time day starts
type: string
TaxnexusAccount:
description: Taxnexus Account
type: string
TenantID:
description: Tenant ID
type: string
TenantUsers:
items:
$ref: "#/definitions/TenantUser"
type: array
TimeZone:
description: Time Zone
type: string
Title:
description: Title
type: string
UserRoleID:
description: Role
type: string
UserRoles:
items:
$ref: "#/definitions/UserRole"
type: array
UserType:
description: User Type
type: string
Username:
description: Username
type: string
type: object
UserAuth:
properties:
APIKey:
description: API Key
type: string
AccountID:
description: Account ID
type: string
ContactID:
description: Contact
type: string
Email:
description: Email address
type: string
Roles:
description: Valid Roles for all tenants
items:
type: string
type: array
Tenants:
description: Valid Tenants
items:
type: string
type: array
UserID:
description: Taxneuxs User ID
type: string
UserRole:
description: Relationship object to connect a user to a role
properties:
AccountID:
description: Account Id
type: string
Auth0RoleID:
description: Linked role ID
type: string
Auth0UserID:
description: Auth0 User ID
type: string
CompanyName:
description: Company Name
type: string
ContactID:
description: Contact ID
type: string
RoleDescription:
description: Role description
type: string
RoleID:
description: The Role ID
type: string
RoleName:
description: Role Name
type: string
TaxnexusAccount:
description: Taxnexus Account Number
type: string
UserEmail:
description: User Email Address
type: string
UserFullName:
description: User Full Name
type: string
UserID:
description: The User ID
type: string
Username:
description: Username
type: string
type: object
parameters:
developerRequest:
description: A single Developer struct for onboarding
in: body
name: developerRequest
required: true
schema:
$ref: "#/definitions/Developer"
iqRequest:
description: A single Taxnexus IQ Customer struct for onboarding
in: body
name: iqRequest
required: true
schema:
$ref: "#/definitions/IQ"
emailPath:
description: Email address in the query path
in: path
name: emailPath
required: true
type: string
usernamePath:
description: Username in the query path
in: path
name: usernamePath
required: true
type: string
emailQuery:
description: Email address used for identity lookup
in: query
name: email
required: false
type: string
emailQueryRequired:
description: Email address
in: query
name: email
required: true
type: string
leadRequest:
description: A new Lead record as a single JSON object
in: body
name: leadRequest
required: true
schema:
$ref: "#/definitions/Lead"
responses:
AccessForbidden:
description: "Access forbidden, account lacks access"
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/Error"
CORSResponse:
description: CORS OPTIONS response
headers:
Access-Control-Allow-Credentials:
type: string
Access-Control-Allow-Headers:
type: string
Access-Control-Allow-Methods:
type: string
Access-Control-Allow-Origin:
type: string
Access-Control-Expose-Headers:
type: string
Access-Control-Max-Age:
type: string
Cache-Control:
type: string
Conflict:
description: Conflict
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/Error"
DeleteResponse:
description:
Taxnexus Response with Message Objects with Delete Status
headers:
Access-Control-Allow-Origin:
type: string
DeveloperResponse:
description: Taxnexus Response with a Developer object
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/RuleExecution"
IqResponse:
description: Taxnexus Response with an IQ object
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/RuleExecution"
InvalidDataError:
description: Invalid data was sent
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/Error"
LeadResponse:
description: Taxnexus Response with an array of Lead objects
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/RuleExecution"
NotFound:
description: Resource was not found
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/Error"
ServerError:
description: Server Internal Error
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/Error"
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"
UserAuthResponse:
description: Taxneuxs User Authentication Response
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/UserAuth"
UserResponse:
description: User Response
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/User"
securityDefinitions:
ApiKeyAuth:
type: apiKey
name: X-API-Key
in: header