POST api/admin/pay-plans/{id}/features

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

AdminPayPlanFeatureUpdateRequestDTO
NameDescriptionTypeAdditional information
Items

Collection of AdminPayPlanFeatureUpdateItemDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "PayPlanFeatureSN": 1,
      "FeatureCode": "sample string 2",
      "IsEnabled": true,
      "PeriodType": 4,
      "QuotaLimit": 1,
      "QuotaDescription": "sample string 5"
    },
    {
      "PayPlanFeatureSN": 1,
      "FeatureCode": "sample string 2",
      "IsEnabled": true,
      "PeriodType": 4,
      "QuotaLimit": 1,
      "QuotaDescription": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<AdminPayPlanFeatureUpdateRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AIProject.DTO.Resource.Models.Pay">
  <Items>
    <AdminPayPlanFeatureUpdateItemDTO>
      <FeatureCode>sample string 2</FeatureCode>
      <IsEnabled>true</IsEnabled>
      <PayPlanFeatureSN>1</PayPlanFeatureSN>
      <PeriodType>4</PeriodType>
      <QuotaDescription>sample string 5</QuotaDescription>
      <QuotaLimit>1</QuotaLimit>
    </AdminPayPlanFeatureUpdateItemDTO>
    <AdminPayPlanFeatureUpdateItemDTO>
      <FeatureCode>sample string 2</FeatureCode>
      <IsEnabled>true</IsEnabled>
      <PayPlanFeatureSN>1</PayPlanFeatureSN>
      <PeriodType>4</PeriodType>
      <QuotaDescription>sample string 5</QuotaDescription>
      <QuotaLimit>1</QuotaLimit>
    </AdminPayPlanFeatureUpdateItemDTO>
  </Items>
</AdminPayPlanFeatureUpdateRequestDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.