ZSK Web API

ZSK Web API

Job Response Type

POST

Definition of the job response type.

Success

If Success is true, the processing of the request succeeded. 

RequestData

Contains the requested data. (Binary data is Base64 encoded).

Info

The Info object contains all available information about the embroidery data.

Json response (success):

{

"RequestData": "…",

"Success": true

“Info”:

{

  "widthMm": 164.6,

  "heightMm": 135.5,

  "maxX": 1646.0,

  "maxY": 0.0,

  "minX": 0.0,

  "minY": -1355.0,

  "maximum": 0.0,

  "minimum": 0.0,

  "numberOfStitches": 20000,

  "designName": null,

  "customerNumber": null,

  "customerName": null,

  "orderNumber": null,

  "designNumber": 0

  }

}

Time

The time object contains times used to create the embroidery data.

{

  "StartTime": "14:25:44.5785901",

  "EndTime": "14:25:49.6487028",

  "DiffTime": 5070,

  "TotalTime": 5075,

  "PrepTime": 1961,

  "GiSTime": 2226

}

 

NeedleColor

Returns the needle information stored in the embroidery file.

This request is supported for TC (Z00) and TBF formats.

[

  {

    "NeedleNumber": 1,

    "Red": 108,

    "Green": 153,

    "Blue": 72,

    "ColorName": "",

    "ColorNumber": "1848",

    "ThreadSize": "0"

  },

  {

    "NeedleNumber": 2,

    "Red": 198,

    "Green": 32,

    "Blue": 72,

    "ColorName": "",

    "ColorNumber": "1910",

    "ThreadSize": "0"

  },

  {

    "NeedleNumber": 3,

    "Red": 115,

    "Green": 123,

    "Blue": 130,

    "ColorName": "",

    "ColorNumber": "1502",

    "ThreadSize": "0"

  },

  {

    "NeedleNumber": 4,

    "Red": 255,

    "Green": 255,

    "Blue": 102,

    "ColorName": "Yellow",

    "ColorNumber": "310",

    "ThreadSize": "0"

  }

]


NeedleSequence

Get the needle sequence list of an embroidery file.

Currently supported for TC (Z00) and TBF embroidery file formats.

[

  1,

  1,

  2,

  2,

  1,

  2,

  1,

  3,

  4,

  1

]