POST api/Pharmacies/PostPharmacyPricing/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

PaymentSettingsViewModel
NameDescriptionTypeAdditional information
Distance1

decimal number

None.

Distance2

decimal number

None.

Price1

decimal number

None.

Price2

decimal number

None.

Price3

decimal number

None.

CourierPrice

string

None.

CourierPercentage

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Distance1": 1.1,
  "Distance2": 2.1,
  "Price1": 3.1,
  "Price2": 4.1,
  "Price3": 5.1,
  "CourierPrice": "sample string 6",
  "CourierPercentage": "sample string 7"
}

application/xml, text/xml

Sample:
<PaymentSettingsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DeliveryCore.ViewModels">
  <CourierPercentage>sample string 7</CourierPercentage>
  <CourierPrice>sample string 6</CourierPrice>
  <Distance1>1.1</Distance1>
  <Distance2>2.1</Distance2>
  <Price1>3.1</Price1>
  <Price2>4.1</Price2>
  <Price3>5.1</Price3>
</PaymentSettingsViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.