GET api/serviceitems/{scriptId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
scriptId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
DynamicServiceItemName | Description | Type | Additional information |
---|---|---|---|
ID | string |
None. |
|
AccountUID | integer |
None. |
|
AccountName | string |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
ContentType | string |
None. |
|
DateAdded | date |
None. |
|
DateModified | date |
None. |
|
DateLastRun | date |
None. |
|
Enabled | boolean |
None. |
|
PendingDeveloperReview | boolean |
None. |
|
ApprovedBy | string |
None. |
|
ApprovedOn | date |
None. |
|
Files | Collection of DynamicServiceItemFileItem |
None. |
|
StageFiles | Collection of DynamicServiceItemFileItem |
None. |
|
References | Collection of DynamicServiceItemReferenceItem |
None. |
|
StageReferences | Collection of DynamicServiceItemReferenceItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": "sample string 1", "AccountUID": 2, "AccountName": "sample string 3", "Name": "sample string 4", "Description": "sample string 5", "ContentType": "sample string 6", "DateAdded": "2025-03-16T11:41:47.1258595-07:00", "DateModified": "2025-03-16T11:41:47.1258595-07:00", "DateLastRun": "2025-03-16T11:41:47.1258595-07:00", "Enabled": true, "PendingDeveloperReview": true, "ApprovedBy": "sample string 11", "ApprovedOn": "2025-03-16T11:41:47.1258595-07:00", "Files": [ { "FileName": "sample string 1", "FileText": "sample string 2" }, { "FileName": "sample string 1", "FileText": "sample string 2" } ], "StageFiles": [ { "FileName": "sample string 1", "FileText": "sample string 2" }, { "FileName": "sample string 1", "FileText": "sample string 2" } ], "References": [ { "Name": "sample string 1", "Path": "sample string 2" }, { "Name": "sample string 1", "Path": "sample string 2" } ], "StageReferences": [ { "Name": "sample string 1", "Path": "sample string 2" }, { "Name": "sample string 1", "Path": "sample string 2" } ] }
application/xml, text/xml
Sample:
<DynamicServiceItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LeadExec.DynamicService.Editor.API.Models"> <AccountName>sample string 3</AccountName> <AccountUID>2</AccountUID> <ApprovedBy>sample string 11</ApprovedBy> <ApprovedOn>2025-03-16T11:41:47.1258595-07:00</ApprovedOn> <ContentType>sample string 6</ContentType> <DateAdded>2025-03-16T11:41:47.1258595-07:00</DateAdded> <DateLastRun>2025-03-16T11:41:47.1258595-07:00</DateLastRun> <DateModified>2025-03-16T11:41:47.1258595-07:00</DateModified> <Description>sample string 5</Description> <Enabled>true</Enabled> <Files> <DynamicServiceItemFileItem> <FileName>sample string 1</FileName> <FileText>sample string 2</FileText> </DynamicServiceItemFileItem> <DynamicServiceItemFileItem> <FileName>sample string 1</FileName> <FileText>sample string 2</FileText> </DynamicServiceItemFileItem> </Files> <ID>sample string 1</ID> <Name>sample string 4</Name> <PendingDeveloperReview>true</PendingDeveloperReview> <References> <DynamicServiceItemReferenceItem> <Name>sample string 1</Name> <Path>sample string 2</Path> </DynamicServiceItemReferenceItem> <DynamicServiceItemReferenceItem> <Name>sample string 1</Name> <Path>sample string 2</Path> </DynamicServiceItemReferenceItem> </References> <StageFiles> <DynamicServiceItemFileItem> <FileName>sample string 1</FileName> <FileText>sample string 2</FileText> </DynamicServiceItemFileItem> <DynamicServiceItemFileItem> <FileName>sample string 1</FileName> <FileText>sample string 2</FileText> </DynamicServiceItemFileItem> </StageFiles> <StageReferences> <DynamicServiceItemReferenceItem> <Name>sample string 1</Name> <Path>sample string 2</Path> </DynamicServiceItemReferenceItem> <DynamicServiceItemReferenceItem> <Name>sample string 1</Name> <Path>sample string 2</Path> </DynamicServiceItemReferenceItem> </StageReferences> </DynamicServiceItem>