Skip to main content
POST
Validate a counterparty import workbook.

Authorizations

Authorization
string
header
required

OAuth2 access-token requested from AWS Cognito and provided as a Auth Bearer header

Body

JSON request with FileName and required FileData as a data URL in the form data:<media-type>[;base64],<payload>. Base64 and URL-encoded payloads are accepted, and the workbook media type is application/vnd.openxmlformats-officedocument.spreadsheetml.sheet. No file-size limit is declared.

Request to validate an uploaded counterparty import file.

$type
enum<string>
required
Available options:
Derivitec.Core.Mediators.Upload.Counterparties.CounterpartyUploadValidationRequest, Derivitec.Core.Mediators
file_name
string | null

Name supplied for the uploaded counterparty import file.

file_data
string | null

Data URL containing the uploaded counterparty import file contents.

Response

Returns parsed workbook rows, validation messages, and the file-validity result; malformed file data can be returned in an unsuccessful envelope.

Response containing parsed counterparty import data and validation findings.

$type
enum<string>
required
Available options:
Derivitec.Core.Mediators.Upload.Counterparties.CounterpartyUploadValidationResponse, Derivitec.Core.Mediators
parsed_file_data
object

Parsed counterparty-file result with compact errors and warnings.

is_success
boolean

Whether the operation completed successfully. The default is true; error outcomes set it to false.

Example:

true

error_messages
string[] | null

Messages explaining operation-level failures. The collection is empty by default.