{"openapi":"3.1.0","info":{"title":"Insolvenzen API","description":"Die Insolvenzen API bietet die M\u00f6glichkeit Insolvenzen zu betrachten.","version":"1.0.0"},"servers":[{"url":"https:\/\/api.wirtschaftscompass.at\/insolvency","description":"Generated server url"}],"security":[{"compass-api-token":[]}],"tags":[{"name":"V1","description":"Insolvenzen Version 1"}],"paths":{"\/v1\/{wico-id}\/insolvency-cases":{"get":{"tags":["V1"],"summary":"","description":"","operationId":"getInsolvencyCases","parameters":[{"name":"wico-id","in":"path","description":"Wico-id","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Failure"}}}},"500":{"description":"Internal Server Error","content":{"*\/*":{"schema":{"$ref":"#\/components\/schemas\/Failure"}}},"x-exception-class":["java.lang.Exception"]},"401":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Failure"}}}},"403":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Failure"}}}},"200":{"description":"OK","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/InsolvencyCasesType"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/InsolvencyCasesType"}}}}}}},"\/v1\/{wico-id}\/insolvency-cases\/pdf":{"get":{"tags":["V1"],"summary":"","description":"","operationId":"getInsolvencyCasesPdf","parameters":[{"name":"wico-id","in":"path","description":"Wico-id","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Failure"}}}},"500":{"description":"Internal Server Error","content":{"*\/*":{"schema":{"$ref":"#\/components\/schemas\/Failure"}}},"x-exception-class":["java.lang.Exception"]},"401":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Failure"}}}},"403":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Failure"}}}},"200":{"description":"OK","content":{"application\/pdf":{"schema":{"type":"string","format":"byte"}}}}}}},"\/health":{"get":{"tags":["X"],"summary":"","description":"","operationId":"getPing","responses":{"400":{"description":"Bad Request","content":{"*\/*":{"schema":{"$ref":"#\/components\/schemas\/Failure"}}},"x-exception-class":["at.compass.api.shared.exception.InvalidParameterException"]},"500":{"description":"Internal Server Error","content":{"*\/*":{"schema":{"$ref":"#\/components\/schemas\/Failure"}}},"x-exception-class":["java.lang.Exception"]},"401":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Failure"}}}},"403":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Failure"}}}},"200":{"description":"OK","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ResponseString"}}}}}}}},"components":{"schemas":{"Failure":{"properties":{"message":{"type":"string"},"stacktrace":{"type":"string"}},"required":["message","stacktrace"],"xml":{"name":"failure","namespace":"urn:compass:wico:api:1.0"}},"AddressType":{"type":"object","properties":{"addressType":{"type":"string","description":"","xml":{"name":"address-type"}},"countryCode":{"$ref":"#\/components\/schemas\/CountryCodeType","description":"","xml":{"name":"country-code"}},"state":{"type":"string","description":""},"district":{"type":"string","description":""},"postalCode":{"type":"string","description":"","xml":{"name":"postal-code"}},"place":{"type":"string","description":""},"streetAddress":{"type":"string","description":"","xml":{"name":"street-address"}},"houseNumber":{"type":"string","description":"","xml":{"name":"house-number"}},"apartmentNumber":{"type":"string","description":"","xml":{"name":"apartment-number"}},"careOf":{"type":"string","description":"","xml":{"name":"care-of"}},"geoLocation":{"$ref":"#\/components\/schemas\/GeoLocationType","description":"","xml":{"name":"geo-location"}},"poBox":{"type":"string","description":"","xml":{"name":"po-box"}}}},"Api":{"type":"object","properties":{"domain":{"type":"string","description":""},"version":{"type":"string","description":""}},"required":["domain","version"],"xml":{"name":"api","namespace":"urn:compass:wico:api:1.0"}},"ContactDataItemType":{"type":"object","properties":{"type":{"type":"string","description":"","enum":["PHONE","FAX","MOBILE","EMAIL","WEBSITE"]}},"required":["type"]},"ContactDataType":{"type":"object","properties":{"contactData":{"type":"array","description":"","items":{"$ref":"#\/components\/schemas\/ContactDataItemType"},"xml":{"name":"contact-data"}}},"required":["contactData"]},"CountryCodeType":{"type":"object","properties":{"value":{"type":"string","description":""},"type":{"type":"string","description":"","enum":["ISO_3166_1_ALPHA_3"],"xml":{"attribute":true}}}},"DebtorType":{"type":"object","properties":{"entityReference":{"$ref":"#\/components\/schemas\/ReferenceType","description":"","xml":{"name":"entity-reference"}}},"required":["entityReference"]},"GeoLocationType":{"type":"object","properties":{"lat":{"type":"number","format":"double","description":""},"lon":{"type":"number","format":"double","description":""}}},"InsolvencyCaseDetailType":{"type":"object","properties":{"courtNumber":{"type":"string","description":"","xml":{"name":"court-number"}},"court":{"type":"string","description":""},"fileNumber":{"type":"string","description":"","xml":{"name":"file-number"}},"type":{"type":"string","description":""},"status":{"type":"string","description":"","enum":["PENDING","CLOSED"]},"debtor":{"$ref":"#\/components\/schemas\/DebtorType","description":""},"associatedDebtors":{"type":"array","description":"","items":{"$ref":"#\/components\/schemas\/DebtorType"}},"involvedPersons":{"$ref":"#\/components\/schemas\/InvolvedPersonsType","description":"","xml":{"name":"involved-persons"}},"openingDate":{"type":"string","description":"","xml":{"name":"opening-date"}},"closingDate":{"type":"string","description":"","xml":{"name":"closing-date"}},"applicationDeadlineDate":{"type":"string","description":"","xml":{"name":"application-deadline-date"}},"latestPublicationDate":{"type":"string","description":"","xml":{"name":"latest-publication-date"}},"publications":{"$ref":"#\/components\/schemas\/PublicationsType","description":""}},"required":["court","courtNumber","debtor","fileNumber","latestPublicationDate","publications","status","type"]},"InsolvencyCaseInvolvedPersonFunctionType":{"type":"object","properties":{"validFrom":{"type":"string","description":"","xml":{"name":"valid-from","namespace":"urn:compass:wico:api:1.0","attribute":true}},"validTo":{"type":"string","description":"","xml":{"name":"valid-to","namespace":"urn:compass:wico:api:1.0","attribute":true}},"valid":{"type":"boolean","description":"","xml":{"namespace":"urn:compass:wico:api:1.0","attribute":true}},"type":{"type":"string","description":"","xml":{"attribute":true}},"stub":{"$ref":"#\/components\/schemas\/StubType","description":""},"entityReference":{"$ref":"#\/components\/schemas\/ReferenceType","description":"","xml":{"name":"entity-reference"}},"contactData":{"$ref":"#\/components\/schemas\/ContactDataType","description":"","xml":{"name":"contact-data"}}}},"InsolvencyCasesType":{"type":"object","properties":{"meta":{"$ref":"#\/components\/schemas\/Meta","description":""},"reference":{"$ref":"#\/components\/schemas\/ProfileReferenceType","description":""},"insolvencyCase":{"type":"array","description":"","items":{"$ref":"#\/components\/schemas\/InsolvencyCaseDetailType"},"xml":{"name":"insolvency-case"}}},"required":["insolvencyCase","meta","reference"]},"InvolvedPersonsType":{"type":"object","properties":{"involvedPerson":{"type":"array","description":"","items":{"$ref":"#\/components\/schemas\/InsolvencyCaseInvolvedPersonFunctionType"},"xml":{"name":"involved-person"}}},"required":["involvedPerson"]},"Meta":{"type":"object","properties":{"api":{"$ref":"#\/components\/schemas\/Api","description":""},"user":{"$ref":"#\/components\/schemas\/User","description":""},"cost":{"type":"string","description":""},"lastUpdate":{"type":"string","description":""},"generationDate":{"type":"string","description":""}},"required":["api","cost","generationDate","lastUpdate","user"],"xml":{"name":"meta","namespace":"urn:compass:wico:api:1.0"}},"NaturalPersonNameType":{"type":"object","properties":{"givenName":{"type":"string","description":"","xml":{"name":"given-name"}},"givenNameAlias":{"type":"string","description":"","xml":{"name":"given-name-alias"}},"surname":{"type":"string","description":""},"surnameAlias":{"type":"string","description":"","xml":{"name":"surname-alias"}},"fullName":{"type":"string","description":"","xml":{"name":"full-name"}},"title":{"type":"string","description":""},"postNominalTitle":{"type":"string","description":"","xml":{"name":"post-nominal-title"}}},"required":["givenName","surname"]},"ProfileFormerWicoIdsType":{"type":"object","properties":{"formerWicoId":{"type":"array","description":"","items":{"type":"string","xml":{"name":"former-wico-id"}},"xml":{"name":"former-wico-id"}}},"required":["formerWicoId"]},"ProfileReferenceType":{"type":"object","properties":{"wicoId":{"type":"string","description":"","xml":{"name":"wico-id"}},"formerWicoIds":{"$ref":"#\/components\/schemas\/ProfileFormerWicoIdsType","description":"","xml":{"name":"former-wico-ids"}}},"required":["wicoId"]},"PublicationType":{"type":"object","properties":{"date":{"type":"string","description":""},"courtOrderDate":{"type":"string","description":"","xml":{"name":"court-order-date"}},"sections":{"$ref":"#\/components\/schemas\/SectionsType","description":""}},"required":["courtOrderDate","date","sections"]},"PublicationsType":{"type":"object","properties":{"publication":{"type":"array","description":"","items":{"$ref":"#\/components\/schemas\/PublicationType"}}},"required":["publication"]},"ReferenceType":{"type":"object","properties":{"name":{"type":"string","description":""},"registerNumber":{"$ref":"#\/components\/schemas\/RegisterNumberType","description":"","xml":{"name":"register-number"}},"structuredName":{"$ref":"#\/components\/schemas\/NaturalPersonNameType","description":"","xml":{"name":"structured-name"}},"sex":{"type":"string","description":"","enum":["M","F","O"]},"dateOfBirth":{"type":"string","description":"","xml":{"name":"date-of-birth"}},"yearOfBirth":{"type":"integer","format":"int32","description":"","xml":{"name":"year-of-birth"}},"pepStatus":{"type":"boolean","description":"","xml":{"name":"pep-status"}},"pepConnectionStatus":{"type":"boolean","description":"","xml":{"name":"pep-connection-status"}},"deceasedStatus":{"type":"boolean","description":"","xml":{"name":"deceased-status"}},"address":{"$ref":"#\/components\/schemas\/AddressType","description":""},"wicoId":{"type":"string","description":"","xml":{"name":"wico-id"}},"formerWicoIds":{"type":"array","description":"","items":{"type":"string","xml":{"name":"former-wico-ids"}},"xml":{"name":"former-wico-ids"}},"objectType":{"type":"string","description":"","enum":["REGISTERED_COMPANY","ASSOCIATION","TRADE_PERSON","NATURAL_PERSON","NON_INCORPORATED_PARTNERSHIP","TERRITORIAL_ENTITY","OTHER_NON_NATURAL_PERSON"],"xml":{"name":"object-type"}}},"required":["objectType","wicoId"]},"RegisterNumberType":{"type":"object","properties":{"value":{"type":"string","description":""},"register":{"type":"string","description":"","enum":["AT_FB","AT_ZVR","AT_TRADE","AT_ERV_PARTICIPANTS","AT_NOTARIES_CHAMBER","AT_CLINICAL_PSYCHOLOGISTS_LIST","AT_HEALTH_PSYCHOLOGISTS_LIST","AT_MUSIC_THERAPISTS_LIST","AT_PSYCHOTHERAPISTS_LIST","AT_TRAINING_TRAINING_THERAPISTS_LIST","AT_HEALTH_PROFESSIONALS_REGISTER","DE_HR"],"xml":{"attribute":true}},"authority":{"type":"string","description":"","xml":{"attribute":true}}}},"SectionTextType":{"type":"object","properties":{"paragraph":{"type":"array","description":"","items":{"type":"string"}}},"required":["paragraph"]},"SectionType":{"type":"object","properties":{"title":{"type":"string","description":""},"text":{"$ref":"#\/components\/schemas\/SectionTextType","description":""}},"required":["text","title"]},"SectionsType":{"type":"object","properties":{"section":{"type":"array","description":"","items":{"$ref":"#\/components\/schemas\/SectionType"}}},"required":["section"]},"StubType":{"type":"object","properties":{"name":{"type":"string","description":""},"registerNumber":{"$ref":"#\/components\/schemas\/RegisterNumberType","description":"","xml":{"name":"register-number"}},"structuredName":{"$ref":"#\/components\/schemas\/NaturalPersonNameType","description":"","xml":{"name":"structured-name"}},"sex":{"type":"string","description":"","enum":["M","F","O"]},"dateOfBirth":{"type":"string","description":"","xml":{"name":"date-of-birth"}},"yearOfBirth":{"type":"integer","format":"int32","description":"","xml":{"name":"year-of-birth"}},"pepStatus":{"type":"boolean","description":"","xml":{"name":"pep-status"}},"pepConnectionStatus":{"type":"boolean","description":"","xml":{"name":"pep-connection-status"}},"deceasedStatus":{"type":"boolean","description":"","xml":{"name":"deceased-status"}},"address":{"$ref":"#\/components\/schemas\/AddressType","description":""}}},"User":{"type":"object","properties":{"organisation":{"type":"string","description":""},"username":{"type":"string","description":""},"clientInfo":{"type":"string","description":""}},"required":["clientInfo","organisation","username"],"xml":{"name":"user","namespace":"urn:compass:wico:api:1.0"}},"ResponseString":{"type":"object","properties":{"status":{"type":"string","description":"","enum":["OK","ERROR"]},"message":{"type":"string","description":""},"data":{"type":"string","description":""}}}},"securitySchemes":{"compass-api-token":{"type":"apiKey","name":"Authorization","in":"header","scheme":"bearer","bearerFormat":"JWT"}}}}