POST api/CustomerSubscription/SaveCustomerSubscription?UserId={UserId}&requestId={requestId}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
UserId
No documentation available.

Define this parameter in the request URI.

requestId
No documentation available.

Define this parameter in the request URI.

entity
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "TenantName": "sample string 2",
  "Email": "sample string 3",
  "Phone": "sample string 4",
  "ConnectionString": "sample string 5",
  "NoOfEntities": 1,
  "NotCCM": true,
  "resourceId": "sample string 6",
  "CompanyName": "sample string 7",
  "CreatedUserId": "sample string 8",
  "ResponsibleName": "sample string 9",
  "Country": "sample string 10",
  "DiscountRate": 1.0,
  "PackagePrice": 11.0,
  "ExtraPrice": 12.0,
  "TotalMonthly": 13.0,
  "TotalUserCost": 14.0,
  "TotalEmpCost": 15.0,
  "CostUser": 16.0,
  "CostEmp": 17.0,
  "PackageId": 18,
  "PackageProductIds": "sample string 19",
  "ProductIds": "sample string 20",
  "NoOfEmployee": 21,
  "NoOfUsers": 22,
  "StartDate": "2026-09-13T20:32:00.4066342+03:00",
  "EndDate": "2026-09-13T20:32:00.4066342+03:00",
  "UserId": "sample string 25",
  "FixNumberOfEmployees": 26,
  "DBName": "sample string 27",
  "TenantId": 28,
  "NumberOfUsers": 29,
  "CountryId": 1,
  "ExtraEmpNo": 1,
  "ExtraUserNo": 1,
  "TotalNoSubEmp": 1,
  "TotalNoSubUser": 1,
  "ExtraEmpPrice": 1.0,
  "ExtraUserPrice": 1.0,
  "TotalPackagePrice": 1.0,
  "TotalSubscription": 1.0,
  "DiscountValue": 1.0,
  "TaxRate": 1.0,
  "TaxValue": 1.0,
  "TotalAfterDiscount": 1.0,
  "RevenueShareUser": 1,
  "RevenueShareRatio": 1.0,
  "Package": "sample string 30",
  "Total": 31.0,
  "Status": "sample string 32",
  "SuspendingReasonName": "sample string 33",
  "CountryName": "sample string 34",
  "Comment": "sample string 35",
  "RevenueShareUserName": "sample string 36",
  "PaymentType": 1,
  "PaymentTypeName": "sample string 37",
  "SuspendedDate": "2026-09-13T20:32:00.4066342+03:00",
  "VATRegistrationNumber": "sample string 38",
  "CommerialRegistrationNumber": "sample string 39",
  "TaxFileNumber": "sample string 40",
  "TotalNoUAEInvoiceCredits": 1
}

application/xml, text/xml

Sample:
<VM_Tenants xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP_Subscription">
  <Comment>sample string 35</Comment>
  <CommerialRegistrationNumber>sample string 39</CommerialRegistrationNumber>
  <CompanyName>sample string 7</CompanyName>
  <ConnectionString>sample string 5</ConnectionString>
  <CostEmp>17</CostEmp>
  <CostUser>16</CostUser>
  <Country>sample string 10</Country>
  <CountryId>1</CountryId>
  <CountryName>sample string 34</CountryName>
  <CreatedUserId>sample string 8</CreatedUserId>
  <DBName>sample string 27</DBName>
  <DiscountRate>1</DiscountRate>
  <DiscountValue>1</DiscountValue>
  <Email>sample string 3</Email>
  <EndDate>2026-09-13T20:32:00.4066342+03:00</EndDate>
  <ExtraEmpNo>1</ExtraEmpNo>
  <ExtraEmpPrice>1</ExtraEmpPrice>
  <ExtraPrice>12</ExtraPrice>
  <ExtraUserNo>1</ExtraUserNo>
  <ExtraUserPrice>1</ExtraUserPrice>
  <FixNumberOfEmployees>26</FixNumberOfEmployees>
  <Id>1</Id>
  <NoOfEmployee>21</NoOfEmployee>
  <NoOfEntities>1</NoOfEntities>
  <NoOfUsers>22</NoOfUsers>
  <NotCCM>true</NotCCM>
  <NumberOfUsers>29</NumberOfUsers>
  <Package>sample string 30</Package>
  <PackageId>18</PackageId>
  <PackagePrice>11</PackagePrice>
  <PackageProductIds>sample string 19</PackageProductIds>
  <PaymentType>1</PaymentType>
  <PaymentTypeName>sample string 37</PaymentTypeName>
  <Phone>sample string 4</Phone>
  <ProductIds>sample string 20</ProductIds>
  <ResponsibleName>sample string 9</ResponsibleName>
  <RevenueShareRatio>1</RevenueShareRatio>
  <RevenueShareUser>1</RevenueShareUser>
  <RevenueShareUserName>sample string 36</RevenueShareUserName>
  <StartDate>2026-09-13T20:32:00.4066342+03:00</StartDate>
  <Status>sample string 32</Status>
  <SuspendedDate>2026-09-13T20:32:00.4066342+03:00</SuspendedDate>
  <SuspendingReasonName>sample string 33</SuspendingReasonName>
  <TaxFileNumber>sample string 40</TaxFileNumber>
  <TaxRate>1</TaxRate>
  <TaxValue>1</TaxValue>
  <TenantId>28</TenantId>
  <TenantName>sample string 2</TenantName>
  <Total>31</Total>
  <TotalAfterDiscount>1</TotalAfterDiscount>
  <TotalEmpCost>15</TotalEmpCost>
  <TotalMonthly>13</TotalMonthly>
  <TotalNoSubEmp>1</TotalNoSubEmp>
  <TotalNoSubUser>1</TotalNoSubUser>
  <TotalNoUAEInvoiceCredits>1</TotalNoUAEInvoiceCredits>
  <TotalPackagePrice>1</TotalPackagePrice>
  <TotalSubscription>1</TotalSubscription>
  <TotalUserCost>14</TotalUserCost>
  <UserId>sample string 25</UserId>
  <VATRegistrationNumber>sample string 38</VATRegistrationNumber>
  <resourceId>sample string 6</resourceId>
</VM_Tenants>

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

Response Information

No documentation available.

Response body formats

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

Sample:

Sample not available.