POST api/EMRAPI/GetServiceTemplates

Request Information

URI Parameters

None.

Body Parameters

GetServiceTemplates
NameDescriptionTypeAdditional information
TemplateId

integer

None.

FacilityId

integer

None.

ServiceId

integer

None.

SubDepartmentId

integer

None.

xmlServiceIds

string

None.

TagType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TemplateId": 1,
  "FacilityId": 2,
  "ServiceId": 3,
  "SubDepartmentId": 4,
  "xmlServiceIds": "sample string 5",
  "TagType": "sample string 6"
}

application/xml, text/xml

Sample:
<GetServiceTemplates xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMRAPI.Models">
  <FacilityId>2</FacilityId>
  <ServiceId>3</ServiceId>
  <SubDepartmentId>4</SubDepartmentId>
  <TagType>sample string 6</TagType>
  <TemplateId>1</TemplateId>
  <xmlServiceIds>sample string 5</xmlServiceIds>
</GetServiceTemplates>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetServiceTemplates'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.