ZSK Web API

ZSK Web API

Example for two lines of text

POST

This Json example will create stitch data which two lines of text, as shown below.


Parameters

Parameter Type Description Required
LineSpacing double Line space between the two text lines in mm No

Example

{
	"RequestType": "CreateTC",
	"Monograms": [
		{
			"Text": [
				"Line 1"
			],
			"FontFamily": "Times New Roman",
			"FontSizeMM": 10.0,
			"UsedNeedle": 1,
			"TextStitchParameter": "Premium"
		},
		{
			"Text": [
				"Line 2"
			],
			"FontFamily": "Arial",
			"FontSizeMM": 12.0,
			"UsedNeedle": 3,
			"TextStitchParameter": "Premium"
		}
	],
	"Needle": [
		{
			"Red": 0,
			"Green": 0,
			"Blue": 0,
			"ColorName": "Black",
			"ColorNumber": "20",
			"ThreadSize": "40",
			"Name": "ISACORD"
		},
		{
			"Red": 255,
			"Green": 255,
			"Blue": 255,
			"ColorName": "White",
			"ColorNumber": "15",
			"ThreadSize": "40",
			"Name": "ISACORD"
		},
		{
			"Red": 0,
			"Green": 164,
			"Blue": 90,
			"ColorName": "kelly",
			"ColorNumber": "5515",
			"ThreadSize": "40",
			"Name": "ISACORD"
		}
	],
	"LineSpacing": [
		5.0
	],
	"ServerVersion": 3
}