openapi: 3.2.0 info: version: V1 title: Orion Connect Portfolio/Business Lines API x-swagger-net-version: 8.4.12.001 servers: - url: https://api.orionadvisor.com/api tags: - name: Portfolio/BusinessLines paths: /v1/Portfolio/BusinessLines: get: tags: - Portfolio/BusinessLines summary: Gets a list of business lines that the logged in user has access to. operationId: BusinessLines_Get responses: '200': description: OK content: text/plain: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' xml: name: BusinessLineDto wrapped: true type: array application/json: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' xml: name: BusinessLineDto wrapped: true type: array text/json: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' xml: name: BusinessLineDto wrapped: true type: array application/xml: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' xml: name: BusinessLineDto wrapped: true type: array text/xml: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' xml: name: BusinessLineDto wrapped: true type: array multipart/form-data: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' xml: name: BusinessLineDto wrapped: true type: array security: - Authorization: [] post: tags: - Portfolio/BusinessLines summary: Used to create a new business line. operationId: BusinessLines_Create responses: '200': description: OK content: text/plain: schema: type: object application/json: schema: type: object text/json: schema: type: object multipart/form-data: schema: type: object security: - Authorization: [] requestBody: content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' required: true /v1/Portfolio/BusinessLines/{key}: get: tags: - Portfolio/BusinessLines summary: Gets the business line that has the provided key. operationId: BusinessLines_GetByKey parameters: - name: key in: path description: Key of the desired return object. required: true schema: type: integer format: int32 responses: '200': description: OK content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' security: - Authorization: [] put: tags: - Portfolio/BusinessLines summary: Used to update an existing business line. operationId: BusinessLines_Update parameters: - name: key in: path description: Key of the desired return object. required: true schema: type: integer format: int32 responses: '200': description: OK content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' security: - Authorization: [] requestBody: content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.BusinessLineDto' required: true delete: tags: - Portfolio/BusinessLines summary: Used to delete an existing business line. operationId: BusinessLines_Delete parameters: - name: key in: path description: Key of the desired return object. required: true schema: type: integer format: int32 responses: '200': description: OK content: text/plain: schema: type: object application/json: schema: type: object text/json: schema: type: object multipart/form-data: schema: type: object security: - Authorization: [] /v1/Portfolio/BusinessLines/Action/Delete: put: tags: - Portfolio/BusinessLines operationId: BusinessLines_ActionDelete responses: '200': description: OK content: text/plain: schema: items: type: integer format: int32 type: array application/json: schema: items: type: integer format: int32 type: array text/json: schema: items: type: integer format: int32 type: array application/xml: schema: items: type: integer format: int32 type: array text/xml: schema: items: type: integer format: int32 type: array multipart/form-data: schema: items: type: integer format: int32 type: array security: - Authorization: [] requestBody: content: text/plain: schema: items: type: integer format: int32 type: array application/json: schema: items: type: integer format: int32 type: array text/json: schema: items: type: integer format: int32 type: array application/xml: schema: items: type: integer format: int32 type: array text/xml: schema: items: type: integer format: int32 type: array application/x-www-form-urlencoded: schema: items: type: integer format: int32 type: array multipart/form-data: schema: items: type: integer format: int32 type: array required: true summary: Business lines action delete x-summary-source: derived /v1/Portfolio/BusinessLines/Simple: get: tags: - Portfolio/BusinessLines summary: Gets a simple list of business lines that the logged in user has access to operationId: BusinessLines_GetSimple responses: '200': description: OK content: text/plain: schema: items: $ref: '#/components/schemas/OAS.DataModel.SimpleEntity' xml: name: SimpleEntity wrapped: true type: array application/json: schema: items: $ref: '#/components/schemas/OAS.DataModel.SimpleEntity' xml: name: SimpleEntity wrapped: true type: array text/json: schema: items: $ref: '#/components/schemas/OAS.DataModel.SimpleEntity' xml: name: SimpleEntity wrapped: true type: array application/xml: schema: items: $ref: '#/components/schemas/OAS.DataModel.SimpleEntity' xml: name: SimpleEntity wrapped: true type: array text/xml: schema: items: $ref: '#/components/schemas/OAS.DataModel.SimpleEntity' xml: name: SimpleEntity wrapped: true type: array multipart/form-data: schema: items: $ref: '#/components/schemas/OAS.DataModel.SimpleEntity' xml: name: SimpleEntity wrapped: true type: array security: - Authorization: [] components: schemas: OAS.DataModel.SimpleEntity: properties: id: type: integer format: int32 name: type: string xml: name: SimpleEntity type: object OAS.WebApi.DTO.Portfolio.BusinessLineDto: properties: id: type: integer format: int32 name: type: string employeeCount: type: integer format: int32 startDate: type: string format: date-time company: type: string webAddress: type: string jobTitle: type: string email: type: string salutation: type: string address1: type: string address2: type: string address3: type: string city: type: string state: type: string zip: type: string homePhone: type: string homePhoneExt: type: string fax: type: string faxExt: type: string pager: type: string pagerExt: type: string mobilePhone: type: string businessPhone: type: string businessPhoneExt: type: string otherPhone: type: string otherPhoneExt: type: string ssN_TaxID: type: string gender: type: string dob: type: string format: date-time xml: name: BusinessLineDto type: object securitySchemes: Authorization: type: apiKey description: 'JWT Authorization header using the Session scheme. Example: "Authorization: Session {token}"' name: Authorization in: header