Fetch company legal information

GET {{baseUrl}}/:companyId

number of years for documents history and person relation history dates are supported

Request Params

KeyDatatypeRequiredDescription
documentHistoryYearsnumbernumber of years for matching history documents to include
relationHistoryDateFromstringperson relation documents start date
relationHistoryDateTostringperson relation documents end date

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"records":[{"changeDate":"id mollit fugiat ea","companyId":"in commodo nostrud","companyRelatedDocuments":[{"charges":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"court":"proident voluptate","courtInstanceCode":"amet in laborum","courtNoticeDate":"non elit","documentId":"minim aute ven","documentType":"exercitation","recordDate":"incididunt sed et commodo Ut"},{"charges":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"court":"non eu adipisicing aliqua in","courtInstanceCode":"ad Lorem","courtNoticeDate":"cupi","documentId":"ullamco tempor adipisicing","documentType":"n","recordDate":"in ad anim reprehenderit officia"}],"personRelatedDocuments":[{"charges":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"court":"labore","courtInstanceCode":"Ut magna cupidatat","courtNoticeDate":"exercitation","documentId":"in nisi laborum occaecat","documentType":"qui","recordDate":"culpa eu consequat","rolesInCompany":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},{"charges":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"court":"voluptate dolore deserunt","courtInstanceCode":"voluptate occaecat consectetur magna","courtNoticeDate":"aliquip","documentId":"in laboris","documentType":"dolore","recordDate":"qui laborum occaecat","rolesInCompany":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}]},{"changeDate":"esse cillum ullamco sit","companyId":"ullamco irure","companyRelatedDocuments":[{"charges":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"court":"labore culpa","courtInstanceCode":"anim reprehenderit culpa irure","courtNoticeDate":"consequat deserunt in","documentId":"occaecat dolore esse labor","documentType":"labore est","recordDate":"sunt est"},{"charges":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"court":"Duis velit Lorem","courtInstanceCode":"fugiat do qui","courtNoticeDate":"anim ad enim","documentId":"in aliquip cillum ","documentType":"dolore dolore fugiat sit eu","recordDate":"adipisicing"}],"personRelatedDocuments":[{"charges":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"court":"officia cillum consequat","courtInstanceCode":"incididunt fugiat","courtNoticeDate":"Lorem sed","documentId":"commodo sed et consequat","documentType":"laboris velit quis nulla","recordDate":"amet in","rolesInCompany":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},{"charges":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"court":"amet ut in id in","courtInstanceCode":"ut dolor enim","courtNoticeDate":"et occaecat","documentId":"sit ad","documentType":"consectetur veniam est Excepteur ullamco","recordDate":"Excepteur incididunt est","rolesInCompany":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}]}],"status":{"code":48695755,"text":"consectetur enim sit"}}