openapi: 3.0.3 info: title: Factset Analytics Datastore About Modify 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: Modify paths: /portfolio/modify: post: tags: - Modify operationId: post/portfolio/modify 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: Modify a portfolio. summary: Modify a portfolio. requestBody: content: application/json: schema: $ref: '#/components/schemas/PostPortfolioModifyRequest' responses: '200': $ref: '#/components/responses/PostPortfolioModify200Response' parameters: [] /portfolio/payout/modify: post: tags: - Modify operationId: post/portfolio/payout/modify 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: "Modify a payout in a portfolio.\n\nCertain error conditions yield errors as follows: \n\n|Error Condition|HTTP Error|\n|-------|--------|\n|At least one of the parameters `notation`, `type`, `amount`, `transaction` or `time` must be set.|400 Bad Request|\n|Invalid payout identifier.|400 Bad Request|" summary: Modify a payout in a portfolio. requestBody: content: application/json: schema: $ref: '#/components/schemas/PostPortfolioPayoutModifyRequest' responses: '200': $ref: '#/components/responses/PostPortfolioPayoutModify200Response' parameters: [] /portfolio/transaction/modify: post: tags: - Modify operationId: post/portfolio/transaction/modify 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: "Modify a transaction in a portfolio.\n\nCertain error conditions yield errors as follows: \n\n|Error Condition|HTTP Error|\n|-------|--------|\n|At least one of the parameters `numberShares`, `price`, `charges`, `exchangeRate` or `time` must be set.|400 Bad Request|" summary: Modify a transaction in a portfolio. requestBody: content: application/json: schema: $ref: '#/components/schemas/PostPortfolioTransactionModifyRequest' responses: '200': $ref: '#/components/responses/PostPortfolioTransactionModify200Response' parameters: [] /watchlist/modify: post: tags: - Modify operationId: post/watchlist/modify 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: Modify a watchlist. summary: Modify a watchlist. requestBody: content: application/json: schema: $ref: '#/components/schemas/PostWatchlistModifyRequest' responses: '200': $ref: '#/components/responses/PostWatchlistModify200Response' parameters: [] /watchlist/position/modify: post: tags: - Modify operationId: post/watchlist/position/modify 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: "Modify a position in a watchlist.\n\nCertain error conditions yield errors as follows: \n\n|Error Condition|HTTP Error|\n|-------|--------|\n|At least one of the parameters `notation` or `comment` must be set.|400 Bad Request|\n|The notation already exists in the watchlist.|400 Bad Request|" summary: Modify a position in a watchlist. requestBody: content: application/json: schema: $ref: '#/components/schemas/PostWatchlistPositionModifyRequest' responses: '200': $ref: '#/components/responses/PostWatchlistPositionModify200Response' parameters: [] components: responses: PostPortfolioModify200Response: description: Successful Response content: application/json: schema: type: object properties: data: description: This member is always emtpy. meta: type: object description: The meta member contains the meta information of the response. properties: status: $ref: '#/components/schemas/StatusObject' x-property-sort: - status PostWatchlistModify200Response: description: Successful Response content: application/json: schema: type: object properties: data: description: This member is always emtpy. meta: type: object description: The meta member contains the meta information of the response. properties: status: $ref: '#/components/schemas/StatusObject' x-property-sort: - status PostWatchlistPositionModify200Response: description: Successful Response content: application/json: schema: type: object properties: data: description: This member is always emtpy. meta: type: object description: The meta member contains the meta information of the response. properties: status: $ref: '#/components/schemas/StatusObject' x-property-sort: - status PostPortfolioTransactionModify200Response: description: Successful Response content: application/json: schema: type: object properties: data: {} meta: type: object description: The meta member contains the meta information of the response. properties: status: $ref: '#/components/schemas/StatusObject' x-property-sort: - status PostPortfolioPayoutModify200Response: description: Successful Response content: application/json: schema: type: object properties: data: {} 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: 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 PostPortfolioModifyRequest: type: object properties: data: type: object x-property-sort: - id - name description: The data member contains the request's primary data. properties: id: description: Identifier of the portfolio. type: string format: id64 x-positive: true name: description: Name of the portfolio. type: string pattern: ^[\u0020-\u002e\u0030-\u003a\u003d\u003f-\u005d\u005f\u0061-\u007e\u00c0-\u00ff\u20ac]*$ x-trim: false minLength: 1 exclusiveMinimum: false maxLength: 100 exclusiveMaximum: false required: - id - name meta: type: object description: The meta member contains the meta information of the request. properties: attributes: $ref: '#/components/schemas/AttributesMember' x-property-sort: - attributes PostWatchlistPositionModifyRequest: type: object properties: data: type: object x-property-sort: - id - position - notation - comment description: The data member contains the request's primary data. properties: id: description: Identifier of the watchlist. type: string format: id64 x-positive: true position: description: Position of the watchlist. type: object x-property-sort: - id properties: id: description: Identifier of the position. type: number format: id32 x-positive: true required: - id notation: description: Notation of the position. type: object x-property-sort: - id properties: id: description: Identifier of the notation. type: string format: id64 x-positive: true required: - id comment: description: Personal note for the watchlist position. type: string pattern: ^[\u0020-\u005d\u005f\u0061-\u007e\u00c0-\u00ff\u20ac]*$ x-allowNullValue: true x-trim: false maxLength: 200 exclusiveMaximum: false required: - id - position meta: type: object description: The meta member contains the meta information of the request. properties: attributes: $ref: '#/components/schemas/AttributesMember' x-property-sort: - attributes PostPortfolioTransactionModifyRequest: 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 - notation - time - numberShares - price - charges - exchangeRate properties: id: type: string format: id64 x-positive: true description: Identifier of the transaction. notation: description: Notation of the transaction. type: object x-property-sort: - id properties: id: description: Identifier of the notation type: string format: id64 x-positive: true required: - id time: description: Date and time of the trade. type: string format: datetime numberShares: description: Number of shares bought or sold. type: number format: real price: description: Purchase price. type: number format: real charges: description: Charges accrued in portfolio's base currency. type: number format: real exchangeRate: description: The exchange rate between the notation's currency and the portfolio currency. type: number format: real required: - id required: - id meta: type: object description: The meta member contains the meta information of the request. properties: attributes: $ref: '#/components/schemas/AttributesMember' x-property-sort: - attributes PostWatchlistModifyRequest: type: object properties: data: type: object x-property-sort: - id - name description: The data member contains the request's primary data. properties: id: description: Identifier of the watchlist. type: string format: id64 x-positive: true name: description: Name of the watchlist. type: string pattern: ^[\u0020-\u002e\u0030-\u003a\u003d\u003f-\u005d\u005f\u0061-\u007e\u00c0-\u00ff\u20ac]*$ x-trim: false minLength: 1 exclusiveMinimum: false maxLength: 100 exclusiveMaximum: false required: - id - name meta: type: object description: The meta member contains the meta information of the request. properties: attributes: $ref: '#/components/schemas/AttributesMember' x-property-sort: - attributes 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 PostPortfolioPayoutModifyRequest: type: object properties: data: type: object x-property-sort: - id - payout description: The data member contains the request's primary data. properties: id: description: Identifier of the portfolio. type: string format: id64 x-positive: true payout: description: Payout of the portfolio. type: object x-property-sort: - id - type - notation - time - amount - transaction properties: id: type: string format: id64 x-positive: true description: Identifier of the payout. type: description: 'Payout type. ' type: string x-enum-description: - Dividend - Payout - Coupon - Subscription right - Other enum: - dividend - payout - coupon - subscriptionRight - other notation: description: Notation of the transaction. type: object x-property-sort: - id properties: id: description: Identifier of the notation type: string format: id64 x-positive: true required: - id time: description: Date and time of the payout. type: string format: datetime amount: description: Amount of the payout in the portfolio's base currency. type: number format: real transaction: description: Associates the payout with a sub-position opened by a specific buy transaction and removes the existing association if available. type: object x-property-sort: - id properties: id: description: Identifier of the buy transaction. type: string format: id64 x-positive: true required: - id required: - id 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