Appearance
Upload a document asset ​
POST
/v1/documentassets/upload
Authorizations​
api_key
Type
API Key (header: X-Api-Key)
Request Body​
multipart/form-data
Format
"binary"Valid values
"bookingorder""distributor""category""supplier""team""venue""purchaseorder""listingrequest"DocumentType is an enumeration that represents different types of documents
in the system. It inherits from AbstractStatus, which provides common functionality
for status-based enums.
Attributes:
INVOICE (str): Represents an invoice document type.
STATEMENT (str): Represents a statement document type.
TICKET (str): Represents a ticket document type
CREITSTATEMENT (str): Represents a credit statement document type.
Valid values
"marketplace_revenue_invoice""invoice""statement""ticket""creditstatement""creditinvoice""document""proforma""external_invoice""external_proforma""accountstatement""accountstatement_specification""pricesheet""voys_call_history"Responses​
Created
application/json
JSON"version": 2,"created": null,"updated": null,"deleted": null,"created_by": null,"updated_by": null,"deleted_by": null,"metadata": {"additionalProperties": "string"},"documentasset_id": null,"related_type": "string","document_type": "string","related_id": "string","filename": "string","accessible_by_owner": true,"document_mimetype": null,"order": 100,"remote_filename": null,"bucket": null,"expiry_date": null,"owner_id": null,"owner_type": null,"owner_name": null,"meta_data": {"additionalProperties": "string"},"external_document_id": null
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}