POST api/subscription/generatereceipt

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:
{
  "SubscriptionList": [
    {
      "companySubscriptionId": 1,
      "delFlg": true,
      "createdOn": "2020-09-26T06:46:14.2785204+00:00",
      "createdBy": "f4ba2383-29a0-422b-b8d0-891d187ac076",
      "updatedOn": "2020-09-26T06:46:14.2785204+00:00",
      "updatedBy": "c6f8e7e4-202b-48b8-893a-96caa1f891e0",
      "companyId": 6,
      "companyName": "sample string 7",
      "doctorId": "6b7cb4dc-8b94-4238-8e38-b0ba2c1ae842",
      "doctorName": "sample string 8",
      "subscriptionDate": "2020-09-26T06:46:14.2785204+00:00",
      "companySubscriptionDetailId": 10,
      "subscriptionEndDate": "2020-09-26T06:46:14.2785204+00:00",
      "subscriptionMasterId": 12,
      "subscriptionName": "sample string 13",
      "amount": 14.0,
      "status": "sample string 15",
      "message": "sample string 16",
      "remainDays": 17.1
    },
    {
      "companySubscriptionId": 1,
      "delFlg": true,
      "createdOn": "2020-09-26T06:46:14.2785204+00:00",
      "createdBy": "f4ba2383-29a0-422b-b8d0-891d187ac076",
      "updatedOn": "2020-09-26T06:46:14.2785204+00:00",
      "updatedBy": "c6f8e7e4-202b-48b8-893a-96caa1f891e0",
      "companyId": 6,
      "companyName": "sample string 7",
      "doctorId": "6b7cb4dc-8b94-4238-8e38-b0ba2c1ae842",
      "doctorName": "sample string 8",
      "subscriptionDate": "2020-09-26T06:46:14.2785204+00:00",
      "companySubscriptionDetailId": 10,
      "subscriptionEndDate": "2020-09-26T06:46:14.2785204+00:00",
      "subscriptionMasterId": 12,
      "subscriptionName": "sample string 13",
      "amount": 14.0,
      "status": "sample string 15",
      "message": "sample string 16",
      "remainDays": 17.1
    },
    {
      "companySubscriptionId": 1,
      "delFlg": true,
      "createdOn": "2020-09-26T06:46:14.2785204+00:00",
      "createdBy": "f4ba2383-29a0-422b-b8d0-891d187ac076",
      "updatedOn": "2020-09-26T06:46:14.2785204+00:00",
      "updatedBy": "c6f8e7e4-202b-48b8-893a-96caa1f891e0",
      "companyId": 6,
      "companyName": "sample string 7",
      "doctorId": "6b7cb4dc-8b94-4238-8e38-b0ba2c1ae842",
      "doctorName": "sample string 8",
      "subscriptionDate": "2020-09-26T06:46:14.2785204+00:00",
      "companySubscriptionDetailId": 10,
      "subscriptionEndDate": "2020-09-26T06:46:14.2785204+00:00",
      "subscriptionMasterId": 12,
      "subscriptionName": "sample string 13",
      "amount": 14.0,
      "status": "sample string 15",
      "message": "sample string 16",
      "remainDays": 17.1
    }
  ],
  "companyReceiptId": 1,
  "delFlg": true,
  "createdOn": "2020-09-26T06:46:14.2785204+00:00",
  "createdBy": "4caf8c2e-97e9-4ab4-832f-9a85c124c740",
  "updatedOn": "2020-09-26T06:46:14.2785204+00:00",
  "updatedBy": "12adb3b1-87a6-45d2-be4e-7072af2cd992",
  "companyId": 6,
  "doctorId": "cc87fe66-bfcf-43aa-8f39-219f71de3591",
  "invoiceNumber": "sample string 7",
  "invoiceDate": "2020-09-26T06:46:14.2785204+00:00",
  "transactionMode": "sample string 8",
  "amount": 9.0,
  "bankCode": "sample string 10",
  "checkNo": "sample string 11",
  "checkDate": "2020-09-26T06:46:14.2785204+00:00",
  "checkPayerName": "sample string 12",
  "cardHolderName": "sample string 13",
  "cardNumber": "sample string 14",
  "expiryDate": "2020-09-26T06:46:14.2785204+00:00",
  "cardType": "sample string 15",
  "remarks": "sample string 16",
  "paymentsMode": "sample string 17",
  "totaloutstandingAmount": 18.0,
  "paymentsStatus": "sample string 19",
  "companyName": "sample string 20"
}

application/xml, text/xml

Sample:
<CompanyReceiptsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IncodeCompanyService.Utility.PresenterModel">
  <SubscriptionList>
    <CompanySubscriptionsModel>
      <amount>14</amount>
      <companyId>6</companyId>
      <companyName>sample string 7</companyName>
      <companySubscriptionDetailId>10</companySubscriptionDetailId>
      <companySubscriptionId>1</companySubscriptionId>
      <createdBy>f4ba2383-29a0-422b-b8d0-891d187ac076</createdBy>
      <createdOn>2020-09-26T06:46:14.2785204+00:00</createdOn>
      <delFlg>true</delFlg>
      <doctorId>6b7cb4dc-8b94-4238-8e38-b0ba2c1ae842</doctorId>
      <doctorName>sample string 8</doctorName>
      <message>sample string 16</message>
      <remainDays>17.1</remainDays>
      <status>sample string 15</status>
      <subscriptionDate>2020-09-26T06:46:14.2785204+00:00</subscriptionDate>
      <subscriptionEndDate>2020-09-26T06:46:14.2785204+00:00</subscriptionEndDate>
      <subscriptionMasterId>12</subscriptionMasterId>
      <subscriptionName>sample string 13</subscriptionName>
      <updatedBy>c6f8e7e4-202b-48b8-893a-96caa1f891e0</updatedBy>
      <updatedOn>2020-09-26T06:46:14.2785204+00:00</updatedOn>
    </CompanySubscriptionsModel>
    <CompanySubscriptionsModel>
      <amount>14</amount>
      <companyId>6</companyId>
      <companyName>sample string 7</companyName>
      <companySubscriptionDetailId>10</companySubscriptionDetailId>
      <companySubscriptionId>1</companySubscriptionId>
      <createdBy>f4ba2383-29a0-422b-b8d0-891d187ac076</createdBy>
      <createdOn>2020-09-26T06:46:14.2785204+00:00</createdOn>
      <delFlg>true</delFlg>
      <doctorId>6b7cb4dc-8b94-4238-8e38-b0ba2c1ae842</doctorId>
      <doctorName>sample string 8</doctorName>
      <message>sample string 16</message>
      <remainDays>17.1</remainDays>
      <status>sample string 15</status>
      <subscriptionDate>2020-09-26T06:46:14.2785204+00:00</subscriptionDate>
      <subscriptionEndDate>2020-09-26T06:46:14.2785204+00:00</subscriptionEndDate>
      <subscriptionMasterId>12</subscriptionMasterId>
      <subscriptionName>sample string 13</subscriptionName>
      <updatedBy>c6f8e7e4-202b-48b8-893a-96caa1f891e0</updatedBy>
      <updatedOn>2020-09-26T06:46:14.2785204+00:00</updatedOn>
    </CompanySubscriptionsModel>
    <CompanySubscriptionsModel>
      <amount>14</amount>
      <companyId>6</companyId>
      <companyName>sample string 7</companyName>
      <companySubscriptionDetailId>10</companySubscriptionDetailId>
      <companySubscriptionId>1</companySubscriptionId>
      <createdBy>f4ba2383-29a0-422b-b8d0-891d187ac076</createdBy>
      <createdOn>2020-09-26T06:46:14.2785204+00:00</createdOn>
      <delFlg>true</delFlg>
      <doctorId>6b7cb4dc-8b94-4238-8e38-b0ba2c1ae842</doctorId>
      <doctorName>sample string 8</doctorName>
      <message>sample string 16</message>
      <remainDays>17.1</remainDays>
      <status>sample string 15</status>
      <subscriptionDate>2020-09-26T06:46:14.2785204+00:00</subscriptionDate>
      <subscriptionEndDate>2020-09-26T06:46:14.2785204+00:00</subscriptionEndDate>
      <subscriptionMasterId>12</subscriptionMasterId>
      <subscriptionName>sample string 13</subscriptionName>
      <updatedBy>c6f8e7e4-202b-48b8-893a-96caa1f891e0</updatedBy>
      <updatedOn>2020-09-26T06:46:14.2785204+00:00</updatedOn>
    </CompanySubscriptionsModel>
  </SubscriptionList>
  <amount>9</amount>
  <bankCode>sample string 10</bankCode>
  <cardHolderName>sample string 13</cardHolderName>
  <cardNumber>sample string 14</cardNumber>
  <cardType>sample string 15</cardType>
  <checkDate>2020-09-26T06:46:14.2785204+00:00</checkDate>
  <checkNo>sample string 11</checkNo>
  <checkPayerName>sample string 12</checkPayerName>
  <companyId>6</companyId>
  <companyName>sample string 20</companyName>
  <companyReceiptId>1</companyReceiptId>
  <createdBy>4caf8c2e-97e9-4ab4-832f-9a85c124c740</createdBy>
  <createdOn>2020-09-26T06:46:14.2785204+00:00</createdOn>
  <delFlg>true</delFlg>
  <doctorId>cc87fe66-bfcf-43aa-8f39-219f71de3591</doctorId>
  <expiryDate>2020-09-26T06:46:14.2785204+00:00</expiryDate>
  <invoiceDate>2020-09-26T06:46:14.2785204+00:00</invoiceDate>
  <invoiceNumber>sample string 7</invoiceNumber>
  <paymentsMode>sample string 17</paymentsMode>
  <paymentsStatus>sample string 19</paymentsStatus>
  <remarks>sample string 16</remarks>
  <totaloutstandingAmount>18</totaloutstandingAmount>
  <transactionMode>sample string 8</transactionMode>
  <updatedBy>12adb3b1-87a6-45d2-be4e-7072af2cd992</updatedBy>
  <updatedOn>2020-09-26T06:46:14.2785204+00:00</updatedOn>
</CompanyReceiptsModel>

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