POST api/UserHome/GetDoctorShippingCharges

Request Information

URI Parameters

None.

Body Parameters

ShippingChargesRequestModel
NameDescriptionTypeAdditional information
UserId

integer

None.

IsDoctor

boolean

None.

IsAM

boolean

None.

IsOrg

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "IsDoctor": true,
  "IsAM": true,
  "IsOrg": true
}

application/xml, text/xml

Sample:
<ShippingChargesRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.ShippingCharges">
  <IsAM>true</IsAM>
  <IsDoctor>true</IsDoctor>
  <IsOrg>true</IsOrg>
  <UserId>1</UserId>
</ShippingChargesRequestModel>

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

Response Information

Resource Description

ResponseOfShippingChargesResponseModel
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

Status

integer

None.

Result

ShippingChargesResponseModel

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "Status": 3,
  "Result": {
    "ShippingId": 1,
    "Name": "sample string 2",
    "Amount": 3.0,
    "AppliedToIds": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<ResponseOfShippingChargesResponseModelo2OSjxkQ 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.ShippingCharges">
    <d2p1:Amount>3</d2p1:Amount>
    <d2p1:AppliedToIds>sample string 4</d2p1:AppliedToIds>
    <d2p1:Name>sample string 2</d2p1:Name>
    <d2p1:ShippingId>1</d2p1:ShippingId>
  </Result>
  <Status>3</Status>
</ResponseOfShippingChargesResponseModelo2OSjxkQ>