GET api/Company/GetByTemplateId?templateId={templateId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
templateId

byte

Required

Body Parameters

None.

Response Information

Resource Description

CompanyModel
NameDescriptionTypeAdditional information
Id

byte

None.

CompanyTemplateId

byte

None.

Content

string

None.

ModifiedBy

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 64,
  "CompanyTemplateId": 64,
  "Content": "sample string 3",
  "ModifiedBy": "sample string 4"
}

application/xml, text/xml

Sample:
<CompanyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GreenTech.Models.Company">
  <CompanyTemplateId>64</CompanyTemplateId>
  <Content>sample string 3</Content>
  <Id>64</Id>
  <ModifiedBy>sample string 4</ModifiedBy>
</CompanyModel>