<back to all web services

AddonMessage

The following routes are available for this service:
GET POST/RestApi/Sitefinity/packaging/add-on
AddonMessage Parameters:
NameParameterData TypeRequiredDescription
IdbodyGuidNo
IncludeContentbodyboolNo
DeactivatebodyboolNo
AddonInfo Parameters:
NameParameterData TypeRequiredDescription
IdformGuidNo
NameformstringNo
IsActiveformboolNo
DescriptionformstringNo
IsDataImportedformboolNo
VersionformstringNo
AuthorformstringNo
DataImportedToSiteNameformstringNo
EntriesformICollection<AddOnEntry>No
HasErrorsOnContentImportformboolNo
HasErrorsOnStructureImportformboolNo
HasErrorsOnActivateformboolNo
AddOnEntry Parameters:
NameParameterData TypeRequiredDescription
DisplayNameformstringNo
CountformintNo
AddonEntryTypeformAddOnEntryTypeNo
AddOnEntryType Enum:
Content
Template
Custom
Module
Form
Classification
WebService

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /RestApi/Sitefinity/packaging/add-on HTTP/1.1 
Host: www.asg.com.au 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"IncludeContent":false,"Deactivate":false}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Name":"String","IsActive":false,"Description":"String","IsDataImported":false,"Version":"String","Author":"String","DataImportedToSiteName":"String","HasErrorsOnContentImport":false,"HasErrorsOnStructureImport":false,"HasErrorsOnActivate":false}