{"openapi":"3.0.4","info":{"title":"Create a single integration instance.","description":"Creates a new instance of an integration, returning its identifier.\nThe user must be authenticated, entitled to call this method, and the user's domain must be licensed for the integration.","version":"0.0.1"},"servers":[{"url":"https://fbn-prd.lusid.com/horizon"}],"paths":{"/api/integrations/instances":{"post":{"tags":["Integrations"],"summary":"Create a single integration instance.","description":"Creates a new instance of an integration, returning its identifier.\nThe user must be authenticated, entitled to call this method, and the user's domain must be licensed for the integration.","operationId":"CreateInstance","requestBody":{"description":"The new integration instance.","content":{"application/json":{"schema":{"$ref":"/docs/api/horizon/schemas.json#/components/schemas/CreateInstanceRequest"},"example":{"instanceOptionalProps":{"CreditRating":{"displayNameOverride":"Vendor Credit Rating","entityType":"Instrument","entitySubType":["Equity"],"vendorPackage":["Transaction"]}},"integrationType":"copp-clark","name":"Payment Systems","description":"Payment systems calendar for GBP only","enabled":false,"triggers":[{"type":"time","cronExpression":"0 0 2 ? * *","timeZone":"UTC"}],"details":{"paymentSystemsCalendar":{"currencyFilter":["EUR"],"importUnqualified":false}},"postProcessTasks":[]}}},"required":true},"responses":{"201":{"description":"Identifier of the created instance.","content":{"application/json":{"schema":{"$ref":"/docs/api/horizon/schemas.json#/components/schemas/InstanceIdentifier"},"example":{"id":"b64135e7-98a0-41af-a845-d86167d54cc7"}}}},"400":{"description":"The details of the input related failure","content":{"application/json":{"schema":{"$ref":"/docs/api/horizon/schemas.json#/components/schemas/LusidValidationProblemDetails"}}}},"404":{"description":"The integration type does not exist.","content":{}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"/docs/api/horizon/schemas.json#/components/schemas/LusidProblemDetails"}}}}},"security":[{"BearerAuth":[]}],"x-fbn-apistatus":"Experimental"}}},"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer"}}}}