openapi: 3.0.3 info: title: Factset Analytics Datastore About Contact Relationships 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: Contact Relationships paths: /v1/contact-relationships: get: tags: - Contact Relationships summary: Factset Get all the relationships where the given symbol or contact identifier has been tagged in a relationship operationId: GetAllRelationshipsTaggingAContact parameters: - name: symbol in: query schema: type: string - name: contactId in: query schema: type: string format: uuid - name: relationshipId in: query schema: type: string format: uuid responses: '200': description: Success content: application/json: schema: type: array items: $ref: '#/components/schemas/ContactRelationshipTwoSidedDto' '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' post: tags: - Contact Relationships summary: Factset Create a contact relationship operationId: CreateContactRelationship requestBody: description: contactRelationship object to save content: application/json-patch+json: schema: $ref: '#/components/schemas/ContactRelationshipTwoSidedSaveDto' application/json: schema: $ref: '#/components/schemas/ContactRelationshipTwoSidedSaveDto' text/json: schema: $ref: '#/components/schemas/ContactRelationshipTwoSidedSaveDto' application/*+json: schema: $ref: '#/components/schemas/ContactRelationshipTwoSidedSaveDto' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/NewItemDto' '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' default: description: Error content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' /v1/contact-relationships/{contactRelationshipId}: get: tags: - Contact Relationships summary: Factset Get details on a specific contact relationship operationId: GetContactRelationship parameters: - name: contactRelationshipId in: path description: contactRelationshipId to get associated record required: true schema: type: string format: uuid responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ContactRelationshipTwoSidedDto' '404': description: Not Found content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' default: description: Error content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' patch: tags: - Contact Relationships summary: Factset Update a contact relationship operationId: PatchContactRelationship parameters: - name: contactRelationshipId in: path description: contactRelationshipId to update associated record required: true schema: type: string format: uuid requestBody: description: contactRelationshipPatch object to update content: application/json-patch+json: schema: type: array items: $ref: '#/components/schemas/Operation' application/json: schema: type: array items: $ref: '#/components/schemas/Operation' text/json: schema: type: array items: $ref: '#/components/schemas/Operation' application/*+json: schema: type: array items: $ref: '#/components/schemas/Operation' responses: '200': description: Success '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' '404': description: Not Found content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' default: description: Error content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' delete: tags: - Contact Relationships summary: Factset Delete a contact relationship operationId: DeleteContactRelationship parameters: - name: contactRelationshipId in: path description: contactRelationshipId to delete associated record required: true schema: type: string format: uuid responses: '200': description: Success '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' '404': description: Not Found content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' default: description: Error content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' components: schemas: ContactRelationshipTwoSidedSaveDto: type: object properties: relationshipId: type: string format: uuid leftContactId: type: string format: uuid rightContactId: type: string format: uuid nullable: true start: type: string format: date-time nullable: true end: type: string format: date-time nullable: true comment: type: string nullable: true isCurrent: type: boolean symbolId: type: string format: uuid nullable: true symbol: type: string nullable: true title: type: string nullable: true additionalProperties: false SymbolType: enum: - 0 - 1 - 2 - 3 - 4 - 5 - 6 type: integer format: int32 NewItemDto: type: object properties: id: type: string format: uuid additionalProperties: false RelationshipSymbolSummaryDto: type: object properties: tdentifier: type: string nullable: true name: type: string nullable: true type: $ref: '#/components/schemas/SymbolType' additionalProperties: false ContactIdNameDto: type: object properties: id: type: string format: uuid nullable: true name: type: string nullable: true additionalProperties: false ContactRelationshipTwoSidedDto: type: object properties: id: type: string format: uuid relationshipCategory: $ref: '#/components/schemas/RelationshipCategoryIdNameDto' relationship: $ref: '#/components/schemas/RelationshipIdNameDto' leftContact: $ref: '#/components/schemas/ContactIdNameDto' rightContact: $ref: '#/components/schemas/ContactIdNameDto' symbol: $ref: '#/components/schemas/RelationshipSymbolSummaryDto' isCurrent: type: boolean start: type: string format: date-time nullable: true end: type: string format: date-time nullable: true title: type: string nullable: true comment: type: string nullable: true additionalProperties: false RelationshipCategoryIdNameDto: type: object properties: id: type: string format: uuid name: type: string nullable: true additionalProperties: false OperationType: enum: - 0 - 1 - 2 - 3 - 4 - 5 - 6 type: integer format: int32 RelationshipIdNameDto: type: object properties: id: type: string format: uuid name: type: string nullable: true additionalProperties: false Operation: type: object properties: operationType: $ref: '#/components/schemas/OperationType' path: type: string nullable: true op: type: string nullable: true from: type: string nullable: true value: nullable: true additionalProperties: false ProblemDetails: type: object properties: type: type: string nullable: true title: type: string nullable: true status: type: integer format: int32 nullable: true detail: type: string nullable: true instance: type: string nullable: true additionalProperties: {} securitySchemes: basicAuth: type: http scheme: basic externalDocs: url: https://developer.factset.com/api-catalog/analytics-datastore-api description: API Documentation