GET 3dCartWebAPI/v1/FrontendScripts
Get all Frontend Scripts
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
limit |
Maximum number of items that can be returned |
integer |
Default value is 10 |
offset |
Starting point for the return data |
integer |
Default value is 1 |
countonly |
Count the number of rows only |
integer |
Default value is 0 |
Body Parameters
None.
Sample Request |
|
Response Information
Resource Description
Collection of FrontendScriptsName | Description | Type | Additional information |
---|---|---|---|
FrontendScriptID |
Primary key. Auto-incremented. database reference = FrontendScripts.id |
integer |
None. |
Placement |
(BODY | HEAD) database reference = FrontendScripts.placement |
string |
String length: inclusive between 0 and 50 |
Code |
database reference = FrontendScripts.code |
string |
String length: inclusive between 0 and 65535 |
DateCreated |
database reference = FrontendScripts.date_created |
date |
None. |
LastUpdate |
database reference = FrontendScripts.last_update |
date |
None. |
Response Formats
application/json, text/json
Sample:
[ { "FrontendScriptID": 1, "Placement": "sample string 1", "Code": "sample string 2", "DateCreated": "03/27/2024 23:14", "LastUpdate": "03/27/2024 23:14" }, { "FrontendScriptID": 1, "Placement": "sample string 1", "Code": "sample string 2", "DateCreated": "03/27/2024 23:14", "LastUpdate": "03/27/2024 23:14" } ]
application/xml, text/xml
Sample:
<ArrayOfFrontendScripts xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <FrontendScripts> <FrontendScriptID>1</FrontendScriptID> <Placement>sample string 1</Placement> <Code>sample string 2</Code> <DateCreated>2024-03-27T23:14:57.1375832-04:00</DateCreated> <LastUpdate>2024-03-27T23:14:57.1375832-04:00</LastUpdate> </FrontendScripts> <FrontendScripts> <FrontendScriptID>1</FrontendScriptID> <Placement>sample string 1</Placement> <Code>sample string 2</Code> <DateCreated>2024-03-27T23:14:57.1375832-04:00</DateCreated> <LastUpdate>2024-03-27T23:14:57.1375832-04:00</LastUpdate> </FrontendScripts> </ArrayOfFrontendScripts>