GET api/Common/getSmsTemplate/{DocumentId}/{TypeId}/{BranchId}/{MessageType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DocumentId

string

Required

TypeId

string

Required

BranchId

string

Required

MessageType

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of GetTemplateByDocumentIdResult
NameDescriptionTypeAdditional information
TemplateId

decimal number

None.

TemplateName

string

None.

Template

string

None.

DLTTemplateId

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "TemplateId": 1.0,
    "TemplateName": "sample string 2",
    "Template": "sample string 3",
    "DLTTemplateId": "sample string 4"
  },
  {
    "TemplateId": 1.0,
    "TemplateName": "sample string 2",
    "Template": "sample string 3",
    "DLTTemplateId": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfGetTemplateByDocumentIdResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.Dataset">
  <GetTemplateByDocumentIdResult>
    <DLTTemplateId>sample string 4</DLTTemplateId>
    <Template>sample string 3</Template>
    <TemplateId>1</TemplateId>
    <TemplateName>sample string 2</TemplateName>
  </GetTemplateByDocumentIdResult>
  <GetTemplateByDocumentIdResult>
    <DLTTemplateId>sample string 4</DLTTemplateId>
    <Template>sample string 3</Template>
    <TemplateId>1</TemplateId>
    <TemplateName>sample string 2</TemplateName>
  </GetTemplateByDocumentIdResult>
</ArrayOfGetTemplateByDocumentIdResult>