Public API

 http://fw-gen.com/api/data

 POST

 JSON

Methods:

 
Request:

{ "method": "login", "username": "example@gmail.com", "password": "123456" }

Response:

{ "status":1, "token":"ba25c6b520b17826dfb88f689041ca40" }


 
Request:

{ "method":"getManufactures", "token":"ba25c6b520b17826dfb88f689041ca40" }

Response:

[{"id":"1","name":"Dell"},{"id":"2","name":"Samsung"}]


 
Request:

{"method":"getModels","token":"ba25c6b520b17826dfb88f689041ca40","manufacture":2}

Response:

[ { "id": 0, "name": "Choose model" }, { "id": "6", "name": "CLP-310" }, { "id": "33", "name": "CLP-310N" }, { "id": "34", "name": "CLP-310W" }, { "id": "35", "name": "CLP-315" } ]


 
Request:

{"method":"getFirmwares","token":"ba25c6b520b17826dfb88f689041ca40","model":33}

Response:

[{"id":0,"name":"Choose firmware"},{"id":"86","name":"V1.00.01.23 SN"},{"id":"87","name":"V1.00.11.67 SN"}]


 
Request:

{"method":"getDetailInfo","token":"ba25c6b520b17826dfb88f689041ca40","firmware":87}

Response:

{"price":"0.70","from":1,"comment":"Capital letters only, example: Z5N0BFEB200583P \r\nPlease, double check serial number!!!","snlength":15,"type":"1"}

Types firmware: 1,2,3; 1 - only serial, 2 - only crum, 3 - serial and crum


 
Request:

{"method":"createFirmware","token":"ba25c6b520b17826dfb88f689041ca40","firmware":355,"manufacture":2,"model":139,"serial":"Z2TDBFFB900345A","crum":"","type":"1"}

Response:

{"status":1,"filename":"FIX_Z2TDBFFB900345A_SCX-4623F_V2010101_U.zip"}