POST api/logs
Request Information
URI Parameters
None.
Body Parameters
GetScriptLogRequestName | Description | Type | Additional information |
---|---|---|---|
ScriptID | string |
None. |
|
Testing | boolean |
None. |
|
StartDateUtc | date |
None. |
|
EndDateUtc | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "ScriptID": "sample string 1", "Testing": true, "StartDateUtc": "2025-03-15T22:24:54.2556409-07:00", "EndDateUtc": "2025-03-15T22:24:54.2556409-07:00" }
application/xml, text/xml
Sample:
<GetScriptLogRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LeadExec.DynamicService.Editor.API.Models"> <EndDateUtc>2025-03-15T22:24:54.2556409-07:00</EndDateUtc> <ScriptID>sample string 1</ScriptID> <StartDateUtc>2025-03-15T22:24:54.2556409-07:00</StartDateUtc> <Testing>true</Testing> </GetScriptLogRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of DynamicScriptingLogItemName | Description | Type | Additional information |
---|---|---|---|
ID | string |
None. |
|
LogDate | date |
None. |
|
Duration | integer |
None. |
|
URL | string |
None. |
|
Request | string |
None. |
|
Response | string |
None. |
|
ErrorGenerated | boolean |
None. |
|
Error | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": "sample string 1", "LogDate": "2025-03-15T22:24:54.5837621-07:00", "Duration": 3, "URL": "sample string 4", "Request": "sample string 5", "Response": "sample string 6", "ErrorGenerated": true, "Error": "sample string 8" }, { "ID": "sample string 1", "LogDate": "2025-03-15T22:24:54.5837621-07:00", "Duration": 3, "URL": "sample string 4", "Request": "sample string 5", "Response": "sample string 6", "ErrorGenerated": true, "Error": "sample string 8" } ]
application/xml, text/xml
Sample:
<ArrayOfDynamicScriptingLogItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LeadExec.DynamicService.Editor.API.Models"> <DynamicScriptingLogItem> <Duration>3</Duration> <Error>sample string 8</Error> <ErrorGenerated>true</ErrorGenerated> <ID>sample string 1</ID> <LogDate>2025-03-15T22:24:54.5837621-07:00</LogDate> <Request>sample string 5</Request> <Response>sample string 6</Response> <URL>sample string 4</URL> </DynamicScriptingLogItem> <DynamicScriptingLogItem> <Duration>3</Duration> <Error>sample string 8</Error> <ErrorGenerated>true</ErrorGenerated> <ID>sample string 1</ID> <LogDate>2025-03-15T22:24:54.5837621-07:00</LogDate> <Request>sample string 5</Request> <Response>sample string 6</Response> <URL>sample string 4</URL> </DynamicScriptingLogItem> </ArrayOfDynamicScriptingLogItem>