POST api/User/GetAllMemberShip
Request Information
URI Parameters
None.
Body Parameters
CommonRequestName | Description | Type | Additional information |
---|---|---|---|
Request | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Request": "sample string 1" }
application/xml, text/xml
Sample:
<CommonRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.Common"> <Request>sample string 1</Request> </CommonRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseOfMemberShipModelName | Description | Type | Additional information |
---|---|---|---|
IsSuccess | boolean |
None. |
|
Message | string |
None. |
|
Status | integer |
None. |
|
Result | MemberShipModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccess": true, "Message": "sample string 2", "Status": 3, "Result": { "MemberShipId": 1, "MemberShipName": "sample string 2", "FreeCalls": 3, "PharmacyDiscountPercentage": 4, "LabDiscountPercentage": 5, "MemberShipPrice": 6.0, "MemberShipTennure": 7, "IsDefault": true, "IsPublic": true, "IsDoctor": true, "IsNursingHome": true, "IsActive": true, "CreatedDate": "2025-03-21T22:30:12.0395707+00:00", "UpdatedDate": "2025-03-21T22:30:12.0395707+00:00" } }
application/xml, text/xml
Sample:
<ResponseOfMemberShipModelA9Zl6kkb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.Common"> <IsSuccess>true</IsSuccess> <Message>sample string 2</Message> <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.MemberShip"> <d2p1:CreatedDate>2025-03-21T22:30:12.0395707+00:00</d2p1:CreatedDate> <d2p1:FreeCalls>3</d2p1:FreeCalls> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:IsDefault>true</d2p1:IsDefault> <d2p1:IsDoctor>true</d2p1:IsDoctor> <d2p1:IsNursingHome>true</d2p1:IsNursingHome> <d2p1:IsPublic>true</d2p1:IsPublic> <d2p1:LabDiscountPercentage>5</d2p1:LabDiscountPercentage> <d2p1:MemberShipId>1</d2p1:MemberShipId> <d2p1:MemberShipName>sample string 2</d2p1:MemberShipName> <d2p1:MemberShipPrice>6</d2p1:MemberShipPrice> <d2p1:MemberShipTennure>7</d2p1:MemberShipTennure> <d2p1:PharmacyDiscountPercentage>4</d2p1:PharmacyDiscountPercentage> <d2p1:UpdatedDate>2025-03-21T22:30:12.0395707+00:00</d2p1:UpdatedDate> </Result> <Status>3</Status> </ResponseOfMemberShipModelA9Zl6kkb>