GET api/Emails/WorkOrders/{workOrderId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
workOrderId

integer

Required

Body Parameters

None

Response Information

Resource Description

EmailTemplateViewModel
NameDescriptionTypeAdditional information
IsSubjectEnable

boolean None.
Subject

string None.
Body

string None.

Response Formats

application/json, text/json

Sample:
{
  "isSubjectEnable": true,
  "subject": "sample string 2",
  "body": "sample string 3"
}

application/xml, text/xml

Sample:
<EmailTemplateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/fmPilot.API.Internal.Models">
  <Body>sample string 3</Body>
  <IsSubjectEnable>true</IsSubjectEnable>
  <Subject>sample string 2</Subject>
</EmailTemplateViewModel>