POST api/ClubManagement/SubscriptionType

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
model
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "cType": "sample string 1",
  "nSubTypeId": 2,
  "cSubTypeName": "sample string 3",
  "cSubSHName": "sample string 4",
  "nAmount": 5.0,
  "cDesc": "sample string 6",
  "bActive": true,
  "bCancelled": true,
  "nCompanyId": 9,
  "nCreatedBy": 10,
  "dCreatedDate": "2024-10-09T03:12:18.7051577+05:30",
  "nModifiedBy": 11,
  "dModifiedDate": "2024-10-09T03:12:18.7051577+05:30",
  "SubDtl": [
    {
      "nRowId": 1,
      "nFacilityTypeId": 2,
      "nFreeSlotsPerYear": 3,
      "nDiscount": 4.0
    },
    {
      "nRowId": 1,
      "nFacilityTypeId": 2,
      "nFreeSlotsPerYear": 3,
      "nDiscount": 4.0
    },
    {
      "nRowId": 1,
      "nFacilityTypeId": 2,
      "nFreeSlotsPerYear": 3,
      "nDiscount": 4.0
    }
  ]
}

application/xml, text/xml

Sample:
<SubscriptionTypeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TabHDManagement.Models">
  <SubDtl>
    <SubDtl>
      <nDiscount>4</nDiscount>
      <nFacilityTypeId>2</nFacilityTypeId>
      <nFreeSlotsPerYear>3</nFreeSlotsPerYear>
      <nRowId>1</nRowId>
    </SubDtl>
    <SubDtl>
      <nDiscount>4</nDiscount>
      <nFacilityTypeId>2</nFacilityTypeId>
      <nFreeSlotsPerYear>3</nFreeSlotsPerYear>
      <nRowId>1</nRowId>
    </SubDtl>
    <SubDtl>
      <nDiscount>4</nDiscount>
      <nFacilityTypeId>2</nFacilityTypeId>
      <nFreeSlotsPerYear>3</nFreeSlotsPerYear>
      <nRowId>1</nRowId>
    </SubDtl>
  </SubDtl>
  <bActive>true</bActive>
  <bCancelled>true</bCancelled>
  <cDesc>sample string 6</cDesc>
  <cSubSHName>sample string 4</cSubSHName>
  <cSubTypeName>sample string 3</cSubTypeName>
  <cType>sample string 1</cType>
  <dCreatedDate>2024-10-09T03:12:18.7051577+05:30</dCreatedDate>
  <dModifiedDate>2024-10-09T03:12:18.7051577+05:30</dModifiedDate>
  <nAmount>5</nAmount>
  <nCompanyId>9</nCompanyId>
  <nCreatedBy>10</nCreatedBy>
  <nModifiedBy>11</nModifiedBy>
  <nSubTypeId>2</nSubTypeId>
</SubscriptionTypeModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Data": null,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<ResponseData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TabHDManagement.Models">
  <Data i:nil="true" />
  <Message>sample string 2</Message>
  <Status>sample string 1</Status>
</ResponseData>