GET api.ashx/v2/contentconversion/targetcontenttypes.{json|xml}
Lists content types that source content can be converted to
Request Parameters
| Name | Type | Location | Description | Required | Default | Options |
|---|---|---|---|---|---|---|
| SourceContentId | Guid | Query String | Source Content Id | Required | ||
| SourceContentTypeId | Guid | Query String | Source Content Type Id | Required |
Example Requests
Widget Javascript
jQuery.telligent.evolution.get({
url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/contentconversion/targetcontenttypes.json?SourceContentId=49fec544-6df7-4a82-872b-f8be586d5e9e&SourceContentTypeId=49fec544-6df7-4a82-872b-f8be586d5e9e',
data: {
'SourceContentId': '49fec544-6df7-4a82-872b-f8be586d5e9e',
'SourceContentTypeId': '49fec544-6df7-4a82-872b-f8be586d5e9e'
}
}).then(function(response) {
// use response
});Example Responses
JSON
{
"TargetContentTypes": [
{
"Id": "49fec544-6df7-4a82-872b-f8be586d5e9e",
"Name": "name",
"ApplicationTypes": [
{
"Id": "9f5a6721-639d-4e1d-ab6a-ce63b7750f46",
"Name": "name"
},
{
"Id": "fe65240b-044c-4292-9946-f10e0361ecff",
"Name": "name"
}
]
},
{
"Id": "2d525bad-c4df-470d-a193-a1c6d66e5c3e",
"Name": "name",
"ApplicationTypes": [
{
"Id": "bd519379-b61f-4e2f-b0f9-c0f28c5cceb1",
"Name": "name"
},
{
"Id": "9ba1ec43-dc34-4e27-a579-4a0855144e2f",
"Name": "name"
}
]
}
],
"Errors": [
"string",
"string"
]
}XML
<?xml version="1.0" encoding="utf-16"?>
<Response>
<TargetContentTypes>
<ContentType>
<Id>49fec544-6df7-4a82-872b-f8be586d5e9e</Id>
<Name>name</Name>
<ApplicationTypes>
<ApplicationType>
<Id>9f5a6721-639d-4e1d-ab6a-ce63b7750f46</Id>
<Name>name</Name>
</ApplicationType>
<ApplicationType>
<Id>fe65240b-044c-4292-9946-f10e0361ecff</Id>
<Name>name</Name>
</ApplicationType>
</ApplicationTypes>
</ContentType>
<ContentType>
<Id>2d525bad-c4df-470d-a193-a1c6d66e5c3e</Id>
<Name>name</Name>
<ApplicationTypes>
<ApplicationType>
<Id>bd519379-b61f-4e2f-b0f9-c0f28c5cceb1</Id>
<Name>name</Name>
</ApplicationType>
<ApplicationType>
<Id>9ba1ec43-dc34-4e27-a579-4a0855144e2f</Id>
<Name>name</Name>
</ApplicationType>
</ApplicationTypes>
</ContentType>
</TargetContentTypes>
<Errors>
<Message>string</Message>
<Message>string</Message>
</Errors>
</Response>