openapi: 3.2.0 info: version: V1 title: Orion Connect Portfolio/Regions API x-swagger-net-version: 8.4.12.001 servers: - url: https://api.orionadvisor.com/api tags: - name: Portfolio/Regions paths: /v1/Portfolio/Regions: get: tags: - Portfolio/Regions summary: Get all Regions operationId: Regions_GetAllItems responses: '200': description: OK content: text/plain: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' xml: name: RegionDto wrapped: true type: array application/json: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' xml: name: RegionDto wrapped: true type: array text/json: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' xml: name: RegionDto wrapped: true type: array application/xml: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' xml: name: RegionDto wrapped: true type: array text/xml: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' xml: name: RegionDto wrapped: true type: array multipart/form-data: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' xml: name: RegionDto wrapped: true type: array security: - Authorization: [] post: tags: - Portfolio/Regions summary: Adds a new Region to the database operationId: Regions_CreateEntity responses: '200': description: OK content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' security: - Authorization: [] requestBody: content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' required: true /v1/Portfolio/Regions/{key}: get: tags: - Portfolio/Regions summary: Gets the Region that has the provided key. operationId: Regions_GetEntityByKey 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.RegionDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' security: - Authorization: [] put: tags: - Portfolio/Regions summary: Updates the Region that has the provided key. operationId: Regions_UpdateEntity parameters: - name: key in: path description: Key of the desired update object. required: true schema: type: integer format: int32 responses: '200': description: OK content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' security: - Authorization: [] requestBody: content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.RegionDto' description: Region object to update required: true delete: tags: - Portfolio/Regions summary: Deletes the specified Region from the database operationId: Regions_DeleteEntity parameters: - name: key in: path description: Key of the Region. 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/Regions/Simple: get: tags: - Portfolio/Regions summary: Get all Regions operationId: Regions_GetAllSimpleItems 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: [] /v1/Portfolio/Regions/Weighted: get: tags: - Portfolio/Regions summary: Gets a list of weighted asset regions that the logged in user has access to operationId: RegionWeighteds_GetAllItems responses: '200': description: OK content: text/plain: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' xml: name: ProductRegionWeightedDto wrapped: true type: array application/json: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' xml: name: ProductRegionWeightedDto wrapped: true type: array text/json: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' xml: name: ProductRegionWeightedDto wrapped: true type: array application/xml: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' xml: name: ProductRegionWeightedDto wrapped: true type: array text/xml: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' xml: name: ProductRegionWeightedDto wrapped: true type: array multipart/form-data: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' xml: name: ProductRegionWeightedDto wrapped: true type: array security: - Authorization: [] put: tags: - Portfolio/Regions summary: Mass update product regions operationId: RegionWeighteds_UpdateProductRegionWeights responses: '200': description: OK content: text/plain: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' xml: name: ProductRegionWeightedDto wrapped: true type: array application/json: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' xml: name: ProductRegionWeightedDto wrapped: true type: array text/json: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' xml: name: ProductRegionWeightedDto wrapped: true type: array application/xml: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' xml: name: ProductRegionWeightedDto wrapped: true type: array text/xml: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' xml: name: ProductRegionWeightedDto wrapped: true type: array multipart/form-data: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' xml: name: ProductRegionWeightedDto wrapped: true type: array security: - Authorization: [] requestBody: content: text/plain: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' xml: name: ProductRegionWeightedDto wrapped: true type: array application/json: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' xml: name: ProductRegionWeightedDto wrapped: true type: array text/json: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' xml: name: ProductRegionWeightedDto wrapped: true type: array application/xml: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' xml: name: ProductRegionWeightedDto wrapped: true type: array text/xml: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' xml: name: ProductRegionWeightedDto wrapped: true type: array application/x-www-form-urlencoded: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' xml: name: ProductRegionWeightedDto wrapped: true type: array multipart/form-data: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' xml: name: ProductRegionWeightedDto wrapped: true type: array required: true post: tags: - Portfolio/Regions summary: Create weighted product regions operationId: RegionWeighteds_CreateProductRegionWeighted responses: '200': description: OK content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' security: - Authorization: [] requestBody: content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' required: true /v1/Portfolio/Regions/Weighted/{key}: get: tags: - Portfolio/Regions summary: Gets a list of weighted asset regions that the logged in user has access to operationId: RegionWeighteds_GetByKey parameters: - name: key in: path required: true schema: type: integer format: int32 responses: '200': description: OK content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' security: - Authorization: [] put: tags: - Portfolio/Regions summary: Update weighted product regions operationId: RegionWeighteds_UpdateProductRegionWeight parameters: - name: key in: path required: true schema: type: integer format: int32 responses: '200': description: OK content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' security: - Authorization: [] requestBody: content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' required: true delete: tags: - Portfolio/Regions summary: Delete product region operationId: RegionWeighteds_DeleteItem parameters: - name: key in: path 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/Regions/Weighted/Products/{productId}: get: tags: - Portfolio/Regions summary: Get all weighted asset regions by product operationId: RegionWeighteds_GetProductRegionWeighteds parameters: - name: productId in: path required: true schema: type: integer format: int32 responses: '200': description: OK content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' security: - Authorization: [] /v1/Portfolio/Regions/Weighted/Products/{productId}/Representative/{representativeId}: get: tags: - Portfolio/Regions summary: Get all weighted asset regions by product and representative operationId: RegionWeighteds_GetProductRegionWeight parameters: - name: productId in: path required: true schema: type: integer format: int32 - name: representativeId in: path required: true schema: type: integer format: int32 responses: '200': description: OK content: text/plain: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto' security: - Authorization: [] components: schemas: OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDetailDto: properties: productRegionWeightedId: type: integer format: int32 regionId: type: integer format: int32 regionName: type: string weight: type: number format: double xml: name: ProductRegionWeightedDetailDto type: object OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDto: properties: id: type: integer format: int32 representativeId: type: integer format: int32 representativeName: type: string productId: type: integer format: int32 details: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.ProductRegionWeightedDetailDto' xml: name: ProductRegionWeightedDetailDto wrapped: true type: array xml: name: ProductRegionWeightedDto type: object OAS.DataModel.SimpleEntity: properties: id: type: integer format: int32 name: type: string xml: name: SimpleEntity type: object OAS.WebApi.DTO.Portfolio.RegionDto: properties: id: type: integer format: int32 name: type: string auditedDate: type: string format: date-time auditedByDisplay: type: string xml: name: RegionDto type: object securitySchemes: Authorization: type: apiKey description: 'JWT Authorization header using the Session scheme. Example: "Authorization: Session {token}"' name: Authorization in: header