GetNeedleInfo
Returns the needle information stored in the embroidery file.
This request is supported for TC (Z00) and TBF formats.
This is an example for the TC format:
Json request
{
"RequestType": "GetNeedleInfo",
"EmbroideryType": "TC",
"EmbroideryBase64": "base64 encoded embroidery data"
}
Json response
[
{
"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"
}
]
This is an example for the TBF format:
Json request
{
"RequestType": "GetNeedleInfo",
"EmbroideryType": "TBF",
"EmbroideryBase64": "base64 encoded embroidery data"
}
This is the list of the used needles in the TBF file. The TBF format only supports the RGB information.
Json response
[
{
"NeedleNumber": 1,
"Red": 108,
"Green": 153,
"Blue": 72,
"ColorName": null,
"ColorNumber": null,
"ThreadSize": null
},
{
"NeedleNumber": 2,
"Red": 198,
"Green": 32,
"Blue": 72,
"ColorName": null,
"ColorNumber": null,
"ThreadSize": null
},
{
"NeedleNumber": 3,
"Red": 115,
"Green": 123,
"Blue": 130,
"ColorName": null,
"ColorNumber": null,
"ThreadSize": null
},
{
"NeedleNumber": 4,
"Red": 255,
"Green": 255,
"Blue": 102,
"ColorName": null,
"ColorNumber": null,
"ThreadSize": null
}
]