POST api/subscription/UpdateCompanySubscription

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
entity
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "companySubscriptionId": 1,
  "delFlg": true,
  "createdOn": "2020-09-18T11:11:37.0397543+00:00",
  "createdBy": "74ca722a-9384-448b-aa7e-9b55b192a5a2",
  "updatedOn": "2020-09-18T11:11:37.0397543+00:00",
  "updatedBy": "6f8b5fd0-fdf0-4969-aa7c-8f4ddf72eb8e",
  "companyId": 6,
  "companyName": "sample string 7",
  "doctorId": "7966c91e-2b32-4a0d-b513-2ff3ba767584",
  "doctorName": "sample string 8",
  "subscriptionDate": "2020-09-18T11:11:37.0397543+00:00",
  "companySubscriptionDetailId": 10,
  "subscriptionEndDate": "2020-09-18T11:11:37.0397543+00:00",
  "subscriptionMasterId": 12,
  "subscriptionName": "sample string 13",
  "amount": 14.0,
  "status": "sample string 15",
  "message": "sample string 16",
  "remainDays": 17.1
}

application/xml, text/xml

Sample:
<CompanySubscriptionsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IncodeCompanyService.Utility.PresenterModel">
  <amount>14</amount>
  <companyId>6</companyId>
  <companyName>sample string 7</companyName>
  <companySubscriptionDetailId>10</companySubscriptionDetailId>
  <companySubscriptionId>1</companySubscriptionId>
  <createdBy>74ca722a-9384-448b-aa7e-9b55b192a5a2</createdBy>
  <createdOn>2020-09-18T11:11:37.0397543+00:00</createdOn>
  <delFlg>true</delFlg>
  <doctorId>7966c91e-2b32-4a0d-b513-2ff3ba767584</doctorId>
  <doctorName>sample string 8</doctorName>
  <message>sample string 16</message>
  <remainDays>17.1</remainDays>
  <status>sample string 15</status>
  <subscriptionDate>2020-09-18T11:11:37.0397543+00:00</subscriptionDate>
  <subscriptionEndDate>2020-09-18T11:11:37.0397543+00:00</subscriptionEndDate>
  <subscriptionMasterId>12</subscriptionMasterId>
  <subscriptionName>sample string 13</subscriptionName>
  <updatedBy>6f8b5fd0-fdf0-4969-aa7c-8f4ddf72eb8e</updatedBy>
  <updatedOn>2020-09-18T11:11:37.0397543+00:00</updatedOn>
</CompanySubscriptionsModel>

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