POST api/Project/ExportTemplate

Request Information

URI Parameters

None.

Body Parameters

ExportTemplateParameterDto
NameDescriptionTypeAdditional information
TemplateName

string

None.

IsForCNC

boolean

None.

Labels

string

None.

Request Formats

application/json, text/json

Sample:
{
  "templateName": "sample string 1",
  "isForCNC": true,
  "labels": "sample string 3"
}

application/xml, text/xml

Sample:
<ExportTemplateParameterDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto">
  <IsForCNC>true</IsForCNC>
  <Labels>sample string 3</Labels>
  <TemplateName>sample string 1</TemplateName>
</ExportTemplateParameterDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ExportReturnParameterDto
NameDescriptionTypeAdditional information
TemplateName

string

None.

Contents

string

None.

FileName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "templateName": "sample string 1",
  "contents": "sample string 2",
  "fileName": "sample string 3"
}

application/xml, text/xml

Sample:
<ExportReturnParameterDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto">
  <Contents>sample string 2</Contents>
  <FileName>sample string 3</FileName>
  <TemplateName>sample string 1</TemplateName>
</ExportReturnParameterDto>