POST api/wf-designer/reportfile-content/create

Request Information

URI Parameters

None.

Body Parameters

DTOSYSWFReportFileContent
NameDescriptionTypeAdditional information
WFReportFileContentID

integer

None.

WFReportFileID

integer

None.

Name

string

None.

Content

string

None.

ContentType

string

None.

DateCreated

date

None.

DateUpdated

date

None.

CreatedByID

integer

None.

UpdatedByID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "WFReportFileContentID": 1,
  "WFReportFileID": 2,
  "Name": "sample string 3",
  "Content": "sample string 4",
  "ContentType": "sample string 5",
  "DateCreated": "2025-10-26T11:15:04.2378096+08:00",
  "DateUpdated": "2025-10-26T11:15:04.2378096+08:00",
  "CreatedByID": 8,
  "UpdatedByID": 9
}

application/xml, text/xml

Sample:
<DTOSYSWFReportFileContent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO">
  <Content>sample string 4</Content>
  <ContentType>sample string 5</ContentType>
  <CreatedByID>8</CreatedByID>
  <DateCreated>2025-10-26T11:15:04.2378096+08:00</DateCreated>
  <DateUpdated>2025-10-26T11:15:04.2378096+08:00</DateUpdated>
  <Name>sample string 3</Name>
  <UpdatedByID>9</UpdatedByID>
  <WFReportFileContentID>1</WFReportFileContentID>
  <WFReportFileID>2</WFReportFileID>
</DTOSYSWFReportFileContent>

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 'DTOSYSWFReportFileContent'.

Response Information

Resource Description

DTOSYSWFReportFileContent
NameDescriptionTypeAdditional information
WFReportFileContentID

integer

None.

WFReportFileID

integer

None.

Name

string

None.

Content

string

None.

ContentType

string

None.

DateCreated

date

None.

DateUpdated

date

None.

CreatedByID

integer

None.

UpdatedByID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "WFReportFileContentID": 1,
  "WFReportFileID": 2,
  "Name": "sample string 3",
  "Content": "sample string 4",
  "ContentType": "sample string 5",
  "DateCreated": "2025-10-26T11:15:04.2378096+08:00",
  "DateUpdated": "2025-10-26T11:15:04.2378096+08:00",
  "CreatedByID": 8,
  "UpdatedByID": 9
}

application/xml, text/xml

Sample:
<DTOSYSWFReportFileContent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO">
  <Content>sample string 4</Content>
  <ContentType>sample string 5</ContentType>
  <CreatedByID>8</CreatedByID>
  <DateCreated>2025-10-26T11:15:04.2378096+08:00</DateCreated>
  <DateUpdated>2025-10-26T11:15:04.2378096+08:00</DateUpdated>
  <Name>sample string 3</Name>
  <UpdatedByID>9</UpdatedByID>
  <WFReportFileContentID>1</WFReportFileContentID>
  <WFReportFileID>2</WFReportFileID>
</DTOSYSWFReportFileContent>