GET api/User/GetUserMemberShip

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ResponseOfUserMemberShipModel
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

Status

integer

None.

Result

UserMemberShipModel

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "Status": 3,
  "Result": {
    "UserMemberShipId": 1,
    "MemberShipId": 2,
    "UserId": 3,
    "MemberShipName": "sample string 4",
    "ActualFreeCalls": 5,
    "FreeCalls": 6,
    "PharmacyDiscountPercentage": 7,
    "LabDiscountPercentage": 8,
    "MemberShipStartDate": "2021-06-13T22:40:47.188255+00:00",
    "MemberShipEndDate": "2021-06-13T22:40:47.188255+00:00",
    "IsActive": true,
    "CreatedDate": "2021-06-13T22:40:47.188255+00:00",
    "UpdatedDate": "2021-06-13T22:40:47.188255+00:00"
  }
}

application/xml, text/xml

Sample:
<ResponseOfUserMemberShipModelA9Zl6kkb 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:ActualFreeCalls>5</d2p1:ActualFreeCalls>
    <d2p1:CreatedDate>2021-06-13T22:40:47.188255+00:00</d2p1:CreatedDate>
    <d2p1:FreeCalls>6</d2p1:FreeCalls>
    <d2p1:IsActive>true</d2p1:IsActive>
    <d2p1:LabDiscountPercentage>8</d2p1:LabDiscountPercentage>
    <d2p1:MemberShipEndDate>2021-06-13T22:40:47.188255+00:00</d2p1:MemberShipEndDate>
    <d2p1:MemberShipId>2</d2p1:MemberShipId>
    <d2p1:MemberShipName>sample string 4</d2p1:MemberShipName>
    <d2p1:MemberShipStartDate>2021-06-13T22:40:47.188255+00:00</d2p1:MemberShipStartDate>
    <d2p1:PharmacyDiscountPercentage>7</d2p1:PharmacyDiscountPercentage>
    <d2p1:UpdatedDate>2021-06-13T22:40:47.188255+00:00</d2p1:UpdatedDate>
    <d2p1:UserId>3</d2p1:UserId>
    <d2p1:UserMemberShipId>1</d2p1:UserMemberShipId>
  </Result>
  <Status>3</Status>
</ResponseOfUserMemberShipModelA9Zl6kkb>