List of products in blocks of 50. Returns total number of product records and how many records were returned. Call this method with incrementing block numbers until the status returned is "no records retrieved".
You must be logged in to use this method. Basic Authentication is supported.
Parameters
Possible Return Data
List: ErrorQueue
ErrorNumber
(long integer)
ErrorPosition
(string[255])
ErrorRecordId
(string[255])
ErrorDescription
(string[255])
ErrorRecommendation
(string[255])
Group: result
status
(string[5000])
List: category
categoryid
(long integer)
udfieldid
(long integer)
description
(string[100])
fieldname
(string[60])
type
(string[30])
options
(string[20000])
JSON POST (JSON Response)
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
function customer_udf_definitions_list_jsonpost(host,jsondata,username,password,result){ fetch(host + "/customer_udf_definitions_list", { method: "POST", credentials: "include", headers: { "Authorization": "Basic " + btoa(username + ":" + password), "Content-Type": "application/json", "Accept": "application/json;", }, body: jsondata }).then(function(response){ // get the text out of the reply return response.text() }).then( function(text){ // do something with the text reply textToTextarea(text,result) }) } var host = "https://localhost:2293"
function customer_udf_definitions_list_getjson(host,urldata,username,password,result){ fetch(host + "/customer_udf_definitions_list" +"?" + urldata, { credentials: "include", headers: { "Authorization": "Basic " + btoa(username + ":" + password), "Accept": "application/json;", } }).then(function(response){ // get the text out of the reply return response.text() }).then( function(text){ // do something with the text reply }) } var host = "https://localhost:2293"
function customer_udf_definitions_list_restjson(host,id,username,password,result){ fetch(host + "/api/customer_udf_definitions_list/" + id, { credentials: "include", headers: { "Authorization": "Basic " + btoa(username + ":" + password), "Accept": "application/json;", } }).then(function(response){ // get the text out of the reply return response.text() }).then( function(text){ // do something with the text reply }) } var host = "https://localhost:2293"