Create an S3File
Developing
Testing Env
https://demo.modaltrans.com
Testing Env
https://demo.modaltrans.com
POST
/api/v1/s3files
Request
Body Params multipart/form-data
parent_type
enum<string>
required
Allowed values:
Depot::MotionDepot::CwhMotionDepot::FreeMotionDepot::WarehouseDepot::OrderFleet::DriverFleet::PeriodocFleet::PartFleet::GateActionFleet::VehicleFleet::ServicelogFleet::ExpenseFormNetwork::LeadNetwork::CompanyNetwork::NoticeNetwork::ContractNetwork::TenderCustoms::GvmsManifestoCustoms::EawbCustoms::ManifestoCustoms::TraderdecCustoms::UetdNimbos::CommentNimbos::GroupNimbos::PatronLogistics::IncidentLogistics::PlaceLogistics::LoadingLogistics::PositionFinancor::FindocFinancor::GldocFinancor::PayTermFinancor::BankLetterFinancor::InvoiceHr::PayrollPeriodHr::PersonAssetim::WareHelpdesk::Todo
Example:
Logistics::Loading
parent_id
string
required
Example:
9093ab21-1926-409e-a82f-3a6b1d7a4921
s3file[file]
file
required
s3file[name]
string
optional
Example:
ExampleName
s3file[file_class]
enum<string>
optional
Allowed values:
cmrpodinvoicecommercial_invoicehblmblwaybilltransitcimtir_carnetquotecontractordercustoms_attachmentexport_declarationimport_declarationatrpacking_listinstructionreceiptother
Example:
other
s3file[file_type]
enum<string>
optional
Allowed values:
image/jpegimage/pngapplication/pdfapplication/xslt+xmlapplication/zipapplication/vnd.openxmlformats-officedocument.wordprocessingml.documentapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Example:
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
s3file[auth_code]
enum<integer>
optional
Allowed values:
01
Default:
1
Example:
0
Request samples
Responses
Modified at 2024-09-10 12:14:37