This documentation is for the v7 (stable) version of the API.
Invocation URL: /v7/fastlabel/generatefastwaylabel

Descripton:

Generate a PDF with Fastway labels.

Parameters:

UserID - The UserID (from List Users) who is creating the manifest

You must pass one of the following parameters
ManifestID - ManifestID which represents a collection of consignments
ConsignmentID - The consignmentID which may contain one or many parcels
ItemID - A specific item on a consignment

Returns:

A data structure like so:

{
    'result': [
        {
            'pdf': 'http://cw.api.fastway.org/FastLabel_Label_print.aspx?CustomerUserID=96&ManifestID=152850'        
        }
    ],
    'generated_in': '268ms'
}
You must follow the link found in the pdf result to return a pdf stream

Example:

https://sa.api.fastway.org/v7/fastlabel/generatefastwaylabel/96?api_key=YOUR_API_KEY

Back to FastLabel