POST api/ListTemplates

Request Information

URI Parameters

None.

Body Parameters

TemplateFilter
NameDescriptionTypeAdditional information
IsWorkflowCreated

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "IsWorkflowCreated": true
}

application/xml, text/xml

Sample:
<TemplateFilter xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <IsWorkflowCreated>true</IsWorkflowCreated>
</TemplateFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReturnObjectOfListOfGetWorkflow
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Messages

Collection of string

None.

ErrorCode

integer

None.

Response

Collection of GetWorkflow

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Messages": [
    "sample string 1",
    "sample string 2"
  ],
  "ErrorCode": 2,
  "Response": [
    {
      "TemplateId": 1,
      "TemplateName": "sample string 2",
      "ParentId": 3,
      "TemplateType": 4,
      "SubscriberId": 5
    },
    {
      "TemplateId": 1,
      "TemplateName": "sample string 2",
      "ParentId": 3,
      "TemplateType": 4,
      "SubscriberId": 5
    }
  ]
}

application/xml, text/xml

Sample:
<ReturnObjectOfListOfGetWorkflow xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <IsSuccess>true</IsSuccess>
  <Messages>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </Messages>
  <ErrorCode>2</ErrorCode>
  <Response>
    <GetWorkflow>
      <TemplateId>1</TemplateId>
      <TemplateName>sample string 2</TemplateName>
      <ParentId>3</ParentId>
      <TemplateType>4</TemplateType>
      <SubscriberId>5</SubscriberId>
    </GetWorkflow>
    <GetWorkflow>
      <TemplateId>1</TemplateId>
      <TemplateName>sample string 2</TemplateName>
      <ParentId>3</ParentId>
      <TemplateType>4</TemplateType>
      <SubscriberId>5</SubscriberId>
    </GetWorkflow>
  </Response>
</ReturnObjectOfListOfGetWorkflow>