GET 3dCartWebAPI/v1/FrontendScripts/{id}


Get a Frontend Script

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

FrontendScripts ID

integer

Required

Body Parameters

None.


Sample Request



Response Information

Resource Description

Collection of FrontendScripts
NameDescriptionTypeAdditional 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": "10/16/2019 22:26",
    "LastUpdate": "10/16/2019 22:26"
  },
  {
    "FrontendScriptID": 1,
    "Placement": "sample string 1",
    "Code": "sample string 2",
    "DateCreated": "10/16/2019 22:26",
    "LastUpdate": "10/16/2019 22:26"
  }
]

application/xml, text/xml

Sample:
<ArrayOfFrontendScripts xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <FrontendScripts>
    <Code>sample string 2</Code>
    <DateCreated>2019-10-16T22:26:02.9331641-04:00</DateCreated>
    <FrontendScriptID>1</FrontendScriptID>
    <LastUpdate>2019-10-16T22:26:02.9331641-04:00</LastUpdate>
    <Placement>sample string 1</Placement>
  </FrontendScripts>
  <FrontendScripts>
    <Code>sample string 2</Code>
    <DateCreated>2019-10-16T22:26:02.9331641-04:00</DateCreated>
    <FrontendScriptID>1</FrontendScriptID>
    <LastUpdate>2019-10-16T22:26:02.9331641-04:00</LastUpdate>
    <Placement>sample string 1</Placement>
  </FrontendScripts>
</ArrayOfFrontendScripts>