Operation

get /esmBrowser/genericSvcTemplate/getAllPublishedTemplatesByPath/{context}/{localTimeZoneOffset}/{globalFolderFlag}
getAllPublishedTemplatesByPath (getAllPublishedTemplatesByPath : /esmBrowser/genericSvcTemplate/getAllPublishedTemplatesByPath/{context}/{localTimeZoneOffset}/{globalFolderFlag})
This method fetches published and unpublished service , erp , oam ,Qos ,lag , mclag template details based on the path.Path is determined when the user click on particular folder.

localTimeZoneOffset specifies clientTimeZoneOffset.
clientTimeZoneOffset = UTC+Offset or UTC-Offset.
globalFolderFlag is a boolean value which specifies whether a folder exists or not. If folder exists then pass value as 1 else 0

Path parameters

Name

IsRequired

Description

Enum

context required Template path ---
localTimeZoneOffset required client time Zone offset to be updated,the value of clientZoneOffset depends on the location of the user.Generally clientZoneOffset= UTC+Offset or UTC-Offset. ---
globalFolderFlag required globalFolderFlag is a boolean value which specifies whether a folder exists or not. If folder exists then pass value as 1 else 0 ---

Return type
  • GenericTemplateHolder
  • Responses

    Response Messages

    Schema

    200success GenericTemplateHolder
    401Unauthorized ---
    403Forbidden ---
    404Not Found ---
    Example Request Data

    esmBrowser/genericSvcTemplate/getAllPublishedTemplatesByPath/$path+$templateName/+5:30/0

    Produces
    This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
    • application/xml
    Example Response Data
    <GenericTemplateHolder> <genericTemplate> <author>alcatel</author> <createTime>-</createTime> <modifyTime>2015-12-09 16:58:29</modifyTime> <templateId>2</templateId> <templateName>ERP_SubRing</templateName> <templatePath>Best Practices/ERP Template/</templatePath> <templatePropagateTopoChng>0</templatePropagateTopoChng> <templateState>PUBLISHED</templateState> <templateType>Sub Ring</templateType> </genericTemplate> </GenericTemplateHolder>

    External Docs
    See Also :

    Operation

    get /esmBrowser/genericSvcTemplate/getAllTemplatesByPath/{context}/{localTimeZoneOffset}/{globalFolderFlag}
    getAllTemplatesByPath (getAllTemplatesByPath : /esmBrowser/genericSvcTemplate/getAllTemplatesByPath/{context}/{localTimeZoneOffset}/{globalFolderFlag})
    This method fetches published and unpublished service , erp , oam ,qos ,lag , mclag template details based on the path . Path is determined when the user click on particular folder .

    Here Context specifies "TemplatePath".
    localTimeZoneOffset specifies clientTimeZoneOffset.
    clientTimeZoneOffset = UTC+Offset or UTC-Offset.
    globalFolderFlag is a boolean value which specifies whether a folder exists or not. If folder exists then pass value as 1 else 0

    Path parameters

    Name

    IsRequired

    Description

    Enum

    context required Template path ---
    localTimeZoneOffset required client time Zone offset to be updated,the value of clientZoneOffset depends on the location of the user.Generally clientZoneOffset= UTC+Offset or UTC-Offset. ---
    globalFolderFlag required globalFolderFlag is a boolean value which specifies whether a folder exists or not. If folder exists then pass value as 1 else 0 ---

    Return type
  • GenericTemplateHolder
  • Responses

    Response Messages

    Schema

    200success GenericTemplateHolder
    401Unauthorized ---
    403Forbidden ---
    404Not Found ---
    Example Request Data

    /esmBrowser/genericSvcTemplate/getAllTemplatesByPath/My%20Templates+/+5:30/1

    Produces
    This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
    • application/xml
    Example Response Data
    <GenericTemplateHolder> <genericTemplate> <author>alcatel</author> <createTime>2015-12-04 13:49:48</createTime> <modifyTime>2015-12-04 13:49:48</modifyTime> <templateId>3</templateId> <templateName>AUTO-ERP-TEMPLATE-1</templateName> <templatePath>My Templates/ERP Templates/</templatePath> <templatePropagateTopoChng>0</templatePropagateTopoChng> <templateState>PUBLISHED</templateState> <templateType>Major Ring</templateType> </genericTemplate> </GenericTemplateHolder>

    External Docs
    See Also :

    GenericTemplate

    Name

    Type

    Description

    Enum

    templateName String string TemplateName ---
    templatePath String string TemplatePath ---
    templateType String string TemplateType ---
    templateId String string TemplateId ---
    author String string Author for the template ---
    createTime String string CreateTime ---
    modifyTime String string ModifyTime ---
    templateState String string --- ---
    templatePropagateTopoChng Integer integer PropagateTopoChng ---
    qosTemplateType Integer integer --- ---

    GenericTemplateHolder

    Name

    Type

    Description

    Enum

    genericTemplateHolder array[GenericTemplate ] GenericTemplate Generic Template data ---