The following SOAP methods are provided specifically for interaction with SmartLinks.
create
New creation of a SmartLink
EvalancheResourceInformation create ( string name, int category_id )
Details
Parameters
- string name: Name of the SmartLink
- int category_id: ID of the folder in which the SmartLink was created
Return value
- string url: External URL of the SmartLink
- int type_id: Type_id of the SmartLink
- int category_id: ID of the folder in which the SmartLink was created
- int customer_id: ID of the client in which the SmartLink was created
- int id: ID of the SmartLink
- string name: Name of the SmartLink
Required rights
Creating SmartLink
Use
<soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:smar="https://scnem.com/soap.php/soap/smartlink"> <soapenv
:Header/> <soapenv
:Body> <smar:
create> <name>SMARTLINK_NAME</name>
<category_id>FOLDER_ID</category_id>
</smar:create> </soapenv:
Body> </soapenv:Envelope>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://scnem.com/soap.php/soap/smartlink"> <SOAP-ENV
:Body> <ns1:
createResponse> <createResult>
<url>SMARTLINK_URL</url>
<type_id>SMARTLINK_TYPE_ID</type_id>
<category_id>FOLDER_ID<
/category_id> <customer_id>MANDATOR_ID</customer_id>
<id>SMARTLINK_ID</id>
<name>SMARTLINK_NAME</name>
</createResult> </ns1:
createResponse> </SOAP-ENV
:Body> </SOAP-ENV
:Envelope>
createLink
Creating a new SmartLink Link
EvalancheResourceInformation createLink ( int smartlink_id, string link_name, string link_url )
Details
Parameters
- int smartlink_id: ID of the SmartLink object in which the new SmartLink Link is to be created
- string link_name: Name of the new SmartLink link
- string link_url: URL of the new SmartLink link
Return value
- string url: Integration URL of the new SmartLink Link
Required rights
Change SmartLink
Use
<soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:smar="https://scnem.com/soap.php/soap/smartlink"> <soapenv
:Header/> <soapenv
:Body> <smar:
createLink> <smartlink_id>SMARTLINK_ID</smartlink_id>
<link_name>LINK_NAME</link_name>
<link_url>LINK_URL</link_url>
</smar:createLink> </soapenv:Body> </soapenv
:Envelope>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://scnem.com/soap.php/soap/smartlink"> <SOAP-ENV
:Body> <ns1:
createLinkResponse> <createLinkResult>SMARTLINK_LINK_TRACKING_URL</createLinkResult>
</ns1:createLinkResponse> </SOAP-ENV
:Body> </SOAP-ENV:Envelope>
getTrackingUrls
Reading the integration URLs of a SmartLink
EvalancheResourceInformation getTrackingUrls ( int smartlink_id )
Details
Parameters
- int smartlink_id: ID of the SmartLink object whose integration URLs are to be read
Return value
- int id: ID of the SmartLink link. string name: Name of the SmartLink link
- string name: Name of the SmartLink link
- string url: Integration URL of the SmartLink link
Required rights
Show SmartLink
Use
<soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:smar="https://scnem.com/soap.php/soap/smartlink"> <soapenv
:Header/> <soapenv
:Body> <smar:getTrackingUrls>
<smartlink_id>SMARTLINK_URL</smartlink_id>
</smar:
getTrackingUrls> </soapenv
:Body> </soapenv
:Envelope> >/soapenv:Envelope>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://scnem.com/soap.php/soap/smartlink"> <SOAP-ENV
:Body> <ns1:
getTrackingUrlsResponse> <getTrackingUrlsResult>
<item> <id>SMARTLINK_ID</id>
<name>SMARTLINK_NAME</name>
<tracking_url>SMARTLINK_LINK_TRACKING_URL>/tracking_url>
</item> [.
..]
</getTrackingUrlsResult> </ns1
:getTrackingUrlsResponse> </SOAP-ENV:
Body> </SOAP-ENV:Envelope> </SOAP-ENV
:Envelope>