ZSK Web API

ZSK Web API

GetThreadConeList

POST

Response — RequestData holds a JSON object (not an array): Weight plus the full Colors list (Amann-Isacord 40 has 391 colors; truncated here):

{
  "Success": true,
  "RequestData": "{ \"Weight\": 40, \"Colors\": [ … 391 entries … ] }",
  "Info": "",
  "Time": "",
  "ServerVersion": { "Major": 3, "Minor": 0 }
}

Parsed RequestData (first entries shown):

{
  "Weight": 40,
  "Colors": [
    { "Index": 0, "ColorNumber": "3",  "R": 235, "G": 236, "B": 238, "ColorName": "Ghost White" },
    { "Index": 1, "ColorNumber": "10", "R": 234, "G": 240, "B": 255, "ColorName": "Silky White" },
    { "Index": 2, "ColorNumber": "15", "R": 234, "G": 239, "B": 255, "ColorName": "White" },
    { "Index": 3, "ColorNumber": "17", "R": 228, "G": 232, "B": 255, "ColorName": "Paper White" },
    { "Index": 4, "ColorNumber": "20", "R": 39,  "G": 40,  "B": 42,  "ColorName": "Black" },
    { "Index": 5, "ColorNumber": "21", "R": 40,  "G": 41,  "B": 44 }
  ]
}


Parameters

Parameter Type Description Required
ThreadCone No
ConeSeries string name of the cone series No

Example

{
  "RequestType": "GetThreadConeList",
  "ServerVersion": 3,
  "WebApiLicense": "xxxxx-xxxxx-xxxxx-xxxxx-xxxxx",
  "ThreadCone": { "ConeSeries": "Amann-Isacord 40" }
}