GET Api/Global/Content/ContentTypes

Returns content categories which is available on the server

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

CustomResponseObjectOfIEnumerableOfContentType
NameDescriptionTypeAdditional information
CustomResponseState

boolean

None.

CustomResponseMessage

string

None.

CustomObject

Collection of ContentType

None.

CustomRedirectionUri

string

None.

GlobalRequestToken

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CustomResponseState": true,
  "CustomResponseMessage": "sample string 2",
  "CustomObject": [
    {
      "ContentTypeId": "sample string 1",
      "ContentTypeName": "sample string 2",
      "ContentTypeDescription": "sample string 3",
      "ContentTypeDescriptionDeneme": "sample string 4"
    },
    {
      "ContentTypeId": "sample string 1",
      "ContentTypeName": "sample string 2",
      "ContentTypeDescription": "sample string 3",
      "ContentTypeDescriptionDeneme": "sample string 4"
    }
  ],
  "CustomRedirectionUri": "sample string 3",
  "GlobalRequestToken": "sample string 4"
}

text/html

Sample:
{"CustomResponseState":true,"CustomResponseMessage":"sample string 2","CustomObject":[{"ContentTypeId":"sample string 1","ContentTypeName":"sample string 2","ContentTypeDescription":"sample string 3","ContentTypeDescriptionDeneme":"sample string 4"},{"ContentTypeId":"sample string 1","ContentTypeName":"sample string 2","ContentTypeDescription":"sample string 3","ContentTypeDescriptionDeneme":"sample string 4"}],"CustomRedirectionUri":"sample string 3","GlobalRequestToken":"sample string 4"}

application/xml, text/xml

Sample:
<CustomResponseObjectOfArrayOfContentTypem4UkzHxs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/we.net.dto">
  <CustomObject>
    <ContentType>
      <ContentTypeDescription>sample string 3</ContentTypeDescription>
      <ContentTypeDescriptionDeneme>sample string 4</ContentTypeDescriptionDeneme>
      <ContentTypeId>sample string 1</ContentTypeId>
      <ContentTypeName>sample string 2</ContentTypeName>
    </ContentType>
    <ContentType>
      <ContentTypeDescription>sample string 3</ContentTypeDescription>
      <ContentTypeDescriptionDeneme>sample string 4</ContentTypeDescriptionDeneme>
      <ContentTypeId>sample string 1</ContentTypeId>
      <ContentTypeName>sample string 2</ContentTypeName>
    </ContentType>
  </CustomObject>
  <CustomRedirectionUri>sample string 3</CustomRedirectionUri>
  <CustomResponseMessage>sample string 2</CustomResponseMessage>
  <CustomResponseState>true</CustomResponseState>
  <GlobalRequestToken>sample string 4</GlobalRequestToken>
</CustomResponseObjectOfArrayOfContentTypem4UkzHxs>