Get Collection List (GetList)
Return the list of color collections.
Method Url
https://client.livedesignerfusion.com/{username}/ColorCollections/GetList?parameters
Parameters
Name | Type | Default | Required | Description |
Format |
string |
xml |
false |
return the result object in this format. Available formts xml,json,jsonp |
StartIndex |
int |
1 |
false |
Starting Index of the Color Collecton List. |
RecordCount |
int |
10000 |
false |
Maximum number of designs in the retuned list (List Size). |
Service |
string/int |
all |
false |
Service ID or name to reduce the dataset. Embroidery or 1 to retreive the list of embroidery color collections. Printing or 2 to retreive the list of printing color collections. |
return list of color collections.
Expected Response |
---|
{
"success": "true",
"count": 2,
"list": [
{
"referenceid": "CC0001",
"name": "Holidays",
"service": "Embroidery",
"count": 2,
"colors": [
{
"referenceid": "0082FF00018",
"r": 0,
"g": 130,
"b": 255,
"display_name": "Light Blue",
"default_name": "Light Blue",
"supplier_code": "0001",
"thread_code": "8"
},
{
"referenceid": "FF00E100014",
"r": 255,
"g": 0,
"b": 225,
"display_name": "Red 21",
"default_name": "Red",
"supplier_code": "0001",
"thread_code": "4"
}
]
},
{
"referenceid": "CC0003",
"name": "10 Colors",
"service": "Embroidery",
"count": 1,
"colors": [
{
"referenceid": "FF00FF00015",
"r": 255,
"g": 0,
"b": 255,
"display_name": "Purple",
"default_name": "Purple",
"supplier_code": "0001",
"thread_code": "5"
}
]
}
]
} |
Error Response |
---|
{
"success" : "false",
"error_code" : "MISSING_PARAMETER",
"error_message" : "Detailed error message"
} |
Properties
Name | Type | Description |
---|
success | string | Possible values "true", "false". Return true if successfully executed and return false if failed to execute. |
count | int | Total number of available color collections under your account. |
list | array/list | List / Array of Color Collections.
See object for more details |
list
Name | Type | Description |
---|
referenceid | string | unique identifier for color collection. Required to perform any activity on color collections. |
name | string | Name of the color collection. |
service | string | Name of the service for this color collection. |
count | int | Number of colors in this collection. |
colors | Array/List | List/Array of colors in this collection.
See object for more details |
colors
Name | Type | Description |
---|
referenceid | string | unique identifier for color. Required to perform any activity on color object. |
r | int | Color R value. |
g | int | Color G value. |
b | int | Color B value. |
display_name | string | Color display name. |
default_name | string | Color default name. |
manufacturer | string | Color manufacturer name. |
thread_code | string | Color thread code. |
Expected Response |
---|
<Response>
<Success>true</Success>
<Count>2</Count>
<List>
<Colorcollection>
<ReferenceID>CC0001</ReferenceID>
<Name>Holidays</Name>
<Service>Embroidery</Service>
<Count>2</Count>
<Colors>
<Color>
<ReferenceID>0082FF00018</ReferenceID>
<R>0</R>
<G>130</G>
<B>255</B>
<DisplayName>Light Blue</DisplayName>
<DefaultName>Light Blue</DefaultName>
<SupplierCode>0001</SupplierCode>
<ThreadCode>8</ThreadCode>
</Color>
<Color>
<ReferenceID>FFA2B5000111</ReferenceID>
<R>255</R>
<G>162</G>
<B>181</B>
<DisplayName>Pink</DisplayName>
<DefaultName>Pink</DefaultName>
<SupplierCode>0001</SupplierCode>
<ThreadCode>11</ThreadCode>
</Color>
</Colors>
</Colorcollection>
<Colorcollection>
<ReferenceID>CC0010</ReferenceID>
<Name>10 Colors</Name>
<Service>Embroidery</Service>
<Count>1</Count>
<Colors>
<Color>
<ReferenceID>FF00FF00015</ReferenceID>
<R>255</R>
<G>0</G>
<B>255</B>
<DisplayName>Purple</DisplayName>
<DefaultName>Purple</DefaultName>
<SupplierCode>0001</SupplierCode>
<ThreadCode>5</ThreadCode>
</Color>
</Colors>
</Colorcollection>
</List>
</Response> |
Error Response |
---|
<Response>
<Success>false</Success>
<ErrorCode>MISSING_PARAMETER</ErrorCode>
<ErrorMessage>Detailed error message</ErrorMessage>
</Response> |
Properties
Name | Type | Description |
---|
Success | string | Possible values "true", "false". Return true if successfully executed and return false if failed to execute. |
Count | int | Total number of available color collections under your account. |
List | array/list | List / Array of Color Collections.
See object for more details |
List
Name | Type | Description |
---|
ReferenceID | string | unique identifier for color collection. Required to perform any activity on color collections. |
Name | string | Name of the color collection. |
Service | string | Name of the service for this color collection. |
Count | int | Number of colors in this collection. |
Colors | Array/List | List/Array of colors in this collection.
See object for more details |
Colors
Name | Type | Description |
---|
ReferenceID | string | unique identifier for color. Required to perform any activity on color object. |
R | int | Color R value. |
G | int | Color G value. |
B | int | Color B value. |
DisplayName | string | Color display name. |
DefaultName | string | Color default name. |
Manufacturer | string | Color manufacturer name. |
ThreadCode | string | Color thread code. |
Create Collection (Create)
Create a new color collection. If color collection already exists with same name then return the error object. User must be authentication to perform this activity
Method Url
https://client.livedesignerfusion.com/{username}/ColorCollections/Create?parameters
Parameters
Name | Type | Default | Required | Description |
Name |
string |
|
true |
Name of the color collection to be created. |
Service |
string |
|
true |
Service ID or name for the collection service. Embroidery or 1 to create collection for embroidery. Printing or 2 to create printing collection. |
Format |
string |
xml |
false |
output format. Available formats xml,json,jsonp. |
return the result object with the following properties
Expected Response |
---|
{
"success" : "true",
"referenceid" : "CC00001"
}
|
Error Response |
---|
{
"success" : "false",
"error_code" : "MISSING_PARAMETER",
"error_message" : "Detailed error message"
} |
Properties
Name | Type | Description |
---|
success | string | Possible values "true", "false". Return true if successfully executed and return false if failed to execute. |
referenceid | string | ReferenceID for the newly created collection. |
error_code | string | Only available if failed to execute. This is error identifier. refer to error code list for more details. |
error_message | string | Only available if failed to execute. This is detailed message for the error. |
Expected Response |
---|
<Response>
<Success>true</Success>
<ReferenceID>CC0001</ReferenceID>
</Response> |
Error Response |
---|
<Response>
<Success>false</Success>
<ErrorCode>MISSING_PARAMETER</ErrorCode>
<ErrorMessage>Detailed error message</ErrorMessage>
</Response> |
Properties
Name | Type | Description |
---|
Success | string | Possible values "true", "false". Return true if successfully executed and return false if failed to execute. |
ReferenceID | string | ReferenceID for the newly created collection. |
ErrorCode | string | Only available if failed to execute. This is error identifier. refer to error code list for more details. |
ErrorMessage | string | Only available if failed to execute. This is detailed message for the error. |
Add Color to collection. User must be authentication to perform this activity
Method Url
https://client.livedesignerfusion.com/{username}/ColorCollections/Add?parameters
Parameters
Name | Type | Default | Required | Description |
ReferenceID |
string |
|
true |
Color Collection ReferenceID. |
ColorReferenceID |
string |
|
true |
Comma seperated list of Color referenceid.Format is "6 digits Hex value+ 4 digits Supplier Code+ thread code" |
Format |
string |
xml |
false |
return the result object in this format. Available formts xml,json,jsonp |
Assign Color to collection and return the result object with the following properties
Expected Response |
---|
{
"success" : "true"
}
|
Error Response |
---|
{
"success" : "false",
"error_code" : "MISSING_PARAMETER",
"error_message" : "Detailed error message"
} |
Properties
Name | Type | Description |
---|
success | string | Possible values "true", "false". Return true if successfully executed and return false if failed to execute. |
error_code | string | Only available if failed to execute. This is error identifier. refer to error code list for more details. |
error_message | string | Only available if failed to execute. This is detailed message for the error. |
Expected Response |
---|
<Response>
<Success>true</Success>
</Response> |
Error Response |
---|
<Response>
<Success>false</Success>
<ErrorCode>MISSING_PARAMETER</ErrorCode>
<ErrorMessage>Detailed error message</ErrorMessage>
</Response> |
Properties
Name | Type | Description |
---|
Success | string | Possible values "true", "false". Return true if successfully executed and return false if failed to execute. |
ErrorCode | string | Only available if failed to execute. This is error identifier. refer to error code list for more details. |
ErrorMessage | string | Only available if failed to execute. This is detailed message for the error. |
Remove From Collection (Remove)
Remove Color from collection. User must be authentication to perform this activity
Method Url
https://client.livedesignerfusion.com/{username}/ColorCollections/Remove?parameters
Parameters
Name | Type | Default | Required | Description |
ReferenceID |
string |
|
true |
Color Collection ReferenceID. |
ColorReferenceID |
string |
|
true |
Color ReferenceID for the color to be removed from the collection. |
Format |
string |
xml |
false |
return the result object in this format. Available formts xml,json,jsonp |
Remove the color from collection and return the result object with the following properties
Expected Response |
---|
{
"success" : "true"
}
|
Error Response |
---|
{
"success" : "false",
"error_code" : "MISSING_PARAMETER",
"error_message" : "Detailed error message"
} |
Properties
Name | Type | Description |
---|
success | string | Possible values "true", "false". Return true if successfully executed Return false if failed to execute. |
error_code | string | Only available if failed to execute. This is error identifier. refer to error code list for more details. |
error_message | string | only available if failed to execute. This is detailed message for the error. |
Expected Response |
---|
<Response>
<Success>true</Success>
</Response> |
Error Response |
---|
<Response>
<Success>false</Success>
<ErrorCode>MISSING_PARAMETER</ErrorCode>
<ErrorMessage>Detailed error message</ErrorMessage>
</Response> |
Properties
Name | Type | Description |
---|
Success | string | Possible values "true", "false". Return true if successfully executed Return false if failed to execute. |
ErrorCode | string | Only available if failed to execute. This is error identifier. refer to error code list for more details. |
ErrorMessage | string | only available if failed to execute. This is detailed message for the error. |
SetSequence (SetSequence)
Set the Sequence of Colors in the collection. This sequence is used to display colors to end user. User must be authentication to perform this activity
Method Url
https://client.livedesignerfusion.com/{username}/ColorCollections/SetSequence?parameters
Parameters
Name | Type | Default | Required | Description |
ReferenceID |
string |
|
true |
Color Collection ReferenceID. |
ColorList |
string |
|
true |
comma separated list of Color ReferenceID for all the Colors to be seqenced. |
Format |
string |
xml |
false |
return the result object in this format. Available formts xml,json,jsonp |
Set the sequence of colors in the collection and return the result object with the following properties
Expected Response |
---|
{
"success" : "true"
}
|
Error Response |
---|
{
"success" : "false",
"error_code" : "MISSING_PARAMETER",
"error_message" : "Detailed error message"
} |
Properties
Name | Type | Description |
---|
success | string | Possible values "true", "false". Return true if successfully executed Return false if failed to execute. |
error_code | string | Only available if failed to execute. This is error identifier. refer to error code list for more details. |
error_message | string | only available if failed to execute. This is detailed message for the error. |
Expected Response |
---|
<Response>
<Success>true</Success>
</Response> |
Error Response |
---|
<Response>
<Success>false</Success>
<ErrorCode>MISSING_PARAMETER</ErrorCode>
<ErrorMessage>Detailed error message</ErrorMessage>
</Response> |
Properties
Name | Type | Description |
---|
Success | string | Possible values "true", "false". Return true if successfully executed Return false if failed to execute. |
ErrorCode | string | Only available if failed to execute. This is error identifier. refer to error code list for more details. |
ErrorMessage | string | only available if failed to execute. This is detailed message for the error. |
Delete Collection (Delete)
Delete Color collection and return the result object. User must be authentication to perform this activity
Method Url
https://client.livedesignerfusion.com/{username}/ColorCollections/Delete?parameters
Parameters
Name | Type | Default | Required | Description |
ReferenceID |
string |
|
true |
Color Collection ReferenceID. |
Format |
string |
xml |
false |
return the result object in this format. Available formts xml,json,jsonp |
Delete Color Collection and return the result object with the following properties
Expected Response |
---|
{
"success" : "true"
}
|
Error Response |
---|
{
"success" : "false",
"error_code" : "MISSING_PARAMETER",
"error_message" : "Detailed error message"
} |
Properties
Name | Type | Description |
---|
success | string | Possible values "true", "false"
Return true if successfully executed Return false if failed to execute. |
error_code | string | Only available if failed to execute. This is error identifier. refer to error code list for more details. |
error_message | string | only available if failed to execute. This is detailed message for the error. |
Expected Response |
---|
<Response>
<Success>true</Success>
</Response> |
Error Response |
---|
<Response>
<Success>false</Success>
<ErrorCode>MISSING_PARAMETER</ErrorCode>
<ErrorMessage>Detailed error message</ErrorMessage>
</Response> |
Properties
Name | Type | Description |
---|
Success | string | Possible values "true", "false"
Return true if successfully executed Return false if failed to execute. |
ErrorCode | string | Only available if failed to execute. This is error identifier. refer to error code list for more details. |
ErrorMessage | string | only available if failed to execute. This is detailed message for the error. |
Get Thread Color File (.clr File) (GetDefaultColorFile)
Returns .clr file with all he color information.
Method Url
https://client.livedesignerfusion.com/{username}/ColorCollections/GetDefaultColorFile?parameters
Parameters
Name | Type | Default | Required | Description |
ReferenceID |
string |
|
true |
ReferenceID for the Color File to be downloaded. |
Returns the Thread Catalog file.
Get Color File (.clr file) (GetColorFile)
Returns a comma-delimited file containing all of the color information for the provided Color Collection.
Method Url
https://client.livedesignerfusion.com/{username}/ColorCollections/GetColorFile?parameters
Parameters
Name | Type | Default | Required | Description |
ReferenceID |
string |
|
true |
ReferenceID of the requested thread collection. |
Returns the Color file.
Get Color Files List (GetDefaultColorFilesList)
Return the list of color default/global color files.
Method Url
https://client.livedesignerfusion.com/{username}/ColorCollections/GetDefaultColorFiles?parameters
Parameters
Name | Type | Default | Required | Description |
Format |
string |
xml |
false |
return the result object in this format. Available formts xml,json,jsonp |
Service |
string/int |
|
true |
Service ID or name to filter the dataset. Embroidery or 1 to retreive the list of embroidery color collections. Printing or 2 to retreive the list of printing color collections. |
return list of color collections.
Expected Response |
---|
{
"success": "true",
"count": 2,
"list": [
{
"referenceid": "- CSD Default Colors",
"name": "- CSD Default Colors"
},
{
"referenceid": "- HUS Default Colors",
"name": "- HUS Default Colors"
}
]
} |
Error Response |
---|
{
"success" : "false",
"error_code" : "MISSING_PARAMETER",
"error_message" : "Detailed error message"
} |
Properties
Name | Type | Description |
---|
success | string | Possible values "true", "false". Return true if successfully executed and return false if failed to execute. |
count | int | Total number of available color collections under your account. |
list | array/list | List / Array of color files..
See object for more details |
error_code | string | only available if failed to execute. This is error identifier. refer to error code list for more details. |
error_message | string | only available if failed to execute. This is detailed message for the error. |
list
Name | Type | Description |
---|
referenceid | string | unique identifier for color file. |
name | string | Name of the color collection. |
Expected Response |
---|
<Response>
<Success>true</Success>
<Count>2</Count>
<List>
<ColorFile>
<ReferenceID>- CSD Default Colors</ReferenceID>
<Name>- CSD Default Colors</Name>
</ColorFile>
<ColorFile>
<ReferenceID>- HUS Default Colors</ReferenceID>
<Name>- HUS Default Colors</Name>
</ColorFile>
</List>
</Response> |
Error Response |
---|
<Response>
<Success>false</Success>
<ErrorCode>MISSING_PARAMETER</ErrorCode>
<ErrorMessage>Detailed error message</ErrorMessage>
</Response> |
Properties
Name | Type | Description |
---|
Success | string | Possible values "true", "false". Return true if successfully executed and return false if failed to execute. |
Count | int | Total number of available color collections under your account. |
List | array/list | List / Array of color files..
See object for more details |
ErrorCode | string | only available if failed to execute. This is error identifier. refer to error code list for more details. |
ErrorMessage | string | only available if failed to execute. This is detailed message for the error. |
List
Name | Type | Description |
---|
ReferenceID | string | unique identifier for color file. |
Name | string | Name of the color collection. |
Get List of Color in Color File (GetColorFileDetails)
Return the list of colors in color file.
Method Url
https://client.livedesignerfusion.com/{username}/ColorCollections/GetColorFileDetails?parameters
Parameters
Name | Type | Default | Required | Description |
Format |
string |
xml |
false |
return the result object in this format. Available formts xml,json,jsonp |
ReferenceID |
string |
|
true |
ReferenceID of Color File. |
return list of color collections.
Expected Response |
---|
{
"success": "true",
"count": 2,
"list": [
{
"manufacturer": null,
"thread_code": "1",
"supplier_code": "0001",
"name": "Black",
"r": 0,
"g": 0,
"b": 0,
"active": []
},
{
"manufacturer": null,
"thread_code": "2",
"supplier_code": "0001",
"name": "Blue",
"r": 0,
"g": 0,
"b": 255,
"active": [
1
]
}
]
} |
Error Response |
---|
{
"success" : "false",
"error_code" : "MISSING_PARAMETER",
"error_message" : "Detailed error message"
} |
Properties
Name | Type | Description |
---|
success | string | Possible values "true", "false". Return true if successfully executed and return false if failed to execute. |
count | int | Total number of available color collections under your account. |
list | array/list | List / Array of color files..
See object for more details |
list
Name | Type | Description |
---|
objectid | int | unique id |
manufacturer | string | Thread Manufacturer |
thread_code | string | Supplier Thread Code |
supplier_code | string | Supplier Code |
name | string | Thread Name |
r | int | Color r value |
g | int | Color g value |
b | int | Color b value |
Expected Response |
---|
<Response>
<Success>true</Success>
<Count>2</Count>
<List>
<Color>
<Manufacturer />
<ThreadCode>1</ThreadCode>
<SupplierCode>0001</SupplierCode>
<Name>Black</Name>
<R>0</R>
<G>0</G>
<B>0</B>
<Active />
</Color>
<Color>
<Manufacturer />
<ThreadCode>2</ThreadCode>
<SupplierCode>0001</SupplierCode>
<Name>Blue</Name>
<R>0</R>
<G>0</G>
<B>255</B>
<Active />
</Color>
</List>
</Response> |
Error Response |
---|
<Response>
<Success>false</Success>
<ErrorCode>MISSING_PARAMETER</ErrorCode>
<ErrorMessage>Detailed error message</ErrorMessage>
</Response> |
Properties
Name | Type | Description |
---|
Success | string | Possible values "true", "false". Return true if successfully executed and return false if failed to execute. |
Count | int | Total number of available color collections under your account. |
List | array/list | List / Array of color files..
See object for more details |
List
Name | Type | Description |
---|
Objectid | int | unique id |
Manufacturer | string | Thread Manufacturer |
ThreadCode | string | Supplier Thread Code |
SupplierCode | string | Supplier Code |
Name | string | Thread Name |
R | int | Color r value |
G | int | Color g value |
B | int | Color b value |