Welcome to the Fusionware Adapter API Server.

If you cannot access the API, please contact an administrator.
What is our favorite API testing tool?
Postman
You may pass a limit and an offset to control how much data you get. Example |url|?limit=10&offset=10
Login

Change Log
Changes
Aug 15, 2016 (v3.2.08152016)
Updated Field Harvest
Allowed visible = 0 to be shown when hitting fields/harvests and fields/harvest/:id

Change Log
Changes
Aug 15, 2016 (v3.2.08152016)
Updated Field Harvest
Allowed visible = 0 to be shown when hitting fields/harvests and fields/harvest/:id

Description - Get all assets
Request (GET) https://app.fusionware.com/api/:customer_name/assets?auth=key&limit=val&offset=val&type=val
Query Variables
type : Must be an asset type (example : "Harvester")
Response
[
	{
		"id":"5",
		"timestamp":"2016-04-15 21:44:53",
		"name":"Harvester 1",
		...
	},
	{
		"id":"6",
		"timestamp":"2016-04-15 21:44:53",
		"name":"Harvester 2",
		...
	}
]
Description - Get a single asset
Request (GET) https://app.fusionware.com/api/:customer_name/assets/:id?auth=key
Query Variables
id : Must be a numeric asset id (example : 5)
Response
{
	"id":"5",
	"timestamp":"2016-04-15 21:44:53",
	"name":"Harvester 1",
	...
}
Description - Store an asset
Required: "name","type_id"
Request (POST) https://app.fusionware.com/api/:customer_name/assets?auth=key
Body Variables
{
	"name":"",
	"description":"",
	"owner_id":1,
	"type_id":1,
	"status_id":1,
	"visible":1,
	"make":"",
	"model":"",
	"vin":"",
	"requirements":"",
	"latitude":"",
	"longitude":"",
	"gps_timestamp":"",
	"gps_bearing":"",
	"gps_speed":"",
	"accounting_ref":""
}
Response
'Successfully stored asset!'
Description - Update an asset
Request (PUT) https://app.fusionware.com/api/:customer_name/assets/:id?auth=key
Query Variables
id : Must be a numeric asset id (example : 5)
Body Variables (can be one or more | only updates the values that are passed in)
{
	"name":"",
	"description":"",
	"owner_id":1,
	"type_id":1,
	"status_id":1,
	"visible":1,
	"make":"",
	"model":"",
	"vin":"",
	"requirements":"",
	"latitude":"",
	"longitude":"",
	"gps_timestamp":"",
	"gps_bearing":"",
	"gps_speed":"",
	"accounting_ref":""
}
Response
'Successfully updated asset!'
Description - Destroy an asset
Request (DELETE) https://app.fusionware.com/api/:customer_name/assets/:id?auth=key
Query Variables
id : Must be a numeric asset id (example : 5)
Response
Successfully destroyed asset!
Description - Get company information
Request (GET) https://app.fusionware.com/api/:customer_name/company?auth=key
Response
[
	{
		"id":"5",
		"customer_id":"1000",
		"name":"customer A",
		...
	}
]
Description - Get all contracts
Request (GET) https://app.fusionware.com/api/:customer_name/contracts?auth=key&limit=val&offset=val
Query Variables
Response
[
	{
		"id":"5",
		"timestamp":"2017-04-15 21:44:53",
		"number":"12345",
		...
	},
	{
		"id":"6",
		"timestamp":"2017-04-15 21:44:53",
		"number":"54321",
		...
	}
]
Description - Get a single contract
Request (GET) https://app.fusionware.com/api/:customer_name/contracts/:id?auth=key
Query Variables
id : Must be a numeric contract id (example : 5)
Response
{
	"id":"5",
	"timestamp":"2016-04-15 21:44:53",
	"number":"54321",
	...
}
Description - Get all customers
Request (GET) https://app.fusionware.com/api/:customer_name/customers?auth=key&limit=val&offset=val
Response
[
	{
		"id":"5",
		"customer_id":"1000",
		"name":"customer A",
		...
	},
	{
		"id":"6",
		"customer_id":"1000",
		"name":"customer B",
		...
	}
]
Description - Get a single customer
Request (GET) https://app.fusionware.com/api/:customer_name/customers/:id?auth=key
Query Variables
id : Must be a numeric customer id (example : 5)
Response
{
	"id":"5",
	"name":"customer A",
	...
}
Description - Store a customer
Required: "name"
Request (POST) https://app.fusionware.com/api/:customer_name/customers?auth=key
Body Variables
{
	"name":"",
	"email":"",
	"phone":"",
	"contact":"",
	"address":"",
	"city":"",
	"state":"",
	"zip":"",
	"mail_address":"",
	"mail_city":"",
	"mail_state":"",
	"mail_zip":"",
	"fein":"",
	"notes":"",
	"erp_acc_ref":"",
	"is_customer":"",
	"is_vendor":"",
	"is_grower":"",
	"visible":""
}
Response
'Successfully stored customer!'
Description - Update a customer
Request (PUT) https://app.fusionware.com/api/:customer_name/customers/:id?auth=key
Query Variables
id : Must be a numeric customer id (example : 5)
Body Variables (can be one or more | only updates the values that are passed in)
{
	"name":"",
	"email":"",
	"phone":"",
	"contact":"",
	"address":"",
	"city":"",
	"state":"",
	"zip":"",
	"mail_address":"",
	"mail_city":"",
	"mail_state":"",
	"mail_zip":"",
	"fein":"",
	"notes":"",
	"erp_acc_ref":"",
	"is_customer":"",
	"is_vendor":"",
	"is_grower":"",
	"visible":""
}
Response
'Successfully updated customer!'
Description - Destroy a customer
Request (DELETE) https://app.fusionware.com/api/:customer_name/customers/:id?auth=key
Query Variables
id : Must be a numeric customer id (example : 5)
Response
Successfully destroyed customer!
Description - Get all fields
Request (GET) https://app.fusionware.com/api/:customer_name/fields?auth=key&limit=val&offset=val&growerid=val&growername
Query Variables
growerid : Must be a grower id (example : 645) - can only be one of these
growername : Must be a grower name (example : "John%20Doe") - can only be one of these
Response
[
	{
		"name":"107",
		"description":"gaily",
		"distance_to_farm":"",
		"grower_erp_ref":null,
		"address":null,
		"city":null,
		"state":"CO",
		"zip":null,
		"acres":"15",
		"latitude":null,
		"longitude":null,
		"commodity_id":null,
		"contract_option":null,
		"notes":"",
		"point":null,
		"bogus_for_updates":null,
		"grower_id":null,
		"grower_name":null,
		"timestamp":"2016-04-25T22:55:54.000Z",
		"visible":0
	},
	...
]
Description - Get a single fields
Request (GET) https://app.fusionware.com/api/:customer_name/fields/:id?auth=key
Query Variables
id : Must be a numeric field id (example : 5)
Response
{
	"id":"5",
	"timestamp":"2016-04-15 21:44:53",
	"name":"John Doe 1",
	...
}
Description - Store an field
Required: "name","type_id"
Request (POST) https://app.fusionware.com/api/:customer_name/fields?auth=key
Body Variables
{
	"name":"",
	"description":"",
	"distance_to_farm":1,
	"vendor_erp_ref":1,
	"address":1,
	"city":1,
	"state":"",
	"zip":"",
	"acres":"",
	"latitude":"",
	"longitude":"",
	"commodity_id":"",
	"contract_option":"",
	"notes":"",
	"point":"",
	"vendor_id":""
}
Response
'Successfully stored field!'
Description - Update an field
Request (PUT) https://app.fusionware.com/api/:customer_name/fields/:id?auth=key
Query Variables
id : Must be a numeric field id (example : 5)
Body Variables (can be one or more | only updates the values that are passed in)
{
	"name":"",
	"description":"",
	"distance_to_farm":1,
	"vendor_erp_ref":1,
	"address":1,
	"city":1,
	"state":"",
	"zip":"",
	"acres":"",
	"latitude":"",
	"longitude":"",
	"commodity_id":"",
	"contract_option":"",
	"notes":"",
	"point":"",
	"vendor_id":""
}
Response
'Successfully updated field!'
Description - Destroy an field
Request (DELETE) https://app.fusionware.com/api/:customer_name/fields/:id?auth=key
Query Variables
id : Must be a numeric field id (example : 5)
Response
Successfully destroyed field!
Description - Get all field details from a field_id
Request (GET) https://app.fusionware.com/api/:customer_name/fields/:id/details?auth=key
Query Variables
id : Must be a numeric field id (example : 1896)
Response
[
	{
		"id": 1896,
		"field_id": 402,
		"field_name": "Brack - NW 36",
		"grower_id": 69345,
		...
		"points": [
			{
			  "lat": 132,
			  "lng": 123
			},
			...
		],
		"commodity_name": "Onions",
		"variety_name": "Granero",
		"GTIN_product_id": 9999,
		"field_detail_applications": [
			{
			  "id": 19,
			  "field_details_id": 1896,
			  "chemical_id": 4,
			  ...
			},
			...
		]
	}
]
Description - Get all specific field detail fom a field_detail_id
Request (GET) https://app.fusionware.com/api/:customer_name/fields/details/:id?auth=key
Query Variables
id : Must be a numeric field detail id (example : 1)
Response
{
	"id":"5",
	"timestamp":"2016-04-15 21:44:53",
	"field_id":"1",
	...
}
Description - Store an field detail
Required: "name","type_id"
Request (POST) https://app.fusionware.com/api/:customer_name/fields/details?auth=key
Body Variables
{
	"year":"",
	"number":"",
	"field_id":"",
	"description":"",
	"product_erp_ref":"",
	"product_name":"",
	"total_acres":"",
	"harvest_acres_remaining":"",
	"planting_acres_remaining":"",
	"acres_abnd":"",
	"est_yield":"",
	"bdgt_yield":"",
	"cost_per_acre":"",
	"points":"",
	"commodity_name":"",
	"variety_name":"",
	"start_plant":"",
	"end_plant":"",
	"start_harvest":"",
	"end_harvest":"",
	"visible":""
}
Response
'Successfully stored field detail!'
Description - Update an field detail
Request (PUT) https://app.fusionware.com/api/:customer_name/fields/details/:id?auth=key
Query Variables
id : Must be a numeric field detail id (example : 5)
Body Variables (can be one or more | only updates the values that are passed in)
{
	"year":"",
	"number":"",
	"field_id":"",
	"description":"",
	"product_erp_ref":"",
	"product_name":"",
	"total_acres":"",
	"harvest_acres_remaining":"",
	"planting_acres_remaining":"",
	"acres_abnd":"",
	"est_yield":"",
	"bdgt_yield":"",
	"cost_per_acre":"",
	"points":"",
	"commodity_name":"",
	"variety_name":"",
	"start_plant":"",
	"end_plant":"",
	"start_harvest":"",
	"end_harvest":"",
	"visible":""
}
Response
'Successfully updated field detail!'
Description - Destroy an field detail
Request (DELETE) https://app.fusionware.com/api/:customer_name/fields/details/:id?auth=key
Query Variables
id : Must be a numeric field detail id (example : 5)
Response
Successfully destroyed field detail!
Request (GET) http://localhost:3000/api/tuxedocorn/fields/harvest?auth=val&field_detail_id=val&asset_id=val
Query Variables (Can use either one but at least one must be present )
field_detail_id : Must be a field_detail_id id (example : 61)
asset_id : Must be a asset_id id (example : 1)
Response
[
	{
		"id":527,
		"timestamp":"2015-07-05T20:41:52.000Z",
		"field_detail_id":61,
		...
	},
	{
		"id":553,
		"timestamp":"2015-07-07T09:40:22.000Z",
		"field_detail_id":61,
		...
	},
	...
]
Description - Get a specific field harvest
Request (GET) https://app.fusionware.com/api/:customer_name/fields/harvest/:id?auth=key
Query Variables
id : Must be a numeric field harvest id (example : 1)
Response
{
	"id":"5",
	"timestamp":"2016-04-15 21:44:53",
	...
}
Description - Store an field harvest
Required: "acre"
Request (POST) https://app.fusionware.com/api/:customer_name/fields/harvest?auth=key
Body Variables
{
	"field_detail_id":"",
	"acre":"",
	"asset_id":"",
	"user_id":"",
	"start_date":"",
	"end_date":"",
	"ref_id":"",
	"status":"",
	"visible":""
}
Response
'Successfully stored field harvest!'
Description - Update an field harvest
Request (PUT) https://app.fusionware.com/api/:customer_name/fields/harvest/:id?auth=key
Query Variables
id : Must be a numeric field harvest id (example : 5)
Body Variables (can be one or more | only updates the values that are passed in)
{
	"field_detail_id":"",
	"acre":"",
	"asset_id":"",
	"user_id":"",
	"start_date":"",
	"end_date":"",
	"visible":""
}
Response
'Successfully updated field harvest!'
Description - Destroy an field harvest
Request (DELETE) https://app.fusionware.com/api/:customer_name/fields/harvest/:id?auth=key
Query Variables
id : Must be a numeric field harvest id (example : 5)
Response
Successfully destroyed field harvest!
Request (GET) https://app.fusionware.com/api/:customer_name/labels?auth=key&limit=val&offset=val
Query Variables
Response
[
	{
		"id":"98",
		"name":"Olathe Sweet"
	},
	{
		"id":"99",
		"name":"Tuxedo"
	}
]
Request (GET) https://app.fusionware.com/api/:customer_name/labels/:id?auth=key
Query Variables
id : Must be a numeric label id (example : 98)
Response
{
	"id":"98",
	"name":"Olathe Sweet"
}
Description - Store an label
Required: "name","type_id"
Request (POST) https://app.fusionware.com/api/:customer_name/labels?auth=key
Body Variables
{
	"name":""
}
Response
'Successfully stored label!'
Description - Update an label
Request (PUT) https://app.fusionware.com/api/:customer_name/labels/:id?auth=key
Query Variables
id : Must be a numeric label id (example : 5)
Body Variables (can be one or more | only updates the values that are passed in)
{
	"name":""
}
Response
'Successfully updated label!'
Description - Destroy an label
Request (DELETE) https://app.fusionware.com/api/:customer_name/labels/:id?auth=key
Query Variables
id : Must be a numeric label id (example : 5)
Response
Successfully destroyed label!
Request (GET) https://app.fusionware.com/api/:customer_name/packedcontainers?auth=key&limit=val&offset=val
Query Variables
Response
[
	{
		"id": 2,
		"ref_id": "sdgshg",
		"variety": "77603",
		"sub_variety": "1234",
		"field": "3456",
		"field_block": "69360",
		"size": "0",
		"pack": "1",
		"lot_number": "sgfdgdf",
		"serial_number": "sgfdgdf",
		"gps_location": "sgfdgdf",
		"gtin": "sgfdgdf",
		"color": "sgfdgdf",
		"printer_id": "sgfdgdf",
		"print_job_id": "sgfdgdf",
		"label": "sgfdgdf",
		"session": "sgfdgdf",
		"label_number": "sgfdgdf",
		"pack_date_time": "06/09/2016 00:00",
		"timestamp": "06/09/2016 12:33"
	},
	{
		"id": 3,
		"ref_id": "sdgshg",
		"variety": "77603",
		"sub_variety": "1234",
		"field": "3456",
		"field_block": "69360",
		"size": "0",
		"pack": "1",
		"lot_number": "sgfdgdf",
		"serial_number": "sgfdgdf",
		"gps_location": "sgfdgdf",
		"gtin": "sgfdgdf",
		"color": "sgfdgdf",
		"printer_id": "sgfdgdf",
		"print_job_id": "sgfdgdf",
		"label": "sgfdgdf",
		"session": "sgfdgdf",
		"label_number": "sgfdgdf",
		"pack_date_time": "06/09/2016 00:00",
		"timestamp": "06/09/2016 12:33"
	}
]
Request (GET) https://app.fusionware.com/api/:customer_name/packedcontainers/:id?auth=key
Query Variables
id : Must be a numeric packed container id (example : 1)
Response
{
	"id": 3,
	"ref_id": "sdgshg",
	"variety": "77603",
	"sub_variety": "1234",
	"field": "3456",
	"field_block": "69360",
	"size": "0",
	"pack": "1",
	"lot_number": "sgfdgdf",
	"serial_number": "sgfdgdf",
	"gps_location": "sgfdgdf",
	"gtin": "sgfdgdf",
	"color": "sgfdgdf",
	"printer_id": "sgfdgdf",
	"print_job_id": "sgfdgdf",
	"label": "sgfdgdf",
	"session": "sgfdgdf",
	"label_number": "sgfdgdf",
	"pack_date_time": "06/09/2016 00:00",
	"timestamp": "06/09/2016 12:33"
}
Description - Store an packed container
Required: "name","type_id"
Request (POST) https://app.fusionware.com/api/:customer_name/packedcontainers?auth=key
Body Variables
{
	"ref_id": "sdgshg",
	"variety": "77603",
	"sub_variety": "1234",
	"field": "3456",
	"field_block": "69360",
	"size": "0",
	"pack": "1",
	"lot_number": "sgfdgdf",
	"serial_number": "sgfdgdf",
	"gps_location": "sgfdgdf",
	"gtin": "sgfdgdf",
	"color": "sgfdgdf",
	"printer_id": "sgfdgdf",
	"print_job_id": "sgfdgdf",
	"label": "sgfdgdf",
	"session": "sgfdgdf",
	"label_number": "sgfdgdf",
	"pack_date_time": "06/09/2016 00:00"
}
Response
'Successfully stored packed container!'
Description - Update an packed container
Request (PUT) https://app.fusionware.com/api/:customer_name/packedcontainers/:id?auth=key
Query Variables
id : Must be a numeric packed container id (example : 5)
Body Variables (can be one or more | only updates the values that are passed in)
{
	"ref_id": "sdgshg",
	"variety": "77603",
	"sub_variety": "1234",
	"field": "3456",
	"field_block": "69360",
	"size": "0",
	"pack": "1",
	"lot_number": "sgfdgdf",
	"serial_number": "sgfdgdf",
	"gps_location": "sgfdgdf",
	"gtin": "sgfdgdf",
	"color": "sgfdgdf",
	"printer_id": "sgfdgdf",
	"print_job_id": "sgfdgdf",
	"label": "sgfdgdf",
	"session": "sgfdgdf",
	"label_number": "sgfdgdf",
	"pack_date_time": "06/09/2016 00:00"
}
Response
'Successfully updated packed container!'
Description - Destroy an packedcontainer
Request (DELETE) https://app.fusionware.com/api/:customer_name/packedcontainers/:id?auth=key
Query Variables
id : Must be a numeric packed container id (example : 5)
Response
Successfully destroyed packed container!
Request (GET) https://app.fusionware.com/api/:customer_name/printers?auth=key&limit=val&offset=val
Query Variables
Response
[
	{
		"id":"1",
		"name":"Olathe Sweet"
	},
	...
]
Request (GET) https://app.fusionware.com/api/:customer_name/printers/:id?auth=key
Query Variables
id : Must be a numeric printer id (example : 1)
Response
{
	"id":"1",
	"name":"Printer 1"
}
Description - Store an printer
Required: "name","type_id"
Request (POST) https://app.fusionware.com/api/:customer_name/printers?auth=key
Body Variables
{
	"name":"",
	"asset_id":"",
	"ip":"",
	"port":"",
	"ref_id":"",
	"visible":"" (Defaults to 1)
}
Response
'Successfully stored printer!'
Description - Update an printer
Request (PUT) https://app.fusionware.com/api/:customer_name/printers/:id?auth=key
Query Variables
id : Must be a numeric printer id (example : 5)
Body Variables (can be one or more | only updates the values that are passed in)
{
	"name":""
}
Response
'Successfully updated printer!'
Description - Destroy an printer
Request (DELETE) https://app.fusionware.com/api/:customer_name/printers/:id?auth=key
Query Variables
id : Must be a numeric printer id (example : 5)
Response
Successfully destroyed printer!
Request (GET) https://app.fusionware.com/api/:customer_name/printtemplates?auth=key&limit=val&offset=val
Query Variables
Response
[
	{
		"id":"1",
		"name":"",
		"html":""
	},
	{
		"id":"2",
		"name":"",
		"html":""
	}
]
Request (GET) https://app.fusionware.com/api/:customer_name/printtemplates/:id?auth=key
Query Variables
id : Must be a numeric printtemplate id (example : 98)
Response
{
	"id":"1",
	"name":"",
	"html":""
}
Description - Store an printtemplate
Required: "name","type_id"
Request (POST) https://app.fusionware.com/api/:customer_name/printtemplates?auth=key
Body Variables
{
	"id":"1",
	"name":"",
	"html":""
}
Response
'Successfully stored print template!'
Description - Update an printtemplate
Request (PUT) https://app.fusionware.com/api/:customer_name/printtemplates/:id?auth=key
Query Variables
id : Must be a numeric printtemplate id (example : 1)
Body Variables (can be one or more | only updates the values that are passed in)
{
	"id":"1",
	"name":"",
	"html":""
}
Response
'Successfully updated print template!'
Description - Destroy an printtemplate
Request (DELETE) https://app.fusionware.com/api/:customer_name/printtemplates/:id?auth=key
Query Variables
id : Must be a numeric printtemplate id (example : 1)
Response
Successfully destroyed print template!
Description - Get all products
Request (GET) https://app.fusionware.com/api/:customer_name/products?auth=key&limit=val&offset=val&type=val
Query Variables
type : Must be an product type (example : "Product")
Response
[
	{
		"id":"5",
		"timestamp":"2016-04-15 21:44:53",
		"name":"Product 1",
		...
	},
	{
		"id":"6",
		"timestamp":"2016-04-15 21:44:53",
		"name":"Product 2",
		...
	}
]
Description - Get a single product
Request (GET) https://app.fusionware.com/api/:customer_name/products/:id?auth=key
Query Variables
id : Must be a numeric product id (example : 5)
Response
{
	"id":"5",
	"timestamp":"2016-04-15 21:44:53",
	"name":"Product 1",
	...
}
Description - Store an product
Required: "name","type_id"
Request (POST) https://app.fusionware.com/api/:customer_name/products?auth=key
Body Variables
{
	"name":"",
	"description":"",
	"customer_id":"",
	"equiv_factor":"",
	"erp_ref":"",
	"commodity_id":"",
	"grade_id":"",
	"label_id":"",
	"packaging_id":"",
	"default_qty":"",
	"variety_id":""
}
Response
'Successfully stored product!'
Description - Update an product
Request (PUT) https://app.fusionware.com/api/:customer_name/products/:id?auth=key
Query Variables
id : Must be a numeric product id (example : 5)
Body Variables (can be one or more | only updates the values that are passed in)
{
	"name":"",
	"description":"",
	"customer_id":"",
	"equiv_factor":"",
	"erp_ref":"",
	"commodity_id":"",
	"grade_id":"",
	"label_id":"",
	"packaging_id":"",
	"default_qty":"",
	"variety_id":""
}
Response
'Successfully updated product!'
Description - Destroy an product
Request (DELETE) https://app.fusionware.com/api/:customer_name/products/:id?auth=key
Query Variables
id : Must be a numeric product id (example : 5)
Response
Successfully destroyed product!
Request (GET) https://app.fusionware.com/api/:customer_name/receivables?auth=key&limit=val&offset=val
Query Variables
Response
[ { "id":"1", "ref_number":"2", "lot_number":"3" ... }, { "id":"2", "ref_number":"5", "lot_number":"3" ... } ]
Request (GET) https://app.fusionware.com/api/:customer_name/receivables/:id?auth=key
Query Variables
id : Must be a numeric user id (example : 1)
Response
{ "id":"1", "ref_number":"2", "lot_number":"3" ... }
Request (POST) https://app.fusionware.com/api/:customer_name/receivables?auth=key
Body Variables
{
	id:1, 
	ref_number: 2,
	lot_number: 3,
	guid: 3,  (this is your unique storage... we don't do anything with this except store and return it)
	receiver_id: 45516,
	grower_id: 46564,
	carrier_id: NULL,
	status_id: 1,
	load_type_id: 3,
	origin_type_id: 2,  (This is the load type) ( 1 - Field, 2 - Storage, 3 - Shed/Location )
	field_id: 0, (Only used by Fusion if you set origin_type_id = 2)
	origin_location_id: 0, 
	dispatch_date_time: '2016-11-04 11:04:22', (This can be any valid date time / timestamp) (We use moment http://momentjs.com)
    receivable_items: [
	    {
	        "run_profile_id":"3",
	        "label_id":"99",
	        "unit_quantity":"400",
	        "product_id":"576578"
	    },
	   ...
    ],
	profile_id: NULL,
	sales_person_id: 1053,
	booked_by_id: 1053,
	light_weight: 0,
	heavy_weight: 100500,
	truck_number: NULL,
	truck_license: NULL,
	trailer_type: NULL,
	trailer_number: NULL,
	trailer_license: NULL,
	commodity_id: 1,
	seal_one: NULL,
	seal_two: NULL,
	visible: 1,
	source_id: NULL,
	weight: 100,
	sample_weight: NULL,
	driver_name: NULL,
	truck_type: NULL,
	loading_equipment_owner: NULL,
	loading_equipment_operator: NULL,
	net_weight: NULL,
	commodity_variety_id: 1
}
Response
Success!
Request (GET) https://app.fusionware.com/api/:customer_name/receivers?auth=key&limit=val&offset=val&type=val
Query Variables
type : Must be an asset type (example : "Harvester")
Response
[ { "id":"1", "name":"4 Star Tomato Inc", ... }, { "id":"6", "name":"Aroostook Seed Association", ... } ]
Request (GET) https://app.fusionware.com/api/:customer_name/receivers/:id?auth=key
Query Variables
id : Must be a numeric receiver id (example : 1)
Response
{ "id":"1", "name":"4 Star Tomato Inc", ... }
Request (GET) https://app.fusionware.com/api/:customer_name/runprofiles?auth=key&limit=val&offset=val
Response
[
	{
		"name": "White Corn RPC",
		"weight": "2900",
		"units_per_pallet": 72,
		"max_pallet_qty": 0,
		"weight_tolerance": "0",
		"size_of_container_id": null,
		"size_of_container_name": null,
		"type_id": 7,
		"type_name": "RPC",
		"inventory_type_id": 2,
		"inventory_type_name": "Finished",
		"id": 3,
		"labels": [
			{
				"name": "Olathe Sweet",
				"id": 98
			},
			{
				"name": "Will Yums",
				"id": 100
			}
		],
		"products": [
			{
				"id": 1,
				"product_id": 576578,
				"product_name": "White Corn RPC",
				"label_name": "Olathe Sweet",
				"label_id": 98
			}
		]
	},
	{
		"name": "Yellow Corn Carton 1 Olathe",
		"weight": "2900",
		"units_per_pallet": 30,
		"max_pallet_qty": 0,
		"weight_tolerance": "0",
		"size_of_container_id": null,
		"size_of_container_name": null,
		"type_id": 2,
		"type_name": "Carton",
		"inventory_type_id": 2,
		"inventory_type_name": "Finished",
		"id": 4,
		"labels": [
			{
				"name": "Olathe Sweet",
				"id": 98
			}
		],
		"products": [
			{
				"id": 3,
				"product_id": 576713,
				"product_name": "Yellow Corn",
				"label_name": "Olathe Sweet",
				"label_id": 98
			}
		]
	}
]
Request (GET) https://app.fusionware.com/api/:customer_name/runprofiles/:id?auth=key?want_label_image=1
Parameter Variables
id : Must be a numeric runprofile id (example : 3)
Query Variables
want_label_image : Set this to 1 if you want the binary of the label image from the database. (WARNING!! Old run profiles probably won't have useable image data before 05-17-2016)
Response
{
	"name": "White Corn RPC",
	"weight": "2900",
	"units_per_pallet": 72,
	"max_pallet_qty": 0,
	"weight_tolerance": "0",
	"size_of_container_id": null,
	"size_of_container_name": null,
	"type_id": 7,
	"type_name": "RPC",
	"inventory_type_id": 2,
	"inventory_type_name": "Finished",
	"id": 3,
	"labels": [
		{
			"name": "Olathe Sweet",
			"id": 98
		},
		{
			"name": "Will Yums",
			"id": 100
		}
	],
	"products": [
		{
			"id": 1,
			"product_id": 576578,
			"product_name": "White Corn RPC",
			"label_name": "Olathe Sweet",
			"label_id": 98
		}
	]
}
Description - Store an run profile
Required: "name","type_id"
Request (POST) https://app.fusionware.com/api/:customer_name/runprofiles?auth=key
Body Variables
{
	"name":"",
	"weight":"",
	"type_id":"",
	"units_per_pallet":"",
	"inventory_type_id":"",
	"max_pallet_qty":"",
	"weight_tolerance":"",
	"size_id":""
}
Response
'Successfully stored run profile!'
Description - Update an run profile
Request (PUT) https://app.fusionware.com/api/:customer_name/runprofiles/:id?auth=key
Query Variables
id : Must be a numeric runprofile id (example : 5)
Body Variables (can be one or more | only updates the values that are passed in)
{
	"name":"",
	"weight":"",
	"type_id":"",
	"units_per_pallet":"",
	"inventory_type_id":"",
	"max_pallet_qty":"",
	"weight_tolerance":"",
	"size_id":""
}
Response
'Successfully updated run profile!'
Description - Destroy an run profile
Request (DELETE) https://app.fusionware.com/api/:customer_name/runprofiles/:id?auth=key
Query Variables
id : Must be a numeric runprofile id (example : 5)
Response
Successfully destroyed run profile!
Request (GET) https://app.fusionware.com/api/:customer_name/sessionprintjobs?auth=key&limit=val&offset=val
Query Variables
Response
[
	{
		"id": 2,
		"ref_id": "dhggf",
		"session_id": 77603,
		"printer_id": 1234,
		"qty": 3456,
		"qty_printed_so_far": 69360,
		"run_profile_id": 0,
		"product_id": 1,
		"print_template_id": 2,
		"status": "sgfdgdf",
		"timestamp": "06/09/2016 12:00"
	},
	{
		"id": 3,
		"ref_id": "sdgshg",
		"session_id": 77603,
		"printer_id": 1234,
		"qty": 3456,
		"qty_printed_so_far": 69360,
		"run_profile_id": 0,
		"product_id": 1,
		"print_template_id": 2,
		"status": "sgfdgdf",
		"timestamp": "06/09/2016 12:00"
	}
]
Request (GET) https://app.fusionware.com/api/:customer_name/sessionprintjobs/:id?auth=key
Query Variables
id : Must be a numeric session print job id (example : 1)
Response
{
	"id": 2,
	"ref_id": "dhggf",
	"session_id": 77603,
	"printer_id": 1234,
	"qty": 3456,
	"qty_printed_so_far": 69360,
	"run_profile_id": 0,
	"product_id": 1,
	"print_template_id": 2,
	"status": "sgfdgdf",
	"timestamp": "06/09/2016 12:00"
}
Description - Store an session print job
Required: "name","type_id"
Request (POST) https://app.fusionware.com/api/:customer_name/sessionprintjobs?auth=key
Body Variables
{
	"ref_id": "dhggf",
	"session_id": 77603,
	"printer_id": 1234,
	"qty": 3456,
	"qty_printed_so_far": 69360,
	"run_profile_id": 0,
	"product_id": 1,
	"print_template_id": 2,
	"status": "sgfdgdf"
}
Response
'Successfully stored session print job!'
Description - Update an session print job
Request (PUT) https://app.fusionware.com/api/:customer_name/sessionprintjobs/:id?auth=key
Query Variables
id : Must be a numeric session print job id (example : 5)
Body Variables (can be one or more | only updates the values that are passed in)
{
	"ref_id": "dhggf",
	"session_id": 77603,
	"printer_id": 1234,
	"qty": 3456,
	"qty_printed_so_far": 69360,
	"run_profile_id": 0,
	"product_id": 1,
	"print_template_id": 2,
	"status": "sgfdgdf"
}
Response
'Successfully updated session print job!'
Description - Destroy an sessionprintjob
Request (DELETE) https://app.fusionware.com/api/:customer_name/sessionprintjobs/:id?auth=key
Query Variables
id : Must be a numeric session print job id (example : 5)
Response
Successfully destroyed session print job!
Request (GET) https://app.fusionware.com/api/:customer_name/users?auth=key&limit=val&offset=val&type_id=2
Query Variables
type_id : This will allow you to search for users based on their type
Response
[ { "id":"1", "first":"John", "last":"Doe" ... }, { "id":"2", "first":"John", "last":"Doe2" ... } ]
Request (GET) https://app.fusionware.com/api/:customer_name/users/:id?auth=key
Query Variables
id : Must be a numeric user id (example : 1)
Response
{ "id":"1", "first":"John", "last":"Doe" ... }