POST api/UserHome/EditShippingCharge

Request Information

URI Parameters

None.

Body Parameters

ShippingChargesModel
NameDescriptionTypeAdditional information
ShippingId

integer

None.

Name

string

None.

Description

string

None.

ShippingCode

string

None.

ShippingType

string

None.

Amount

decimal number

None.

ValidFrom

date

None.

ValidTo

date

None.

AppliedTo

string

None.

AppliedToIds

string

None.

ExtraColumn

integer

None.

ExtraColumn1

string

None.

IsActive

boolean

None.

CreatedDate

date

None.

UpdatedDate

date

None.

page_no

integer

None.

data_per_page

integer

None.

TotalCount

integer

None.

doctorName

string

None.

UserType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ShippingId": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "ShippingCode": "sample string 4",
  "ShippingType": "sample string 5",
  "Amount": 6.0,
  "ValidFrom": "2025-12-11T14:16:14.3630955+00:00",
  "ValidTo": "2025-12-11T14:16:14.3630955+00:00",
  "AppliedTo": "sample string 7",
  "AppliedToIds": "sample string 8",
  "ExtraColumn": 1,
  "ExtraColumn1": "sample string 9",
  "IsActive": true,
  "CreatedDate": "2025-12-11T14:16:14.3630955+00:00",
  "UpdatedDate": "2025-12-11T14:16:14.3630955+00:00",
  "page_no": 11,
  "data_per_page": 12,
  "TotalCount": 13,
  "doctorName": "sample string 14",
  "UserType": 15
}

application/xml, text/xml

Sample:
<ShippingChargesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.AdminModels">
  <Amount>6</Amount>
  <AppliedTo>sample string 7</AppliedTo>
  <AppliedToIds>sample string 8</AppliedToIds>
  <CreatedDate>2025-12-11T14:16:14.3630955+00:00</CreatedDate>
  <Description>sample string 3</Description>
  <ExtraColumn>1</ExtraColumn>
  <ExtraColumn1>sample string 9</ExtraColumn1>
  <IsActive>true</IsActive>
  <Name>sample string 2</Name>
  <ShippingCode>sample string 4</ShippingCode>
  <ShippingId>1</ShippingId>
  <ShippingType>sample string 5</ShippingType>
  <TotalCount>13</TotalCount>
  <UpdatedDate>2025-12-11T14:16:14.3630955+00:00</UpdatedDate>
  <UserType>15</UserType>
  <ValidFrom>2025-12-11T14:16:14.3630955+00:00</ValidFrom>
  <ValidTo>2025-12-11T14:16:14.3630955+00:00</ValidTo>
  <data_per_page>12</data_per_page>
  <doctorName>sample string 14</doctorName>
  <page_no>11</page_no>
</ShippingChargesModel>

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

Response Information

Resource Description

ResponseOfBoolean
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

Status

integer

None.

Result

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "Status": 3,
  "Result": true
}

application/xml, text/xml

Sample:
<ResponseOfboolean 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>true</Result>
  <Status>3</Status>
</ResponseOfboolean>