POST Discount/Update/Details
Request Information
URI Parameters
None.
Body Parameters
UserAccess| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| UserId | integer |
None. |
|
| PlanId | integer |
None. |
|
| ProductId | integer |
None. |
|
| Discount | integer |
None. |
|
| IsActive | boolean |
None. |
|
| IsAllow | boolean |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"UserId": 2,
"PlanId": 3,
"ProductId": 4,
"Discount": 5,
"IsActive": true,
"IsAllow": true,
"StartDate": "2025-12-08T13:02:46.2746881-06:00",
"EndDate": "2025-12-08T13:02:46.2746881-06:00"
}
application/xml, text/xml
Sample:
<UserAccess xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Icodex.UserManagement.Services.Interfaces.Request.Dao"> <Discount>5</Discount> <EndDate>2025-12-08T13:02:46.2746881-06:00</EndDate> <Id>1</Id> <IsActive>true</IsActive> <IsAllow>true</IsAllow> <PlanId>3</PlanId> <ProductId>4</ProductId> <StartDate>2025-12-08T13:02:46.2746881-06:00</StartDate> <UserId>2</UserId> </UserAccess>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.