API Dashboard

Taffy 3.6.0

Resources:

v1download DELETE PATCH PUT POST GET /v1/usage/{logId}

URI Tokens: (required)

Request Body:

Loading...

Response:

Send a request to /v1/usage/{logId} endpoint to download your saved report.

get
Use the GET method to request the content of saved report.
required numeric logId

Log record ID

optional boolean convertHtmlToPdf (default: false)

If the document is in HTML format, convert it into PDF

v1usage DELETE PATCH PUT POST GET /v1/usage

Request Body:

Loading...

Response:

Send a request to /v1/usage endpoint to get your usage report.

get
Use the GET method to request your usage.
optional string from

Default - start of this month

optional string until

Default - now

optional numeric page (default: 1)

Page number

optional numeric items (default: 20)

Items per page

v1token DELETE PATCH PUT POST GET /v1/token

Request Body:

Loading...

Response:

Send a request to /v1/token to receive access token.

get
Use the GET method to exchange your API key and secret to access token.
required string apiKey

API key provided by CoCredo

required string apiSecret

API secret provided by CoCredo

v1test DELETE PATCH PUT POST GET /v1/test

Request Body:

Loading...

Response:

get

v1notices DELETE PATCH PUT POST GET /v1/monitor/notices

Request Body:

Loading...

Response:

Send a request to /v1/monitor/notices endpoint to get notices.

get
Use the GET method to request notices.
optional string from

Default - start of yesterday

optional string until

Default - end of yesterday

optional numeric cocredoId (default: 0)

Company ID

optional numeric portfolioId (default: 0)

Portfolio ID

optional numeric page (default: 1)

Page number

optional numeric items (default: 20)

Items per page

v1monitor DELETE PATCH PUT POST GET /v1/monitor/{cocredoId}

URI Tokens: (required)

Request Body:

Loading...

Response:

Send a request to /v1/monitor/{cocredoId} endpoint to manage company monitoring status

delete
Use the DELETE method to remove company from monitoring.
required numeric cocredoId

CoCredo ID of the company

get
Use the GET method to request monitor status.
required numeric cocredoId

CoCredo ID of the company

put
Use the PUT method to add company to monitoring.
required numeric cocredoId

CoCredo ID of the company

v1investigations DELETE PATCH PUT POST GET /v1/investigations

Request Body:

Loading...

Response:

Send a request to /v1/investigations endpoint to raise an investigation or to get investigation status

get
Use the GET method to request investigation status.
optional numeric investigationId

Investigation ID

optional numeric page (default: 1)

Page number

optional numeric items (default: 20)

Items per page

put
Use the PUT method to request an investigation.
required numeric type

1 - unable to find company, 2 - failed to load data packet

optional numeric cocredoId

CoCredo ID of the company

optional string companyName (default: "")

Company name

optional string countryCode (default: "")

Country code

optional string regNumber (default: "")

Company registration number

optional string vatNumber (default: "")

VAT registration number

optional string address (default: "")

Registered address

optional string town (default: "")

City or town

optional string postcode (default: "")

Post/zip code

optional string contactName (default: "")

Contact name

optional string phone (default: "")

Telephone number

optional string website (default: "")

Website URL

optional string email (default: "")

Email address

optional string otherInformation (default: "")

Other information

v1hello DELETE PATCH PUT POST GET /v1/hello

Request Body:

Loading...

Response:

get

v1director DELETE PATCH PUT POST GET /v1/directors/{directorId}

URI Tokens: (required)

Request Body:

Loading...

Response:

Send a request to /v1/directors/{directorId} endpoint to get director details.

get
Use the GET method to request a director report.
required string directorId (default: "")

Director ID

v1directors DELETE PATCH PUT POST GET /v1/directors

Request Body:

Loading...

Response:

Send a request to /v1/directors endpoint to find a director.

get
Use the GET method to make a search request.
required string directorName

Director name

optional string countryCode (default: GB)

2-character country code

optional string officerType (default: CUR)

CUR - current or resigned, DIS - disqualified

optional numeric page (default: 1)

Page number

optional numeric items (default: 20)

Items per page

v1reports DELETE PATCH PUT POST GET /v1/company/{cocredoId}/reports

URI Tokens: (required)

Request Body:

Loading...

Response:

Send a request to /v1/company/{cocredoId}/reports endpoint.

get
Get the list of company reports available.
required numeric cocredoId

Company ID

v1report DELETE PATCH PUT POST GET /v1/company/{cocredoId}/report

URI Tokens: (required)

Request Body:

Loading...

Response:

Send a request to /v1/company/{cocredoId}/report endpoint to run a report.

get
Get company credit report.
required numeric cocredoId

CoCredo ID of the company

required numeric productId

Product ID of the selected report

optional numeric investigationId

Investigation ID if the report is a result of an investigation

optional boolean monitorAdd (default: false)

True - monitor changes of the company

optional boolean dnaAdd (default: false)

True - add to the default portfolio

optional string contentType (default: JSON)

JSON, HTML or PDF

v1documents DELETE PATCH PUT POST GET /v1/company/{cocredoId}/documents

URI Tokens: (required)

Request Body:

Loading...

Response:

Send a request to /v1/company/{cocredoId}/documents endpoint.

get
Get the list of company documents available
required numeric cocredoId

Company ID

optional numeric page (default: 1)

Page number

optional numeric items (default: 20)

Items per page

v1document DELETE PATCH PUT POST GET /v1/company/{cocredoId}/document

URI Tokens: (required)

Request Body:

Loading...

Response:

Send a request to /v1/company/{cocredoId}/document endpoint to download a document.

get
Get company document
required numeric cocredoId

CoCredo ID of the company

required string documentId

ID of the selected document

v1companies DELETE PATCH PUT POST GET /v1/companies

Request Body:

Loading...

Response:

Send a request to /v1/companies endpoint to find a company.

get
Use the GET method to make a search request.
optional string companyName (default: "")

Company name

required string countryCode (default: "")

2-character country code

optional string regNumber (default: "")

Registration number

optional string vatNumber (default: "")

VAT number

optional string postcode (default: "")

Postcode

optional string town (default: "")

Town

optional string phone (default: "")

Telephone number

optional string officeType (default: "")

US office type

optional string cocredoId (default: "")

Company ID

optional string reference (default: "")

Customer reference


Resources are listed in matching order. From top to bottom, the first URI to match the request is used.