openapi: 3.2.0 info: version: V1 title: Orion Connect Portfolio/States API x-swagger-net-version: 8.4.12.001 servers: - url: https://api.orionadvisor.com/api tags: - name: Portfolio/States paths: /v1/Portfolio/States: get: tags: - Portfolio/States summary: Gets a list of states that the logged in user has access to operationId: States_Get parameters: - name: domesticOnly in: query description: 'Optional. Default: null. When true returns to only domestic states. When false returns only foriegn states.' required: false schema: type: boolean responses: '200': description: OK content: text/plain: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.StateDto' xml: name: StateDto wrapped: true type: array application/json: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.StateDto' xml: name: StateDto wrapped: true type: array text/json: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.StateDto' xml: name: StateDto wrapped: true type: array application/xml: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.StateDto' xml: name: StateDto wrapped: true type: array text/xml: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.StateDto' xml: name: StateDto wrapped: true type: array multipart/form-data: schema: items: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.StateDto' xml: name: StateDto wrapped: true type: array security: - Authorization: [] /v1/Portfolio/States/{key}: get: tags: - Portfolio/States summary: Gets the state that has the provided key. operationId: States_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.StateDto' application/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.StateDto' text/json: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.StateDto' application/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.StateDto' text/xml: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.StateDto' multipart/form-data: schema: $ref: '#/components/schemas/OAS.WebApi.DTO.Portfolio.StateDto' security: - Authorization: [] /v1/Portfolio/States/Simple: get: tags: - Portfolio/States summary: Gets a simple list of states that the logged in user has access to operationId: States_GetSimple parameters: - name: returnFullName in: query description: 'Default: True. When true returns the states'' full name. When false returns the states'' abbreviation.' required: false schema: type: boolean default: true - name: domesticOnly in: query description: 'Optional. Default: null. When true returns to only domestic states. When false returns only foriegn states.' required: false schema: type: boolean 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.StateDto: properties: abbreviation: type: string id: type: integer format: int32 name: type: string xml: name: StateDto type: object securitySchemes: Authorization: type: apiKey description: 'JWT Authorization header using the Session scheme. Example: "Authorization: Session {token}"' name: Authorization in: header