[{"data":1,"prerenderedAt":543},["ShallowReactive",2],{"navigation":3,"/envisioncloud/apiguide/shipmentmedia/api-v2":217,"/envisioncloud/apiguide/shipmentmedia/api-v2-surround":538},[4,7,37,123,194,214],{"title":5,"_path":6},"Introduction","/introduction",{"title":8,"_path":9,"children":10},"enVision 100S","/envision100s",[11,13,19],{"title":12,"_path":9},"Getting Started",{"title":14,"_path":15,"children":16},"Integration Guide","/envision100s/integration",[17],{"title":18,"_path":15},"Integration Overview",{"title":20,"_path":21,"children":22},"API Guide","/envision100s/apiguide",[23,25,28,31,34],{"title":24,"_path":21},"Overview",{"title":26,"_path":27},"Ping","/envision100s/apiguide/ping",{"title":29,"_path":30},"Measure","/envision100s/apiguide/measure",{"title":32,"_path":33},"Images","/envision100s/apiguide/images",{"title":35,"_path":36},"Error Codes","/envision100s/apiguide/errorcodes",{"title":38,"_path":39,"children":40},"enVision K150S","/envisionk150",[41,42,57,71,80,94,107],{"title":12,"_path":39},{"title":43,"_path":44,"children":45},"Setup and Configuration","/envisionk150/setup",[46,48,51,54],{"title":47,"_path":44},"Setup Guide",{"title":49,"_path":50},"First time startup","/envisionk150/setup/registration",{"title":52,"_path":53},"Calibration","/envisionk150/setup/calibration",{"title":55,"_path":56},"Troubleshooting","/envisionk150/setup/20-troubleshooting",{"title":58,"_path":59,"children":60},"Peripherals","/envisionk150/peripherals",[61,62,65,68],{"title":24,"_path":59},{"title":63,"_path":64},"Mettler Toledo BC Series Scales","/envisionk150/peripherals/mettlertoledo",{"title":66,"_path":67},"Avery ZP212 Series","/envisionk150/peripherals/avery",{"title":69,"_path":70},"USB Scales","/envisionk150/peripherals/usbhidscales",{"title":72,"_path":73,"children":74},"Configuration Portal","/envisionk150/configurationportal",[75,77],{"title":76,"_path":73},"Accessing the Portal",{"title":78,"_path":79},"Configuring your Device","/envisionk150/configurationportal/portal",{"title":81,"_path":82,"children":83},"Operating Modes","/envisionk150/operatingmodes",[84,85,88,91],{"title":24,"_path":82},{"title":86,"_path":87},"Measurement","/envisionk150/operatingmodes/measurement",{"title":89,"_path":90},"Video with Measurement","/envisionk150/operatingmodes/videomeasurement",{"title":92,"_path":93},"Video Only","/envisionk150/operatingmodes/videoonly",{"title":14,"_path":95,"children":96},"/envisionk150/integration",[97,98,101,104],{"title":5,"_path":95},{"title":99,"_path":100},"Onboard API Overview","/envisionk150/integration/onboardapis",{"title":102,"_path":103},"Cloud Trigger","/envisionk150/integration/cloudtrigger",{"title":105,"_path":106},"Identifying a Device","/envisionk150/integration/identification",{"title":108,"_path":109,"children":110},"Onboard API Guide","/envisionk150/apiguide",[111,112,114,116,118,121],{"title":24,"_path":109},{"title":26,"_path":113},"/envisionk150/apiguide/ping",{"title":29,"_path":115},"/envisionk150/apiguide/measure",{"title":32,"_path":117},"/envisionk150/apiguide/images",{"title":119,"_path":120},"Video","/envisionk150/apiguide/video",{"title":35,"_path":122},"/envisionk150/apiguide/errorcodes",{"title":124,"_path":125,"children":126},"enVision Cloud","/envisioncloud",[127,129],{"title":128,"_path":125},"enVision Cloud Guide",{"title":20,"_path":130,"children":131},"/envisioncloud/apiguide",[132,134,143,146,149,152,155,158,161,169,172,180,186,192],{"title":5,"_path":133},"/envisioncloud/apiguide/index",{"title":102,"_path":135,"children":136},"/envisioncloud/apiguide/cloudtrigger",[137,140],{"title":138,"_path":139},"API v1","/envisioncloud/apiguide/cloudtrigger/api-v1",{"title":141,"_path":142},"API v2","/envisioncloud/apiguide/cloudtrigger/api-v2",{"title":144,"_path":145},"Testing Cloud Trigger","/envisioncloud/apiguide/testingremotetrigger",{"title":147,"_path":148},"Video Triggers","/envisioncloud/apiguide/video",{"title":150,"_path":151},"Webhooks","/envisioncloud/apiguide/webhooks",{"title":153,"_path":154},"Terminals","/envisioncloud/apiguide/terminals",{"title":156,"_path":157},"Devices","/envisioncloud/apiguide/devices",{"title":159,"_path":160},"Company","/envisioncloud/apiguide/company",{"title":162,"_path":163,"children":164},"Transactions","/envisioncloud/apiguide/transactions",[165,167],{"title":138,"_path":166},"/envisioncloud/apiguide/transactions/api-v1",{"title":141,"_path":168},"/envisioncloud/apiguide/transactions/api-v2",{"title":170,"_path":171},"Transaction Images","/envisioncloud/apiguide/transactionimages",{"title":173,"_path":174,"children":175},"Transaction Media","/envisioncloud/apiguide/transactionmedia",[176,178],{"title":138,"_path":177},"/envisioncloud/apiguide/transactionmedia/api-v1",{"title":141,"_path":179},"/envisioncloud/apiguide/transactionmedia/api-v2",{"title":181,"_path":182,"children":183},"Shipments","/envisioncloud/apiguide/shipments",[184],{"title":141,"_path":185},"/envisioncloud/apiguide/shipments/api-v2",{"title":187,"_path":188,"children":189},"Shipment Media","/envisioncloud/apiguide/shipmentmedia",[190],{"title":141,"_path":191},"/envisioncloud/apiguide/shipmentmedia/api-v2",{"title":35,"_path":193},"/envisioncloud/apiguide/errorcodes",{"title":195,"_path":196,"children":197},"enVision Flow","/envisionflow",[198,199,202,205,208,211],{"title":5,"_path":196},{"title":200,"_path":201},"Installation and Setup","/envisionflow/installationandsetup",{"title":203,"_path":204},"Using enVision Flow","/envisionflow/using",{"title":206,"_path":207},"Macros","/envisionflow/macros",{"title":209,"_path":210},"Local Web Server","/envisionflow/localwebserver",{"title":212,"_path":213},"Other Settings","/envisionflow/settings",{"title":215,"_path":216},"Glossary","/glossary",{"_path":191,"_dir":218,"_draft":219,"_partial":219,"_locale":220,"title":141,"description":221,"body":222,"_type":532,"_id":533,"_source":534,"_file":535,"_stem":536,"_extension":537},"shipmentmedia",false,"","API endpoint for retrieving Shipment Media from enVision Cloud",{"type":223,"children":224,"toc":526},"root",[225,233,239,249,255,262,267,277,284,297,304,338,344,412,520],{"type":226,"tag":227,"props":228,"children":230},"element","h2",{"id":229},"overview",[231],{"type":232,"value":24},"text",{"type":226,"tag":234,"props":235,"children":236},"p",{},[237],{"type":232,"value":238},"enVision Cloud provides capability to download images and videos attached to a shipment.",{"type":226,"tag":240,"props":241,"children":243},"callout",{"icon":242},"i-heroicons-shield-exclamation",[244],{"type":226,"tag":234,"props":245,"children":246},{},[247],{"type":232,"value":248},"You must include a valid Bearer token in the Authorization header of any request to enVision Cloud APIs. Tokens can be managed in the enVision Cloud Portal",{"type":226,"tag":227,"props":250,"children":252},{"id":251},"endpoints",[253],{"type":232,"value":254},"Endpoints",{"type":226,"tag":256,"props":257,"children":259},"h3",{"id":258},"get-media",[260],{"type":232,"value":261},"Get Media",{"type":226,"tag":234,"props":263,"children":264},{},[265],{"type":232,"value":266},"Returns the file that is associated with the specific shipment and content id. This can be accessed at the following endpoint.",{"type":226,"tag":268,"props":269,"children":271},"pre",{"code":270},"/api/v2/shipmentmedia/{shipmentId}/{contentId}\n",[272],{"type":226,"tag":273,"props":274,"children":275},"code",{"__ignoreMap":220},[276],{"type":232,"value":270},{"type":226,"tag":278,"props":279,"children":281},"h4",{"id":280},"response-format",[282],{"type":232,"value":283},"Response Format",{"type":226,"tag":234,"props":285,"children":286},{},[287,289,295],{"type":232,"value":288},"The response is the file itself, with the ",{"type":226,"tag":273,"props":290,"children":292},{"className":291},[],[293],{"type":232,"value":294},"Content-Type",{"type":232,"value":296}," of the file that was saved. It is sent as an attachment.",{"type":226,"tag":298,"props":299,"children":301},"h5",{"id":300},"example-reponses",[302],{"type":232,"value":303},"Example Reponses",{"type":226,"tag":305,"props":306,"children":307},"ul",{},[308,320],{"type":226,"tag":309,"props":310,"children":311},"li",{},[312,314],{"type":232,"value":313},"A JPEG encoded image captured during the measure operation for the shipment.\n",{"type":226,"tag":315,"props":316,"children":319},"img",{"alt":317,"src":318},"Annotated Image","/images/example-media-image.jpg",[],{"type":226,"tag":309,"props":321,"children":322},{},[323,325],{"type":232,"value":324},"An MP4 encoded video captured before measuring an object.\n",{"type":226,"tag":326,"props":327,"children":329},"video",{"controls":328},true,[330,336],{"type":226,"tag":331,"props":332,"children":335},"source",{"src":333,"type":334},"/images/example-media-video.mp4","video/mp4",[],{"type":232,"value":337},"\nYour browser does not support the video tag.\n",{"type":226,"tag":278,"props":339,"children":341},{"id":340},"request-parameters",[342],{"type":232,"value":343},"Request Parameters",{"type":226,"tag":345,"props":346,"children":347},"table",{},[348,372],{"type":226,"tag":349,"props":350,"children":351},"thead",{},[352],{"type":226,"tag":353,"props":354,"children":355},"tr",{},[356,362,367],{"type":226,"tag":357,"props":358,"children":359},"th",{},[360],{"type":232,"value":361},"Parameter",{"type":226,"tag":357,"props":363,"children":364},{},[365],{"type":232,"value":366},"Required",{"type":226,"tag":357,"props":368,"children":369},{},[370],{"type":232,"value":371},"Description",{"type":226,"tag":373,"props":374,"children":375},"tbody",{},[376,395],{"type":226,"tag":353,"props":377,"children":378},{},[379,385,390],{"type":226,"tag":380,"props":381,"children":382},"td",{},[383],{"type":232,"value":384},"shipmentId",{"type":226,"tag":380,"props":386,"children":387},{},[388],{"type":232,"value":389},"Yes",{"type":226,"tag":380,"props":391,"children":392},{},[393],{"type":232,"value":394},"the Id of the shipment you wish to fetch the media for",{"type":226,"tag":353,"props":396,"children":397},{},[398,403,407],{"type":226,"tag":380,"props":399,"children":400},{},[401],{"type":232,"value":402},"contentId",{"type":226,"tag":380,"props":404,"children":405},{},[406],{"type":232,"value":389},{"type":226,"tag":380,"props":408,"children":409},{},[410],{"type":232,"value":411},"the Id of the media attached to the shipment",{"type":226,"tag":268,"props":413,"children":418},{"code":414,"filename":415,"language":416,"meta":220,"className":417,"style":220},"curl \"https://api.ece.phdsolutions.ca/api/v2/shipmentmedia/00000000-0000-0000-abcd-012345678901/427a1c3a-b47e-4e8b-bef9-0a3ba47a7d9d\" \\\n-X GET \\\n-H \"Authorization: Bearer YOUR_AUTH_TOKEN\"\n--output \"output.jpg\"\n","Example Request","bash","language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight",[419],{"type":226,"tag":273,"props":420,"children":421},{"__ignoreMap":220},[422,457,475,498],{"type":226,"tag":423,"props":424,"children":427},"span",{"class":425,"line":426},"line",1,[428,434,440,446,451],{"type":226,"tag":423,"props":429,"children":431},{"style":430},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[432],{"type":232,"value":433},"curl",{"type":226,"tag":423,"props":435,"children":437},{"style":436},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[438],{"type":232,"value":439}," \"",{"type":226,"tag":423,"props":441,"children":443},{"style":442},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[444],{"type":232,"value":445},"https://api.ece.phdsolutions.ca/api/v2/shipmentmedia/00000000-0000-0000-abcd-012345678901/427a1c3a-b47e-4e8b-bef9-0a3ba47a7d9d",{"type":226,"tag":423,"props":447,"children":448},{"style":436},[449],{"type":232,"value":450},"\"",{"type":226,"tag":423,"props":452,"children":454},{"style":453},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[455],{"type":232,"value":456}," \\\n",{"type":226,"tag":423,"props":458,"children":460},{"class":425,"line":459},2,[461,466,471],{"type":226,"tag":423,"props":462,"children":463},{"style":453},[464],{"type":232,"value":465},"-X ",{"type":226,"tag":423,"props":467,"children":468},{"style":442},[469],{"type":232,"value":470},"GET",{"type":226,"tag":423,"props":472,"children":473},{"style":453},[474],{"type":232,"value":456},{"type":226,"tag":423,"props":476,"children":478},{"class":425,"line":477},3,[479,484,488,493],{"type":226,"tag":423,"props":480,"children":481},{"style":453},[482],{"type":232,"value":483},"-H ",{"type":226,"tag":423,"props":485,"children":486},{"style":436},[487],{"type":232,"value":450},{"type":226,"tag":423,"props":489,"children":490},{"style":442},[491],{"type":232,"value":492},"Authorization: Bearer YOUR_AUTH_TOKEN",{"type":226,"tag":423,"props":494,"children":495},{"style":436},[496],{"type":232,"value":497},"\"\n",{"type":226,"tag":423,"props":499,"children":501},{"class":425,"line":500},4,[502,507,511,516],{"type":226,"tag":423,"props":503,"children":504},{"style":430},[505],{"type":232,"value":506},"--output",{"type":226,"tag":423,"props":508,"children":509},{"style":436},[510],{"type":232,"value":439},{"type":226,"tag":423,"props":512,"children":513},{"style":442},[514],{"type":232,"value":515},"output.jpg",{"type":226,"tag":423,"props":517,"children":518},{"style":436},[519],{"type":232,"value":497},{"type":226,"tag":521,"props":522,"children":523},"style",{},[524],{"type":232,"value":525},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":220,"searchDepth":459,"depth":459,"links":527},[528,529],{"id":229,"depth":459,"text":24},{"id":251,"depth":459,"text":254,"children":530},[531],{"id":258,"depth":477,"text":261},"markdown","content:7.enVisionCloud:5.ApiGuide:28.ShipmentMedia:2.API-v2.md","content","7.enVisionCloud/5.ApiGuide/28.ShipmentMedia/2.API-v2.md","7.enVisionCloud/5.ApiGuide/28.ShipmentMedia/2.API-v2","md",[539,541],{"_path":185,"title":141,"description":540},"API endpoints for retrieving Shipments from enVision Cloud",{"_path":193,"title":35,"description":542},"Description of error codes returned by enVision Cloud APIs",1793723133966]