mirror of https://github.com/vernonkeenan/lib
1714 lines
46 KiB
YAML
1714 lines
46 KiB
YAML
swagger: "2.0"
|
|
info:
|
|
version: 0.3.0
|
|
title: "research"
|
|
description: "Customer Information Microservice"
|
|
termsOfService: "https://salesforcedevops.net/terms/"
|
|
contact:
|
|
email: "vern@vernonkeenan.com"
|
|
license:
|
|
name: "Proprietary - Copyright (c) 2018-2023 by Vernon Keenan"
|
|
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:
|
|
description: Record Id of an Account
|
|
in: query
|
|
name: accountId
|
|
required: false
|
|
type: string
|
|
activeQuery:
|
|
description: Only retrieve active records?
|
|
in: query
|
|
name: active
|
|
required: false
|
|
type: boolean
|
|
companyProductIdQuery:
|
|
description: CompanyProduct record ID
|
|
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
|
|
in: query
|
|
name: contactId
|
|
required: false
|
|
type: string
|
|
emailQuery:
|
|
description: Email address used for identity lookup
|
|
in: query
|
|
name: email
|
|
required: false
|
|
type: string
|
|
factorIdQuery:
|
|
description: Factor record ID
|
|
in: query
|
|
name: factorId
|
|
required: false
|
|
type: string
|
|
financialStatementIdQuery:
|
|
description: Financial Statement record ID
|
|
in: query
|
|
name: financialStatementId
|
|
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
|
|
in: query
|
|
name: industryCompanyId
|
|
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
|
|
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"
|
|
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
|
|
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
|
|
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"
|
|
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"
|
|
typeQuery:
|
|
description: The Type of this Object
|
|
in: query
|
|
name: type
|
|
required: false
|
|
type: string
|
|
|
|
responses:
|
|
AccessForbidden:
|
|
description: Access forbidden, account lacks access
|
|
headers:
|
|
Access-Control-Allow-Origin:
|
|
type: string
|
|
schema:
|
|
$ref: "#/definitions/Error"
|
|
CompanyProductResponse:
|
|
description: Response with Company objects
|
|
schema:
|
|
$ref: "#/definitions/CompanyProductResponse"
|
|
CompanyResponse:
|
|
description: Response with Company objects
|
|
schema:
|
|
$ref: "#/definitions/CompanyResponse"
|
|
Conflict:
|
|
description: Conflict
|
|
headers:
|
|
Access-Control-Allow-Origin:
|
|
type: string
|
|
schema:
|
|
$ref: "#/definitions/Error"
|
|
DeleteResponse:
|
|
description: Response with Message Objects with Delete Status
|
|
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"
|
|
InvalidDataError:
|
|
description: Invalid data was sent
|
|
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"
|
|
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"
|
|
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"
|
|
|
|
paths:
|
|
/companies:
|
|
get:
|
|
description: Return a list of all available Companies
|
|
operationId: getCompanies
|
|
parameters:
|
|
- $ref: "#/parameters/limitQuery"
|
|
- $ref: "#/parameters/nameQuery"
|
|
- $ref: "#/parameters/offsetQuery"
|
|
- $ref: "#/parameters/activeQuery"
|
|
- $ref: "#/parameters/accountIdQuery"
|
|
responses:
|
|
"200":
|
|
$ref: "#/responses/CompanyResponse"
|
|
"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 companies
|
|
tags:
|
|
- Companies
|
|
/companyproducts:
|
|
delete:
|
|
description: Delete CompanyProduct record
|
|
operationId: deleteCompanyProduct
|
|
parameters:
|
|
- $ref: "#/parameters/companyProductIdQuery"
|
|
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
|
|
tags:
|
|
- CompanyProducts
|
|
get:
|
|
description: Return a list of all available CompanyProducts
|
|
operationId: getCompanyProducts
|
|
parameters:
|
|
- $ref: "#/parameters/limitQuery"
|
|
- $ref: "#/parameters/nameQuery"
|
|
- $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: CompanyProduct 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 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"
|
|
- $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"
|
|
- $ref: "#/parameters/nameQuery"
|
|
- $ref: "#/parameters/offsetQuery"
|
|
- $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 Industry records
|
|
tags:
|
|
- Industry
|
|
post:
|
|
description: Add new industries
|
|
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 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
|
|
get:
|
|
description: Return a list of all available IndustryCompanies
|
|
operationId: getIndustryCompanies
|
|
parameters:
|
|
- $ref: "#/parameters/limitQuery"
|
|
- $ref: "#/parameters/nameQuery"
|
|
- $ref: "#/parameters/offsetQuery"
|
|
- $ref: "#/parameters/activeQuery"
|
|
- $ref: "#/parameters/industryCompanyIdQuery"
|
|
- $ref: "#/parameters/emailQuery"
|
|
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: Get a list of industrycompanies
|
|
tags:
|
|
- IndustryCompanies
|
|
post:
|
|
description: IndustryCompany record to be added
|
|
operationId: postIndustryCompanies
|
|
parameters:
|
|
- $ref: "#/parameters/industryCompanyRequest"
|
|
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
|
|
tags:
|
|
- Observations
|
|
put:
|
|
description: Update a single observation specified by observationId
|
|
operationId: putObservation
|
|
parameters:
|
|
- $ref: "#/parameters/observationRequest"
|
|
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: Update a single observation
|
|
tags:
|
|
- Observations
|
|
/topics:
|
|
get:
|
|
description: Retrieve Topic records from the microservice
|
|
operationId: getTopics
|
|
parameters:
|
|
- $ref: "#/parameters/limitQuery"
|
|
- $ref: "#/parameters/offsetQuery"
|
|
- $ref: "#/parameters/topicIdQuery"
|
|
responses:
|
|
"200":
|
|
$ref: "#/responses/TopicResponse"
|
|
"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
|
|
tags:
|
|
- Topics
|
|
post:
|
|
description: Add new topics
|
|
operationId: postTopics
|
|
parameters:
|
|
- $ref: "#/parameters/topicRequest"
|
|
responses:
|
|
"200":
|
|
$ref: "#/responses/TopicResponse"
|
|
"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
|
|
tags:
|
|
- Topics
|
|
|
|
definitions:
|
|
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
|
|
type: object
|
|
Company:
|
|
properties:
|
|
AccountNumber:
|
|
description: Account Number
|
|
type: string
|
|
AccountSource:
|
|
description: Account Source
|
|
type: string
|
|
AnnualRevenue:
|
|
description: Annual Revenue
|
|
type: string
|
|
CloudRevenueTotal:
|
|
type: number
|
|
CloudType:
|
|
description: The type of cloud company
|
|
type: string
|
|
CloudYear:
|
|
description: The year company started cloud revenue
|
|
type: string
|
|
CompanyProducts:
|
|
description: Company Products
|
|
properties:
|
|
items:
|
|
$ref: "#/definitions/CompanyProduct"
|
|
CreatedByID:
|
|
description: Created By User ID
|
|
type: string
|
|
CreatedDate:
|
|
description: Created Date
|
|
type: string
|
|
CrunchbaseURL:
|
|
description: Crunchbase URL
|
|
type: string
|
|
Description:
|
|
description: Description
|
|
type: string
|
|
EIN:
|
|
type: string
|
|
EarningsCall:
|
|
description: Earnings Call Date
|
|
type: string
|
|
Email:
|
|
description: Main Account Email
|
|
type: string
|
|
EquityFunding:
|
|
description: The amount of equity EquityFunding
|
|
type: number
|
|
Facebook:
|
|
description: Company Facebook URL
|
|
type: string
|
|
Fax:
|
|
description: Fax
|
|
type: string
|
|
FoundedDate:
|
|
description: Date company founded
|
|
type: string
|
|
ID:
|
|
description: Record Id
|
|
type: string
|
|
IPODate:
|
|
description: IPO Date
|
|
type: string
|
|
ImageAltText:
|
|
type: string
|
|
ImageURL:
|
|
type: string
|
|
Industries:
|
|
description: Industries
|
|
type: string
|
|
Industry:
|
|
description: Industry
|
|
type: string
|
|
IndustryCompanies:
|
|
description: Industry Companies
|
|
properties:
|
|
items:
|
|
$ref: "#/definitions/IndustryCompany"
|
|
LastModifiedByID:
|
|
description: Last Modified By User ID
|
|
type: string
|
|
LastModifiedDate:
|
|
description: Last Modified Date
|
|
type: string
|
|
LinkedIn:
|
|
description: Company LinkedIn URL
|
|
type: string
|
|
ListingAddress:
|
|
$ref: "#/definitions/Address"
|
|
Location:
|
|
description: Headquarters Location Description
|
|
type: string
|
|
Logo:
|
|
description: Company Logo URL
|
|
type: string
|
|
MarketCapitalization:
|
|
description: Market Capitalization
|
|
type: number
|
|
Name:
|
|
description: Name
|
|
type: string
|
|
NumberInvestments:
|
|
description: Number of Investments
|
|
type: number
|
|
NumberOfEmployees:
|
|
description: Number Of Employees
|
|
type: string
|
|
OwnerID:
|
|
description: Owner ID
|
|
type: string
|
|
Ownership:
|
|
description: Ownership
|
|
type: string
|
|
ParentID:
|
|
description: Parent ID
|
|
type: string
|
|
Phone:
|
|
description: Phone
|
|
type: string
|
|
Publish:
|
|
description: Publish this record?
|
|
type: boolean
|
|
SIC:
|
|
description: Sic
|
|
type: string
|
|
SICDesc:
|
|
description: Sic Description
|
|
type: string
|
|
SalesforceFirst:
|
|
description: A Salesforce-First company?
|
|
type: boolean
|
|
Site:
|
|
description: Site
|
|
type: string
|
|
Slug:
|
|
description: Slug
|
|
type: string
|
|
TagLine:
|
|
description: Company tagline
|
|
type: string
|
|
TickerSymbol:
|
|
description: Ticker Symbol
|
|
type: string
|
|
Twitter:
|
|
description: Twitter URL
|
|
type: string
|
|
Type:
|
|
description: Type
|
|
type: string
|
|
Website:
|
|
description: Website
|
|
type: string
|
|
YearStarted:
|
|
description: Year Started
|
|
type: string
|
|
type: object
|
|
CompanyProduct:
|
|
description: A software product or service vended by a Company
|
|
properties:
|
|
ID:
|
|
description: Record Id
|
|
type: string
|
|
AccountID:
|
|
description: ID of the Company that owns this Product
|
|
type: string
|
|
CreatedByID:
|
|
description: Created By User ID
|
|
type: string
|
|
CreatedDate:
|
|
description: Created Date
|
|
type: string
|
|
Description:
|
|
description: Description of product
|
|
type: string
|
|
FullDescription:
|
|
description: Full Description of product
|
|
type: string
|
|
ImageAltText:
|
|
description: Image Alt Text
|
|
type: string
|
|
ImageURL:
|
|
description: Image URL
|
|
type: string
|
|
Industries:
|
|
description: Industries
|
|
properties:
|
|
items:
|
|
$ref: "#/definitions/Industry"
|
|
LastModifiedByID:
|
|
description: Last Modified By User ID
|
|
type: string
|
|
LastModifiedDate:
|
|
description: Last Modified Date
|
|
type: string
|
|
Logo:
|
|
description: Logo
|
|
type: string
|
|
Name:
|
|
description: Product Name
|
|
type: string
|
|
ProductVideoID:
|
|
description: Product Video ID
|
|
type: string
|
|
Published:
|
|
description: Published
|
|
type: boolean
|
|
SalesforceSpecific:
|
|
description: Salesforce Specific
|
|
type: boolean
|
|
Slug:
|
|
description: Slug
|
|
type: string
|
|
TagLine:
|
|
description: TagLine
|
|
type: string
|
|
URL:
|
|
description: Website
|
|
type: string
|
|
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
|
|
CompanyResponse:
|
|
description: An array of Company objects produced in response to a request
|
|
properties:
|
|
Data:
|
|
items:
|
|
$ref: "#/definitions/Company"
|
|
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
|
|
Factor:
|
|
description: A Factor of analysis within a research topic
|
|
properties:
|
|
ID:
|
|
description: Record Id
|
|
type: string
|
|
CreatedByID:
|
|
description: Created By User ID
|
|
type: string
|
|
CreatedDate:
|
|
description: Created Date
|
|
type: string
|
|
Description:
|
|
description: Topic Description
|
|
type: string
|
|
LastModifiedByID:
|
|
description: Last Modified By User ID
|
|
type: string
|
|
LastModifiedDate:
|
|
description: Last Modified Date
|
|
type: string
|
|
Name:
|
|
description: Factor Name
|
|
type: string
|
|
Observations:
|
|
description: The list of Observations used to analyze this industry
|
|
items:
|
|
$ref: "#/definitions/Observation"
|
|
type: array
|
|
Slug:
|
|
description: The slug of the corresponding page on the CMS
|
|
type: string
|
|
TopicID:
|
|
description: The ID of the Topic that owns this Factor
|
|
type: string
|
|
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:
|
|
type: object
|
|
description: A financial statement for a company
|
|
properties:
|
|
ID:
|
|
description: Record Id
|
|
type: string
|
|
AccessNumber:
|
|
description: EDGAR Access Number
|
|
type: string
|
|
AccountID:
|
|
description: Account ID
|
|
type: string
|
|
CloudRevenue:
|
|
description: Cloud Revenue
|
|
type: number
|
|
CreatedByID:
|
|
description: Created By User ID
|
|
type: string
|
|
CreatedDate:
|
|
description: Created Date
|
|
type: string
|
|
Description:
|
|
description: Description
|
|
type: string
|
|
EdgarURL:
|
|
description: EDGAR URL
|
|
type: string
|
|
FilingType:
|
|
description: Filing Type
|
|
type: string
|
|
GrossProfit:
|
|
description: Gross Profit
|
|
type: number
|
|
LastModifiedByID:
|
|
description: Last Modified By User ID
|
|
type: string
|
|
LastModifiedDate:
|
|
description: Last Modified Date
|
|
type: string
|
|
NetIncome:
|
|
description: Net Income
|
|
type: number
|
|
PeriodEndDate:
|
|
description: Period End Date
|
|
type: string
|
|
TotalRevenue:
|
|
description: Total Revenue
|
|
type: number
|
|
Year:
|
|
description: Year
|
|
type: string
|
|
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
|
|
Industry:
|
|
description: An industry that is being researched
|
|
properties:
|
|
ID:
|
|
description: Record Id
|
|
type: string
|
|
Companies:
|
|
description: The AccountIDs of the Companies in this Industry
|
|
items:
|
|
type: string
|
|
type: array
|
|
CompanyProducts:
|
|
description: The list of Products in this industry
|
|
items:
|
|
$ref: "#/definitions/CompanyProduct"
|
|
type: array
|
|
CreatedByID:
|
|
description: Created By User ID
|
|
type: string
|
|
CreatedDate:
|
|
description: Created Date
|
|
type: string
|
|
Description:
|
|
description: Industry Description
|
|
type: string
|
|
ImageAltText:
|
|
description: Image Alt Text
|
|
type: string
|
|
ImageURL:
|
|
description: Image URL
|
|
type: string
|
|
LastModifiedByID:
|
|
description: Last Modified By User ID
|
|
type: string
|
|
LastModifiedDate:
|
|
description: Last Modified Date
|
|
type: string
|
|
Level:
|
|
description: The hierarchical level of this Industry
|
|
type: string
|
|
Logo:
|
|
description: Logo
|
|
type: string
|
|
Name:
|
|
description: Industry Name
|
|
type: string
|
|
ParentIndustryID:
|
|
description: The ID of the Parent 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
|
|
TagLine:
|
|
description: TagLine
|
|
type: string
|
|
type: object
|
|
IndustryCompany:
|
|
description: Junction object between Industry and Company
|
|
properties:
|
|
ID:
|
|
description: Record Id
|
|
type: string
|
|
AccountID:
|
|
type: string
|
|
CreatedByID:
|
|
description: Created By User ID
|
|
type: string
|
|
CreatedDate:
|
|
description: Created Date
|
|
type: string
|
|
IndustryID:
|
|
type: string
|
|
LastModifiedByID:
|
|
description: Last Modified By User ID
|
|
type: string
|
|
LastModifiedDate:
|
|
description: Last Modified Date
|
|
type: string
|
|
Path:
|
|
type: string
|
|
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
|
|
CreatedByID:
|
|
description: Created By User ID
|
|
type: string
|
|
CreatedDate:
|
|
description: Created Date
|
|
type: string
|
|
HTML:
|
|
type: string
|
|
ID:
|
|
description: Record Id
|
|
type: string
|
|
IndustryID:
|
|
type: string
|
|
LastModifiedByID:
|
|
description: Last Modified By User ID
|
|
type: string
|
|
LastModifiedDate:
|
|
description: Last Modified Date
|
|
type: string
|
|
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
|
|
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
|
|
Observation:
|
|
description: A data point collected while analyzing a Factor
|
|
properties:
|
|
ID:
|
|
description: Record Id
|
|
type: string
|
|
AccountID:
|
|
description: The ID of the Company being analyzed
|
|
type: string
|
|
CompanyProductID:
|
|
description: The ID of the Product being analyzed
|
|
type: string
|
|
CreatedByID:
|
|
description: Created By User ID
|
|
type: string
|
|
CreatedDate:
|
|
description: Created Date
|
|
type: string
|
|
Description:
|
|
description: Notes concerning data collection
|
|
type: string
|
|
FactorID:
|
|
description: The ID of the Factor that owns this Observation
|
|
type: string
|
|
LastModifiedByID:
|
|
description: Last Modified By User ID
|
|
type: string
|
|
LastModifiedDate:
|
|
description: Last Modified Date
|
|
type: string
|
|
SubjectType:
|
|
description: Is the subject a Company or a Product?
|
|
type: string
|
|
Value:
|
|
description: The data point collected
|
|
type: string
|
|
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
|
|
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: 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:
|
|
description: Account Number used for recording transactions
|
|
type: string
|
|
type: object
|
|
Topic:
|
|
description: A research topic that collects data
|
|
properties:
|
|
ID:
|
|
description: Record Id
|
|
type: string
|
|
CreatedByID:
|
|
description: Created By User ID
|
|
type: string
|
|
CreatedDate:
|
|
description: Created Date
|
|
type: string
|
|
Description:
|
|
description: Topic Description
|
|
type: string
|
|
Factors:
|
|
description: The list of Factors used to analyze this industry
|
|
items:
|
|
$ref: "#/definitions/Factor"
|
|
type: array
|
|
LastModifiedByID:
|
|
description: Last Modified By User ID
|
|
type: string
|
|
LastModifiedDate:
|
|
description: Last Modified Date
|
|
type: string
|
|
Name:
|
|
description: Topic Name
|
|
type: string
|
|
ParentTopicID:
|
|
description: The ID of the Parent Topic
|
|
type: string
|
|
Slug:
|
|
description: The CMS Slug for this Topic
|
|
type: string
|
|
type: object
|
|
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
|