GET api/Templates

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of TemplateModel
NameDescriptionTypeAdditional information
clientID

integer

None.

templateID

integer

None.

templateName

string

None.

lastDate

date

None.

templateType

string

None.

positions

Collection of PositionModel

None.

departments

Collection of DepartmentModel

None.

ranges

Collection of RangeModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "clientID": 1,
    "templateID": 2,
    "templateName": "sample string 3",
    "lastDate": "2021-06-18T20:32:38.0531228-07:00",
    "templateType": "sample string 5",
    "positions": [
      {
        "PositionID": 1,
        "isWebEnabled": true,
        "hasApplications": true,
        "ClientID": 1,
        "PositionName": "sample string 4",
        "HiringManager": 1,
        "HiringManagerName": "sample string 5",
        "bGeneralPosition": true,
        "JobID": "sample string 7",
        "JobDescription": "sample string 8",
        "JobRequirements": "sample string 9",
        "dateJobPosted": "2021-06-18T20:32:38.0531228-07:00",
        "dateJobExpires": "2021-06-18T20:32:38.0531228-07:00",
        "TotalApplications": 10,
        "DepartmentID": 1,
        "DeptName": "sample string 11",
        "AuditInProgress": true,
        "DateAuditStart": "2021-06-18T20:32:38.0531228-07:00"
      },
      {
        "PositionID": 1,
        "isWebEnabled": true,
        "hasApplications": true,
        "ClientID": 1,
        "PositionName": "sample string 4",
        "HiringManager": 1,
        "HiringManagerName": "sample string 5",
        "bGeneralPosition": true,
        "JobID": "sample string 7",
        "JobDescription": "sample string 8",
        "JobRequirements": "sample string 9",
        "dateJobPosted": "2021-06-18T20:32:38.0531228-07:00",
        "dateJobExpires": "2021-06-18T20:32:38.0531228-07:00",
        "TotalApplications": 10,
        "DepartmentID": 1,
        "DeptName": "sample string 11",
        "AuditInProgress": true,
        "DateAuditStart": "2021-06-18T20:32:38.0531228-07:00"
      }
    ],
    "departments": [
      {
        "DepartmentID": 1,
        "ClientID": 2,
        "DeptName": "sample string 3",
        "DeptNameValue": "sample string 4",
        "AuditInProgress": true,
        "DateAuditStart": "2021-06-18T20:32:38.0531228-07:00",
        "PositionCount": 6
      },
      {
        "DepartmentID": 1,
        "ClientID": 2,
        "DeptName": "sample string 3",
        "DeptNameValue": "sample string 4",
        "AuditInProgress": true,
        "DateAuditStart": "2021-06-18T20:32:38.0531228-07:00",
        "PositionCount": 6
      }
    ],
    "ranges": [
      {
        "trait_name": "sample string 1",
        "min_value": 2,
        "max_value": 3
      },
      {
        "trait_name": "sample string 1",
        "min_value": 2,
        "max_value": 3
      }
    ]
  },
  {
    "clientID": 1,
    "templateID": 2,
    "templateName": "sample string 3",
    "lastDate": "2021-06-18T20:32:38.0531228-07:00",
    "templateType": "sample string 5",
    "positions": [
      {
        "PositionID": 1,
        "isWebEnabled": true,
        "hasApplications": true,
        "ClientID": 1,
        "PositionName": "sample string 4",
        "HiringManager": 1,
        "HiringManagerName": "sample string 5",
        "bGeneralPosition": true,
        "JobID": "sample string 7",
        "JobDescription": "sample string 8",
        "JobRequirements": "sample string 9",
        "dateJobPosted": "2021-06-18T20:32:38.0531228-07:00",
        "dateJobExpires": "2021-06-18T20:32:38.0531228-07:00",
        "TotalApplications": 10,
        "DepartmentID": 1,
        "DeptName": "sample string 11",
        "AuditInProgress": true,
        "DateAuditStart": "2021-06-18T20:32:38.0531228-07:00"
      },
      {
        "PositionID": 1,
        "isWebEnabled": true,
        "hasApplications": true,
        "ClientID": 1,
        "PositionName": "sample string 4",
        "HiringManager": 1,
        "HiringManagerName": "sample string 5",
        "bGeneralPosition": true,
        "JobID": "sample string 7",
        "JobDescription": "sample string 8",
        "JobRequirements": "sample string 9",
        "dateJobPosted": "2021-06-18T20:32:38.0531228-07:00",
        "dateJobExpires": "2021-06-18T20:32:38.0531228-07:00",
        "TotalApplications": 10,
        "DepartmentID": 1,
        "DeptName": "sample string 11",
        "AuditInProgress": true,
        "DateAuditStart": "2021-06-18T20:32:38.0531228-07:00"
      }
    ],
    "departments": [
      {
        "DepartmentID": 1,
        "ClientID": 2,
        "DeptName": "sample string 3",
        "DeptNameValue": "sample string 4",
        "AuditInProgress": true,
        "DateAuditStart": "2021-06-18T20:32:38.0531228-07:00",
        "PositionCount": 6
      },
      {
        "DepartmentID": 1,
        "ClientID": 2,
        "DeptName": "sample string 3",
        "DeptNameValue": "sample string 4",
        "AuditInProgress": true,
        "DateAuditStart": "2021-06-18T20:32:38.0531228-07:00",
        "PositionCount": 6
      }
    ],
    "ranges": [
      {
        "trait_name": "sample string 1",
        "min_value": 2,
        "max_value": 3
      },
      {
        "trait_name": "sample string 1",
        "min_value": 2,
        "max_value": 3
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfTemplateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models.Templates">
  <TemplateModel>
    <clientID>1</clientID>
    <departments xmlns:d3p1="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models.Employment">
      <d3p1:DepartmentModel>
        <d3p1:AuditInProgress>true</d3p1:AuditInProgress>
        <d3p1:ClientID>2</d3p1:ClientID>
        <d3p1:DateAuditStart>2021-06-18T20:32:38.0531228-07:00</d3p1:DateAuditStart>
        <d3p1:DepartmentID>1</d3p1:DepartmentID>
        <d3p1:DeptName>sample string 3</d3p1:DeptName>
        <d3p1:DeptNameValue>sample string 4</d3p1:DeptNameValue>
        <d3p1:PositionCount>6</d3p1:PositionCount>
      </d3p1:DepartmentModel>
      <d3p1:DepartmentModel>
        <d3p1:AuditInProgress>true</d3p1:AuditInProgress>
        <d3p1:ClientID>2</d3p1:ClientID>
        <d3p1:DateAuditStart>2021-06-18T20:32:38.0531228-07:00</d3p1:DateAuditStart>
        <d3p1:DepartmentID>1</d3p1:DepartmentID>
        <d3p1:DeptName>sample string 3</d3p1:DeptName>
        <d3p1:DeptNameValue>sample string 4</d3p1:DeptNameValue>
        <d3p1:PositionCount>6</d3p1:PositionCount>
      </d3p1:DepartmentModel>
    </departments>
    <lastDate>2021-06-18T20:32:38.0531228-07:00</lastDate>
    <positions xmlns:d3p1="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models.Employment">
      <d3p1:PositionModel>
        <d3p1:AuditInProgress>true</d3p1:AuditInProgress>
        <d3p1:ClientID>1</d3p1:ClientID>
        <d3p1:DateAuditStart>2021-06-18T20:32:38.0531228-07:00</d3p1:DateAuditStart>
        <d3p1:DepartmentID>1</d3p1:DepartmentID>
        <d3p1:DeptName>sample string 11</d3p1:DeptName>
        <d3p1:HiringManager>1</d3p1:HiringManager>
        <d3p1:HiringManagerName>sample string 5</d3p1:HiringManagerName>
        <d3p1:JobDescription>sample string 8</d3p1:JobDescription>
        <d3p1:JobID>sample string 7</d3p1:JobID>
        <d3p1:JobRequirements>sample string 9</d3p1:JobRequirements>
        <d3p1:PositionID>1</d3p1:PositionID>
        <d3p1:PositionName>sample string 4</d3p1:PositionName>
        <d3p1:TotalApplications>10</d3p1:TotalApplications>
        <d3p1:bGeneralPosition>true</d3p1:bGeneralPosition>
        <d3p1:dateJobExpires>2021-06-18T20:32:38.0531228-07:00</d3p1:dateJobExpires>
        <d3p1:dateJobPosted>2021-06-18T20:32:38.0531228-07:00</d3p1:dateJobPosted>
        <d3p1:hasApplications>true</d3p1:hasApplications>
        <d3p1:isWebEnabled>true</d3p1:isWebEnabled>
      </d3p1:PositionModel>
      <d3p1:PositionModel>
        <d3p1:AuditInProgress>true</d3p1:AuditInProgress>
        <d3p1:ClientID>1</d3p1:ClientID>
        <d3p1:DateAuditStart>2021-06-18T20:32:38.0531228-07:00</d3p1:DateAuditStart>
        <d3p1:DepartmentID>1</d3p1:DepartmentID>
        <d3p1:DeptName>sample string 11</d3p1:DeptName>
        <d3p1:HiringManager>1</d3p1:HiringManager>
        <d3p1:HiringManagerName>sample string 5</d3p1:HiringManagerName>
        <d3p1:JobDescription>sample string 8</d3p1:JobDescription>
        <d3p1:JobID>sample string 7</d3p1:JobID>
        <d3p1:JobRequirements>sample string 9</d3p1:JobRequirements>
        <d3p1:PositionID>1</d3p1:PositionID>
        <d3p1:PositionName>sample string 4</d3p1:PositionName>
        <d3p1:TotalApplications>10</d3p1:TotalApplications>
        <d3p1:bGeneralPosition>true</d3p1:bGeneralPosition>
        <d3p1:dateJobExpires>2021-06-18T20:32:38.0531228-07:00</d3p1:dateJobExpires>
        <d3p1:dateJobPosted>2021-06-18T20:32:38.0531228-07:00</d3p1:dateJobPosted>
        <d3p1:hasApplications>true</d3p1:hasApplications>
        <d3p1:isWebEnabled>true</d3p1:isWebEnabled>
      </d3p1:PositionModel>
    </positions>
    <ranges>
      <RangeModel>
        <max_value>3</max_value>
        <min_value>2</min_value>
        <trait_name>sample string 1</trait_name>
      </RangeModel>
      <RangeModel>
        <max_value>3</max_value>
        <min_value>2</min_value>
        <trait_name>sample string 1</trait_name>
      </RangeModel>
    </ranges>
    <templateID>2</templateID>
    <templateName>sample string 3</templateName>
    <templateType>sample string 5</templateType>
  </TemplateModel>
  <TemplateModel>
    <clientID>1</clientID>
    <departments xmlns:d3p1="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models.Employment">
      <d3p1:DepartmentModel>
        <d3p1:AuditInProgress>true</d3p1:AuditInProgress>
        <d3p1:ClientID>2</d3p1:ClientID>
        <d3p1:DateAuditStart>2021-06-18T20:32:38.0531228-07:00</d3p1:DateAuditStart>
        <d3p1:DepartmentID>1</d3p1:DepartmentID>
        <d3p1:DeptName>sample string 3</d3p1:DeptName>
        <d3p1:DeptNameValue>sample string 4</d3p1:DeptNameValue>
        <d3p1:PositionCount>6</d3p1:PositionCount>
      </d3p1:DepartmentModel>
      <d3p1:DepartmentModel>
        <d3p1:AuditInProgress>true</d3p1:AuditInProgress>
        <d3p1:ClientID>2</d3p1:ClientID>
        <d3p1:DateAuditStart>2021-06-18T20:32:38.0531228-07:00</d3p1:DateAuditStart>
        <d3p1:DepartmentID>1</d3p1:DepartmentID>
        <d3p1:DeptName>sample string 3</d3p1:DeptName>
        <d3p1:DeptNameValue>sample string 4</d3p1:DeptNameValue>
        <d3p1:PositionCount>6</d3p1:PositionCount>
      </d3p1:DepartmentModel>
    </departments>
    <lastDate>2021-06-18T20:32:38.0531228-07:00</lastDate>
    <positions xmlns:d3p1="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models.Employment">
      <d3p1:PositionModel>
        <d3p1:AuditInProgress>true</d3p1:AuditInProgress>
        <d3p1:ClientID>1</d3p1:ClientID>
        <d3p1:DateAuditStart>2021-06-18T20:32:38.0531228-07:00</d3p1:DateAuditStart>
        <d3p1:DepartmentID>1</d3p1:DepartmentID>
        <d3p1:DeptName>sample string 11</d3p1:DeptName>
        <d3p1:HiringManager>1</d3p1:HiringManager>
        <d3p1:HiringManagerName>sample string 5</d3p1:HiringManagerName>
        <d3p1:JobDescription>sample string 8</d3p1:JobDescription>
        <d3p1:JobID>sample string 7</d3p1:JobID>
        <d3p1:JobRequirements>sample string 9</d3p1:JobRequirements>
        <d3p1:PositionID>1</d3p1:PositionID>
        <d3p1:PositionName>sample string 4</d3p1:PositionName>
        <d3p1:TotalApplications>10</d3p1:TotalApplications>
        <d3p1:bGeneralPosition>true</d3p1:bGeneralPosition>
        <d3p1:dateJobExpires>2021-06-18T20:32:38.0531228-07:00</d3p1:dateJobExpires>
        <d3p1:dateJobPosted>2021-06-18T20:32:38.0531228-07:00</d3p1:dateJobPosted>
        <d3p1:hasApplications>true</d3p1:hasApplications>
        <d3p1:isWebEnabled>true</d3p1:isWebEnabled>
      </d3p1:PositionModel>
      <d3p1:PositionModel>
        <d3p1:AuditInProgress>true</d3p1:AuditInProgress>
        <d3p1:ClientID>1</d3p1:ClientID>
        <d3p1:DateAuditStart>2021-06-18T20:32:38.0531228-07:00</d3p1:DateAuditStart>
        <d3p1:DepartmentID>1</d3p1:DepartmentID>
        <d3p1:DeptName>sample string 11</d3p1:DeptName>
        <d3p1:HiringManager>1</d3p1:HiringManager>
        <d3p1:HiringManagerName>sample string 5</d3p1:HiringManagerName>
        <d3p1:JobDescription>sample string 8</d3p1:JobDescription>
        <d3p1:JobID>sample string 7</d3p1:JobID>
        <d3p1:JobRequirements>sample string 9</d3p1:JobRequirements>
        <d3p1:PositionID>1</d3p1:PositionID>
        <d3p1:PositionName>sample string 4</d3p1:PositionName>
        <d3p1:TotalApplications>10</d3p1:TotalApplications>
        <d3p1:bGeneralPosition>true</d3p1:bGeneralPosition>
        <d3p1:dateJobExpires>2021-06-18T20:32:38.0531228-07:00</d3p1:dateJobExpires>
        <d3p1:dateJobPosted>2021-06-18T20:32:38.0531228-07:00</d3p1:dateJobPosted>
        <d3p1:hasApplications>true</d3p1:hasApplications>
        <d3p1:isWebEnabled>true</d3p1:isWebEnabled>
      </d3p1:PositionModel>
    </positions>
    <ranges>
      <RangeModel>
        <max_value>3</max_value>
        <min_value>2</min_value>
        <trait_name>sample string 1</trait_name>
      </RangeModel>
      <RangeModel>
        <max_value>3</max_value>
        <min_value>2</min_value>
        <trait_name>sample string 1</trait_name>
      </RangeModel>
    </ranges>
    <templateID>2</templateID>
    <templateName>sample string 3</templateName>
    <templateType>sample string 5</templateType>
  </TemplateModel>
</ArrayOfTemplateModel>