POST /api/attachment
Query parameters
-
type string
Values are
TRAILER_LEFT_PHOTO
,TRAILER_RIGHT_PHOTO
,TRAILER_INSIDE_PHOTO
,TRAILER_SEAL_PHOTO
,TRAILER_ISSUE_PHOTO
,REAR_TRAILER_PHOTO
,LICENSE_PLATE_PHOTO
,WASH_OUT_SLIP_PHOTO
,BILL_OF_LADING_PHOTO
,TRUCK_PHOTO
,TRUCK_ISSUE_PHOTO
,TRUCK_CARRIER_INFO_PHOTO
,TIRE_PHOTO
,GUEST_VEHICLE_PHOTO
,DRIVER_PHOTO
,DRIVER_LICENSE_PHOTO
,VISITOR_PERSON_PHOTO
, orEXTRA_FILE
.
POST
/api/attachment
curl \
-X POST https://api-dev.gatego.io/api/attachment \
-H "Content-Type: multipart/form-data" \
-F 'file={}'
Response examples (200)
{
"id": 42,
"name": "string",
"type": "TRAILER_LEFT_PHOTO",
"inference": {
"type": "TRAILER_NUMBER_ROBOFLOW",
"status": "OK",
"result": "string",
"confidence": 42.0
}
}