ADD REQUEST using REST API (for custom template) in ServiceDesk

ADD REQUEST using REST API (for custom template) in ServiceDesk

A custom template is created from the ServiceDesk console. Now I'm trying to add request using REST API for this template. But every time, instead of the custom template the default template gets selected. Does any one have an example of using API with custom template?

The XML I'm using to add request -

<?xml version="1.0" encoding="utf-8" ?>
<Operation>
  <Details>
    <Category>Some Category</Category>
    <Name>Some Name</Name>
    <CustomeTag01></CustomeTag01>
    <CustomeTag02></CustomeTag02>
    <CustomeTag03></CustomeTag03>
    <Description></Description>
  </Details>
</Operation>

                  New to ADSelfService Plus?