lib/swagger/external/research-vernonkeenan.yaml

1665 lines
44 KiB
YAML
Raw Normal View History

2022-09-07 00:16:25 +00:00
swagger: "2.0"
info:
2023-03-28 17:47:34 +00:00
version: 0.3.0
2022-09-07 00:16:25 +00:00
title: "research"
description: "Customer Information Microservice"
2023-03-28 17:47:34 +00:00
termsOfService: "https://salesforcedevops.net/terms/"
2022-09-07 00:16:25 +00:00
contact:
2023-03-28 17:47:34 +00:00
email: "vern@vernonkeenan.com"
2022-09-07 00:16:25 +00:00
license:
2023-03-28 17:47:34 +00:00
name: "Proprietary - Copyright (c) 2018-2023 by Vernon Keenan"
2022-09-07 00:16:25 +00:00
securityDefinitions:
ApiKeyAuth:
type: "apiKey"
in: "header"
name: "X-API-Key"
schemes:
- "https"
basePath: "/vk/research/v1"
host: "gw.tnxs.net"
consumes:
- "application/json"
produces:
- "application/json"
parameters:
accountIdQuery:
2023-03-28 17:47:34 +00:00
description: Record Id of an Account
2022-09-07 00:16:25 +00:00
in: query
name: accountId
required: false
type: string
activeQuery:
description: Only retrieve active records?
in: query
name: active
required: false
type: boolean
companyProductIdQuery:
2023-03-28 17:47:34 +00:00
description: CompanyProduct record ID
2022-09-07 00:16:25 +00:00
in: query
name: companyProductId
required: false
type: string
companyProductRequest:
description: An array of new CompanyProduct records
in: body
name: companyProductRequest
required: true
schema:
$ref: "#/definitions/CompanyProductRequest"
contactIdQuery:
description: Contact record ID
2022-09-07 00:16:25 +00:00
in: query
name: contactId
2022-09-07 00:16:25 +00:00
required: false
type: string
emailQuery:
description: Email address used for identity lookup
2022-09-07 00:16:25 +00:00
in: query
name: email
2022-09-07 00:16:25 +00:00
required: false
type: string
factorIdQuery:
description: Factor record ID
2022-09-07 00:16:25 +00:00
in: query
name: factorId
2022-09-07 00:16:25 +00:00
required: false
type: string
financialStatementIdQuery:
description: Financial Statement record ID
2022-09-07 00:16:25 +00:00
in: query
name: financialStatementId
2022-09-07 00:16:25 +00:00
required: false
type: string
factorRequest:
description: An array of new Factor records
in: body
name: factorRequest
required: true
schema:
$ref: "#/definitions/FactorRequest"
financialStatementRequest:
description: An array of new FinancialStatement records
in: body
name: financialStatementRequest
required: true
schema:
$ref: "#/definitions/FinancialStatementRequest"
industryCompanyIdQuery:
description: IndustryCompany record ID
2022-09-07 00:16:25 +00:00
in: query
name: industryCompanyId
2022-09-07 00:16:25 +00:00
required: false
type: string
industryCompanyRequest:
description: An array of new IndustryCompany records
in: body
name: industryCompanyRequest
required: true
schema:
$ref: "#/definitions/IndustryCompanyRequest"
industryIdQuery:
description: Industry record ID
in: query
name: industryId
required: false
type: string
2023-04-08 02:47:39 +00:00
productCategoryQuery:
description: Is this industry a product category?
in: query
name: productCategory
required: false
type: boolean
industryProductIdQuery:
description: IndustryProduct record ID
in: query
name: industryProductId
required: false
type: string
industryProductRequest:
description: An array of new IndustryProduct records
in: body
name: industryProductRequest
required: true
schema:
$ref: "#/definitions/IndustryProductRequest"
2022-09-07 00:16:25 +00:00
industryRequest:
description: An array of new Industry records
in: body
name: industryRequest
required: true
schema:
$ref: "#/definitions/IndustryRequest"
leadIdQuery:
description: Lead record ID
in: query
name: leadId
required: false
type: string
2022-09-07 00:16:25 +00:00
limitQuery:
description: How many objects to return at one time
2022-09-07 00:16:25 +00:00
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
2023-04-08 02:47:39 +00:00
slugQuery:
description: The Slug of this Object
in: query
name: slug
required: false
type: string
observationIdQuery:
description: Observation record ID
in: query
name: observationId
required: false
type: string
observationRequest:
description: An array of new Observation records
in: body
name: observationRequest
required: true
schema:
$ref: "#/definitions/ObservationRequest"
2022-09-07 00:16:25 +00:00
offsetQuery:
description: How many objects to skip?
format: int64
in: query
name: offset
required: false
type: integer
topicIdQuery:
description: Topic record ID
in: query
name: topicId
required: false
type: string
topicRequest:
description: An array of new Topic records
in: body
name: topicRequest
required: true
schema:
$ref: "#/definitions/TopicRequest"
2022-09-07 00:16:25 +00:00
typeQuery:
description: The Type of this Object
in: query
name: type
required: false
type: string
2022-09-07 00:16:25 +00:00
responses:
AccessForbidden:
description: Access forbidden, account lacks access
2022-09-07 00:16:25 +00:00
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/Error"
CompanyProductResponse:
description: Response with Company objects
2022-09-07 00:16:25 +00:00
schema:
$ref: "#/definitions/CompanyProductResponse"
2022-09-07 00:16:25 +00:00
Conflict:
description: Conflict
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/Error"
DeleteResponse:
2023-03-28 17:47:34 +00:00
description: Response with Message Objects with Delete Status
2022-09-07 00:16:25 +00:00
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/DeleteResponse"
FactorResponse:
description: Response with Factor objects
schema:
$ref: "#/definitions/FactorResponse"
FinancialStatementResponse:
description: Response with FinancialStatement objects
schema:
$ref: "#/definitions/FinancialStatementResponse"
IndustryCompanyResponse:
description: Response with IndustryCompany objects
schema:
$ref: "#/definitions/IndustryCompanyResponse"
IndustryProductResponse:
description: Response with IndustryProduct objects
schema:
$ref: "#/definitions/IndustryProductResponse"
IndustryResponse:
description: Response with Industry objects
schema:
$ref: "#/definitions/IndustryResponse"
2022-09-07 00:16:25 +00:00
InvalidDataError:
description: Invalid data was sent
2022-09-07 00:16:25 +00:00
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/InvalidError"
NotFound:
description: Resource was not found
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/Error"
ObservationResponse:
description: Response with Observation objects
schema:
$ref: "#/definitions/ObservationResponse"
2022-09-07 00:16:25 +00:00
ServerError:
description: Server Internal Error
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/Error"
TopicResponse:
description: Response with Topic objects
schema:
$ref: "#/definitions/TopicResponse"
2022-09-07 00:16:25 +00:00
Unauthorized:
description: Access unauthorized, invalid API-KEY was used
2022-09-07 00:16:25 +00:00
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/Error"
UnprocessableEntity:
description: Unprocessable Entity, likely a bad parameter
2022-09-07 00:16:25 +00:00
headers:
Access-Control-Allow-Origin:
type: string
schema:
$ref: "#/definitions/Error"
2023-04-11 14:59:35 +00:00
CompanyCategoryResponse:
description: The SalesforceDevops.net CompanyCategory Object
schema:
$ref: "#/definitions/CompanyCategoryResponse"
2022-09-07 00:16:25 +00:00
paths:
2023-04-11 14:59:35 +00:00
/companycategories:
get:
description: Return all or a single company category fully hydrated object
operationId: getCompanyCategories
responses:
"200":
$ref: "#/responses/CompanyCategoryResponse"
"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 company categories
tags:
- CompanyCategories
/companyproducts:
delete:
description: Delete CompanyProduct record
operationId: deleteCompanyProduct
parameters:
- $ref: "#/parameters/companyProductIdQuery"
2022-09-07 00:16:25 +00:00
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 a CompanyProduct
2022-09-07 00:16:25 +00:00
tags:
- CompanyProducts
get:
description: Return a list of all available CompanyProducts
operationId: getCompanyProducts
parameters:
- $ref: "#/parameters/limitQuery"
2023-04-08 02:47:39 +00:00
- $ref: "#/parameters/slugQuery"
- $ref: "#/parameters/offsetQuery"
- $ref: "#/parameters/activeQuery"
2023-04-06 01:28:58 +00:00
- $ref: "#/parameters/accountIdQuery"
- $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
2022-09-07 00:16:25 +00:00
post:
description: CompanyProduct record to be added
operationId: postCompanyProducts
2022-09-07 00:16:25 +00:00
parameters:
- $ref: "#/parameters/companyProductRequest"
2022-09-07 00:16:25 +00:00
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 SalesforceDevops.net
tags:
- CompanyProducts
put:
description: Update companyproduct records
operationId: putCompanyProduct
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: Update a single companyproduct
tags:
- CompanyProducts
/factors:
delete:
description: Delete Factor record
operationId: deleteFactor
parameters:
- $ref: "#/parameters/factorIdQuery"
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 Factor
tags:
- Factors
get:
description: Return a list of all available Factors
operationId: getFactors
parameters:
- $ref: "#/parameters/limitQuery"
- $ref: "#/parameters/nameQuery"
- $ref: "#/parameters/offsetQuery"
- $ref: "#/parameters/activeQuery"
- $ref: "#/parameters/factorIdQuery"
responses:
"200":
$ref: "#/responses/FactorResponse"
"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 factors
tags:
- Factors
post:
description: Factor records to be added
operationId: postFactors
parameters:
- $ref: "#/parameters/factorRequest"
responses:
"200":
$ref: "#/responses/FactorResponse"
"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 factor to SalesforceDevops.net
tags:
- Factors
put:
description: Update factor records
operationId: putFactor
parameters:
- $ref: "#/parameters/factorRequest"
responses:
"200":
$ref: "#/responses/FactorResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Update factor records
tags:
- Factors
/financialstatements:
delete:
description: Delete FinancialStatement record
operationId: deleteFinancialStatement
parameters:
- $ref: "#/parameters/financialStatementIdQuery"
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 FinancialStatement
tags:
- FinancialStatements
get:
description: Return a list of all available FinancialStatements
operationId: getFinancialStatements
parameters:
- $ref: "#/parameters/limitQuery"
- $ref: "#/parameters/offsetQuery"
- $ref: "#/parameters/activeQuery"
2023-04-06 01:28:58 +00:00
- $ref: "#/parameters/accountIdQuery"
- $ref: "#/parameters/financialStatementIdQuery"
responses:
"200":
$ref: "#/responses/FinancialStatementResponse"
"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 financialStatements
tags:
- FinancialStatements
post:
description: FinancialStatement records to be added
operationId: postFinancialStatements
parameters:
- $ref: "#/parameters/financialStatementRequest"
responses:
"200":
$ref: "#/responses/FinancialStatementResponse"
"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 financialStatement to SalesforceDevops.net
tags:
- FinancialStatements
put:
description: Update financialStatement records
operationId: putFinancialStatement
parameters:
- $ref: "#/parameters/financialStatementRequest"
responses:
"200":
$ref: "#/responses/FinancialStatementResponse"
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Update financialStatement records
tags:
- FinancialStatements
/industries:
get:
description: Retrieve Industry records from the microservice
operationId: getIndustries
parameters:
- $ref: "#/parameters/limitQuery"
2023-04-08 02:47:39 +00:00
- $ref: "#/parameters/slugQuery"
- $ref: "#/parameters/offsetQuery"
- $ref: "#/parameters/industryIdQuery"
2023-04-08 02:47:39 +00:00
- $ref: "#/parameters/productCategoryQuery"
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 Industry records
tags:
- Industry
post:
description: Add new industries
operationId: postIndustries
parameters:
- $ref: "#/parameters/industryRequest"
responses:
"200":
$ref: "#/responses/IndustryResponse"
2022-09-07 00:16:25 +00:00
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Add new companies
tags:
- Industry
/industrycompanies:
delete:
description: Delete IndustryCompany record
operationId: deleteIndustryCompany
parameters:
- $ref: "#/parameters/industryCompanyIdQuery"
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 IndustryCompany
tags:
- IndustryCompanies
2022-09-07 00:16:25 +00:00
get:
description: Return a list of all available IndustryCompanies
operationId: getIndustryCompanies
2022-09-07 00:16:25 +00:00
parameters:
- $ref: "#/parameters/limitQuery"
- $ref: "#/parameters/nameQuery"
- $ref: "#/parameters/offsetQuery"
- $ref: "#/parameters/activeQuery"
- $ref: "#/parameters/industryCompanyIdQuery"
- $ref: "#/parameters/emailQuery"
2022-09-07 00:16:25 +00:00
responses:
"200":
$ref: "#/responses/IndustryCompanyResponse"
2022-09-07 00:16:25 +00:00
"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 industrycompanies
2022-09-07 00:16:25 +00:00
tags:
- IndustryCompanies
post:
description: IndustryCompany record to be added
operationId: postIndustryCompanies
parameters:
- $ref: "#/parameters/industryCompanyRequest"
2022-09-07 00:16:25 +00:00
responses:
"200":
$ref: "#/responses/IndustryCompanyResponse"
"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 industryCompany to SalesforceDevops.net
tags:
- IndustryCompanies
/industryproducts:
delete:
description: Delete IndustryProduct record
operationId: deleteIndustryProduct
parameters:
- $ref: "#/parameters/limitQuery"
- $ref: "#/parameters/offsetQuery"
- $ref: "#/parameters/industryProductIdQuery"
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 IndustryProduct
tags:
- IndustryProducts
get:
description: Return a list of all available IndustryProducts
operationId: getIndustryProducts
parameters:
- $ref: "#/parameters/limitQuery"
- $ref: "#/parameters/nameQuery"
- $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: IndustryProduct 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 SalesforceDevops.net
tags:
- IndustryProducts
/observations:
delete:
description: Delete Observation record
operationId: deleteObservation
parameters:
- $ref: "#/parameters/observationIdQuery"
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 Observation
tags:
- Observations
get:
description: Return a list of all available Observations
operationId: getObservations
parameters:
- $ref: "#/parameters/limitQuery"
- $ref: "#/parameters/offsetQuery"
- $ref: "#/parameters/activeQuery"
- $ref: "#/parameters/observationIdQuery"
responses:
"200":
$ref: "#/responses/ObservationResponse"
"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 observations
tags:
- Observations
post:
description: Observation record to be added
operationId: postObservations
parameters:
- $ref: "#/parameters/observationRequest"
- $ref: "#/parameters/limitQuery"
- $ref: "#/parameters/offsetQuery"
responses:
"200":
$ref: "#/responses/ObservationResponse"
"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 observation to SalesforceDevops.net
2022-09-07 00:16:25 +00:00
tags:
- Observations
put:
description: Update a single observation specified by observationId
operationId: putObservation
2022-09-07 00:16:25 +00:00
parameters:
- $ref: "#/parameters/observationRequest"
2022-09-07 00:16:25 +00:00
responses:
"200":
$ref: "#/responses/ObservationResponse"
2022-09-07 00:16:25 +00:00
"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 observation
2022-09-07 00:16:25 +00:00
tags:
- Observations
/topics:
get:
description: Retrieve Topic records from the microservice
operationId: getTopics
2022-09-07 00:16:25 +00:00
parameters:
- $ref: "#/parameters/limitQuery"
- $ref: "#/parameters/offsetQuery"
- $ref: "#/parameters/topicIdQuery"
2022-09-07 00:16:25 +00:00
responses:
"200":
$ref: "#/responses/TopicResponse"
2022-09-07 00:16:25 +00:00
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Get Topic records
2022-09-07 00:16:25 +00:00
tags:
- Topics
post:
description: Add new topics
operationId: postTopics
2022-09-07 00:16:25 +00:00
parameters:
- $ref: "#/parameters/topicRequest"
2022-09-07 00:16:25 +00:00
responses:
"200":
$ref: "#/responses/TopicResponse"
2022-09-07 00:16:25 +00:00
"401":
$ref: "#/responses/Unauthorized"
"403":
$ref: "#/responses/AccessForbidden"
"404":
$ref: "#/responses/NotFound"
"422":
$ref: "#/responses/UnprocessableEntity"
"500":
$ref: "#/responses/ServerError"
security:
- ApiKeyAuth: []
summary: Add new topics
2022-09-07 00:16:25 +00:00
tags:
- Topics
2022-09-07 00:16:25 +00:00
definitions:
Address:
properties:
City:
description: City
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2022-09-07 00:16:25 +00:00
Country:
description: Country full name
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2022-09-07 00:16:25 +00:00
CountryCode:
description: Country Code
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2022-09-07 00:16:25 +00:00
PostalCode:
description: Postal Code
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2022-09-07 00:16:25 +00:00
State:
description: State full name
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2022-09-07 00:16:25 +00:00
StateCode:
description: State Code
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2022-09-07 00:16:25 +00:00
Street:
description: Street number and name
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
type: object
CompanyCategory:
properties:
CloudType:
description: The Type of Cloud Company
type: string
Count:
description: The number of companies
type: number
type: object
CompanyCategoryResponse:
description: An array of CompanyCategory objects produced in response to a request
properties:
Data:
items:
$ref: "#/definitions/CompanyCategory"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
2022-09-07 00:16:25 +00:00
type: object
2023-03-28 17:47:34 +00:00
CompanyProduct:
description: A software product or service vended by a Company
2022-09-07 00:16:25 +00:00
properties:
2023-03-28 17:47:34 +00:00
AccountID:
description: ID of the Company that owns this Product
2022-09-07 00:16:25 +00:00
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2022-09-07 00:16:25 +00:00
CreatedByID:
description: Created By User ID
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2022-09-07 00:16:25 +00:00
CreatedDate:
description: Created Date
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
Description:
description: Description of product
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
FullDescription:
description: Full Description of product
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
ID:
description: Record Id
type: string
ImageAltText:
2023-03-28 17:47:34 +00:00
description: Image Alt Text
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
ImageURL:
description: Image URL
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
Industries:
description: Industries
2023-04-06 01:28:58 +00:00
items:
$ref: "#/definitions/Industry"
2023-04-15 14:27:18 +00:00
type: array
x-nullable: true
2022-09-07 00:16:25 +00:00
LastModifiedByID:
description: Last Modified By User ID
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2022-09-07 00:16:25 +00:00
LastModifiedDate:
description: Last Modified Date
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
Logo:
description: Logo
2022-09-07 00:16:25 +00:00
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
Name:
description: Product Name
2022-09-07 00:16:25 +00:00
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
ProductVideoID:
description: Product Video ID
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
Published:
description: Published
type: boolean
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
SalesforceSpecific:
description: Salesforce Specific
type: boolean
2023-04-15 14:27:18 +00:00
x-nullable: true
Slug:
description: Slug
2022-09-07 00:16:25 +00:00
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
TagLine:
description: TagLine
2022-09-07 00:16:25 +00:00
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
URL:
description: Website
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
type: object
CompanyProductRequest:
description: An array of CompanyProduct objects submitted for processing
properties:
Data:
items:
$ref: "#/definitions/CompanyProduct"
type: array
type: object
CompanyProductResponse:
description: An array of CompanyProduct objects produced in response to a request
properties:
Data:
items:
$ref: "#/definitions/CompanyProduct"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
2023-03-28 17:47:34 +00:00
DeleteResponse:
properties:
Data:
2022-09-07 00:16:25 +00:00
items:
2023-03-28 17:47:34 +00:00
$ref: "#/definitions/Message"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
2022-09-07 00:16:25 +00:00
type: object
2023-03-28 17:47:34 +00:00
Error:
2023-04-15 14:27:18 +00:00
$ref: ../../lib/swagger/defs/error.yaml#/Error
2023-03-28 17:47:34 +00:00
Factor:
description: A Factor of analysis within a research topic
2022-09-07 00:16:25 +00:00
properties:
CreatedByID:
description: Created By User ID
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2022-09-07 00:16:25 +00:00
CreatedDate:
description: Created Date
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
Description:
description: Topic Description
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
ID:
description: Record Id
type: string
2022-09-07 00:16:25 +00:00
LastModifiedByID:
description: Last Modified By User ID
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2022-09-07 00:16:25 +00:00
LastModifiedDate:
description: Last Modified Date
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
Name:
description: Factor Name
2022-09-07 00:16:25 +00:00
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
Observations:
description: The list of Observations used to analyze this industry
items:
$ref: "#/definitions/Observation"
type: array
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
Slug:
description: The slug of the corresponding page on the CMS
2022-09-07 00:16:25 +00:00
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
TopicID:
description: The ID of the Topic that owns this Factor
2022-09-07 00:16:25 +00:00
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
type: object
FactorRequest:
description: An array of Factor objects submitted for processing
properties:
Data:
items:
$ref: "#/definitions/Factor"
type: array
type: object
FactorResponse:
description: An array of Factor objects produced in response to a request
properties:
Data:
items:
$ref: "#/definitions/Factor"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
FinancialStatement:
description: A financial statement for a company
2022-09-07 00:16:25 +00:00
properties:
AccessNumber:
description: EDGAR Access Number
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
AccountID:
description: Account ID
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
CloudRevenue:
description: Cloud Revenue
type: number
2023-04-15 14:27:18 +00:00
x-nullable: true
2022-09-07 00:16:25 +00:00
CreatedByID:
description: Created By User ID
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2022-09-07 00:16:25 +00:00
CreatedDate:
description: Created Date
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
Description:
description: Description
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
EdgarURL:
description: EDGAR URL
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
FilingType:
description: Filing Type
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
GrossProfit:
description: Gross Profit
type: number
2023-04-15 14:27:18 +00:00
x-nullable: true
ID:
description: Record Id
type: string
2022-09-07 00:16:25 +00:00
LastModifiedByID:
description: Last Modified By User ID
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2022-09-07 00:16:25 +00:00
LastModifiedDate:
description: Last Modified Date
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
NetIncome:
description: Net Income
type: number
2023-04-15 14:27:18 +00:00
x-nullable: true
PeriodEndDate:
description: Period End Date
2022-09-07 00:16:25 +00:00
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
TotalRevenue:
description: Total Revenue
type: number
2023-04-15 14:27:18 +00:00
x-nullable: true
Year:
description: Year
2022-09-07 00:16:25 +00:00
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
type: object
FinancialStatementRequest:
description: An array of FinancialStatement objects submitted for processing
properties:
Data:
items:
$ref: "#/definitions/FinancialStatement"
type: array
type: object
FinancialStatementResponse:
description: An array of FinancialStatement objects produced in response to a request
properties:
Data:
items:
$ref: "#/definitions/FinancialStatement"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
2022-09-07 00:16:25 +00:00
Industry:
description: An industry that is being researched
properties:
2023-03-28 17:47:34 +00:00
CompanyProducts:
description: The list of Products in this industry
items:
$ref: "#/definitions/CompanyProduct"
type: array
2023-04-15 14:27:18 +00:00
x-nullable: true
2022-09-07 00:16:25 +00:00
CreatedByID:
description: Created By User ID
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2022-09-07 00:16:25 +00:00
CreatedDate:
description: Created Date
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
Description:
description: Industry Description
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
ID:
description: Record Id
type: string
ImageAltText:
2023-03-28 17:47:34 +00:00
description: Image Alt Text
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
ImageURL:
description: Image URL
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2022-09-07 00:16:25 +00:00
LastModifiedByID:
description: Last Modified By User ID
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2022-09-07 00:16:25 +00:00
LastModifiedDate:
description: Last Modified Date
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
Level:
description: The hierarchical level of this Industry
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
Logo:
description: Logo
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2022-09-07 00:16:25 +00:00
Name:
description: Industry Name
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2022-09-07 00:16:25 +00:00
ParentIndustryID:
description: The ID of the Parent Industry
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2022-09-07 00:16:25 +00:00
Path:
description: The full path of this industry, including Parent
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-04-08 02:47:39 +00:00
ProductCategory:
description: Is this industry a product category?
type: boolean
2023-04-15 14:27:18 +00:00
x-nullable: true
2022-09-07 00:16:25 +00:00
Slug:
description: The CMS Slug for this Industry
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
TagLine:
description: TagLine
2022-09-07 00:16:25 +00:00
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
type: object
IndustryCompany:
description: Junction object between Industry and Company
properties:
AccountID:
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
CreatedByID:
description: Created By User ID
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
CreatedDate:
description: Created Date
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
ID:
description: Record Id
type: string
IndustryID:
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
LastModifiedByID:
description: Last Modified By User ID
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
LastModifiedDate:
description: Last Modified Date
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
Path:
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
type: object
IndustryCompanyRequest:
description: An array of IndustryCompany objects submitted for processing
properties:
Data:
items:
$ref: "#/definitions/IndustryCompany"
type: array
type: object
IndustryCompanyResponse:
description: An array of IndustryCompany objects produced in response to a request
properties:
Data:
items:
$ref: "#/definitions/IndustryCompany"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
IndustryProduct:
description: Junction object between Industry and CompanyProduct
properties:
CompanyProductID:
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
CreatedByID:
description: Created By User ID
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
CreatedDate:
description: Created Date
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
HTML:
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
ID:
description: Record Id
type: string
IndustryID:
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
LastModifiedByID:
description: Last Modified By User ID
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
LastModifiedDate:
description: Last Modified Date
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
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
2022-09-07 00:16:25 +00:00
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
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
2023-03-28 17:47:34 +00:00
Observation:
description: A data point collected while analyzing a Factor
properties:
AccountID:
description: The ID of the Company being analyzed
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
CompanyProductID:
description: The ID of the Product being analyzed
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
CreatedByID:
description: Created By User ID
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
CreatedDate:
description: Created Date
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
Description:
description: Notes concerning data collection
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
FactorID:
description: The ID of the Factor that owns this Observation
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
ID:
description: Record Id
type: string
2023-03-28 17:47:34 +00:00
LastModifiedByID:
description: Last Modified By User ID
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
LastModifiedDate:
description: Last Modified Date
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
SubjectType:
description: Is the subject a Company or a Product?
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
Value:
description: The data point collected
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
type: object
ObservationRequest:
description: An array of Observation objects submitted for processing
properties:
Data:
items:
$ref: "#/definitions/Observation"
type: array
type: object
ObservationResponse:
description: An array of Observation objects produced in response to a request
properties:
Data:
items:
$ref: "#/definitions/Observation"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object
2022-09-07 00:16:25 +00:00
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:
2023-03-28 17:47:34 +00:00
description: Account Number of the Reseller or OEM
2022-09-07 00:16:25 +00:00
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:
2023-03-28 17:47:34 +00:00
description: Account Number used for recording transactions
type: string
type: object
Topic:
description: A research topic that collects data
properties:
CreatedByID:
description: Created By User ID
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
CreatedDate:
description: Created Date
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
Description:
description: Topic Description
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
Factors:
description: The list of Factors used to analyze this industry
items:
$ref: "#/definitions/Factor"
type: array
2023-04-15 14:27:18 +00:00
x-nullable: true
ID:
description: Record Id
type: string
2023-03-28 17:47:34 +00:00
LastModifiedByID:
description: Last Modified By User ID
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
LastModifiedDate:
description: Last Modified Date
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
Name:
description: Topic Name
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
ParentTopicID:
description: The ID of the Parent Topic
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2023-03-28 17:47:34 +00:00
Slug:
description: The CMS Slug for this Topic
2022-09-07 00:16:25 +00:00
type: string
2023-04-15 14:27:18 +00:00
x-nullable: true
2022-09-07 00:16:25 +00:00
type: object
2023-03-28 17:47:34 +00:00
TopicRequest:
description: An array of Topic objects submitted for processing
properties:
Data:
items:
$ref: "#/definitions/Topic"
type: array
type: object
TopicResponse:
description: An array of Topic objects produced in response to a request
properties:
Data:
items:
$ref: "#/definitions/Topic"
type: array
Meta:
$ref: "#/definitions/ResponseMeta"
type: object