POST api/report/content-editor

Request Information

URI Parameters

None.

Body Parameters

ReportContentEditorSubModel
NameDescriptionTypeAdditional information
ReportCategory

string

None.

ReportName

string

None.

CountryId

integer

None.

CorporateId

integer

None.

SourceNameId

integer

None.

BenefitTemplateId

integer

None.

LocalCompanyId

integer

None.

BenefitPlanId

integer

None.

BenefitProgramId

integer

None.

TierId

integer

None.

Year

integer

None.

ReportContent

string

None.

Status

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ReportCategory": "sample string 1",
  "ReportName": "sample string 2",
  "CountryId": 3,
  "CorporateId": 1,
  "SourceNameId": 1,
  "BenefitTemplateId": 1,
  "LocalCompanyId": 1,
  "BenefitPlanId": 1,
  "BenefitProgramId": 1,
  "TierId": 1,
  "Year": 1,
  "ReportContent": "sample string 4",
  "Status": "sample string 5"
}

application/xml, text/xml

Sample:
<ReportContentEditorSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.SubModels">
  <BenefitPlanId>1</BenefitPlanId>
  <BenefitProgramId>1</BenefitProgramId>
  <BenefitTemplateId>1</BenefitTemplateId>
  <CorporateId>1</CorporateId>
  <CountryId>3</CountryId>
  <LocalCompanyId>1</LocalCompanyId>
  <ReportCategory>sample string 1</ReportCategory>
  <ReportContent>sample string 4</ReportContent>
  <ReportName>sample string 2</ReportName>
  <SourceNameId>1</SourceNameId>
  <Status>sample string 5</Status>
  <TierId>1</TierId>
  <Year>1</Year>
</ReportContentEditorSubModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.