openapi: 3.0.3 info: title: Factset Analytics Datastore About Cash API description: Allow clients to fetch precalculated Analytics through predeterministic URLs. contact: name: FactSet Research Systems url: https://developer.factset.com/contact email: api@factset.com license: name: Apache License, Version 2.0 url: https://www.apache.org/licenses/LICENSE-2.0 version: 1.0.0 servers: - url: https://api.factset.com description: Production - url: https://api-sandbox.factset.com description: Sandbox security: - basicAuth: [] tags: - name: Cash paths: /portfolio/transaction/cash/create: post: tags: - Cash operationId: post/portfolio/transaction/cash/create x-supportsOffsetBasedPaging: false x-supportsOffsetBasedPagingWithoutTotal: false x-supportsCursorBasedPaging: false x-supportsCursorBasedPagingWithoutTotal: false x-supportsPush: false x-requiresUser: true x-requiresInternalClient: false x-disallowUser: false x-no-merge: true x-maxSortParameterCount: 10 x-supportsPermissionDeniedResponse: false description: "Add a cash transaction to a portfolio.\n\nCertain error conditions yield errors as follows: \n\n|Error Condition|HTTP Error|\n|-------|--------|\n|The number of transactions would exceed 1000.|400 Bad Request|" summary: Add a cash transaction to a portfolio. requestBody: content: application/json: schema: $ref: '#/components/schemas/PostPortfolioTransactionCashCreateRequest' responses: '200': $ref: '#/components/responses/PostPortfolioTransactionCashCreate200Response' parameters: [] /portfolio/transaction/cash/delete: post: tags: - Cash operationId: post/portfolio/transaction/cash/delete x-supportsOffsetBasedPaging: false x-supportsOffsetBasedPagingWithoutTotal: false x-supportsCursorBasedPaging: false x-supportsCursorBasedPagingWithoutTotal: false x-supportsPush: false x-requiresUser: true x-requiresInternalClient: false x-disallowUser: false x-no-merge: true x-maxSortParameterCount: 10 x-supportsPermissionDeniedResponse: false description: Delete a cash transaction. summary: Delete a cash transaction. requestBody: content: application/json: schema: $ref: '#/components/schemas/PostPortfolioTransactionCashDeleteRequest' responses: '200': $ref: '#/components/responses/PostPortfolioTransactionCashDelete200Response' parameters: [] components: responses: PostPortfolioTransactionCashDelete200Response: description: Successful Response content: application/json: schema: type: object properties: data: description: The response is always empty. meta: type: object description: The meta member contains the meta information of the response. properties: status: $ref: '#/components/schemas/StatusObject' x-property-sort: - status PostPortfolioTransactionCashCreate200Response: description: Successful Response content: application/json: schema: type: object properties: data: nullable: false type: object x-property-sort: - id properties: id: nullable: true type: string format: id64 x-positive: true description: Identifier of the transaction. meta: type: object description: The meta member contains the meta information of the response. properties: status: $ref: '#/components/schemas/StatusObject' x-property-sort: - status schemas: PostPortfolioTransactionCashDeleteRequest: type: object properties: data: type: object x-property-sort: - id - transaction description: The data member contains the request's primary data. properties: id: description: Identifier of the portfolio. type: string format: id64 x-positive: true transaction: description: Transaction of the portfolio. type: object x-property-sort: - id properties: id: type: string format: id64 x-positive: true description: Identifier of the transaction. required: - id required: - id - transaction meta: type: object description: The meta member contains the meta information of the request. properties: attributes: $ref: '#/components/schemas/AttributesMember' x-property-sort: - attributes AttributesMember: type: array description: Limit the attributes returned in the response to the specified set. items: type: string maxLength: 100 exclusiveMaximum: false maxItems: 50 uniqueItems: true StatusObject: type: object properties: code: type: number format: int32 description: The HTTP status code of the response, mirroring the code from the Status-Line of the HTTP response message (see [RFC2616] section 6.1). description: The status member contains the status code of the response. required: - code PostPortfolioTransactionCashCreateRequest: type: object properties: data: type: object x-property-sort: - id - time - amount description: The data member contains the request's primary data. properties: id: description: Identifier of the portfolio. type: string format: id64 x-positive: true time: description: Date and time of the trade. type: string format: datetime amount: description: The cash amount being deposited / withdrawn in portfolio��s base currency. type: number format: real required: - id - time - amount meta: type: object description: The meta member contains the meta information of the request. properties: attributes: $ref: '#/components/schemas/AttributesMember' x-property-sort: - attributes securitySchemes: basicAuth: type: http scheme: basic externalDocs: url: https://developer.factset.com/api-catalog/analytics-datastore-api description: API Documentation