PUT api/rating/carrier/{rateId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
rateId

integer

Required

Body Parameters

EditCarrierRateViewModel
NameDescriptionTypeAdditional information
Type

string

None.

Code

string

Required

Name

string

Required

Description

string

None.

Rate

decimal number

Required

RateTypeId

integer

Required

ValidFrom

date

None.

ValidTo

date

None.

IsQuickAdd

boolean

None.

IsActive

boolean

None.

SiteId

integer

None.

ModeId

integer

None.

ServiceId

integer

None.

ServiceLevelId

integer

None.

EquipmentTypeId

integer

None.

EquipmentSizeId

integer

None.

CustomerIds

Collection of integer

None.

CarrierIds

Collection of integer

None.

PickUpAddress1

string

None.

PickUpAddress2

string

None.

PickUpZipCode

string

None.

PickUpCity

string

None.

PickUpState

string

None.

PickUpCountry

string

None.

DeliveryAddress1

string

None.

DeliveryAddress2

string

None.

DeliveryZipCode

string

None.

DeliveryCity

string

None.

DeliveryState

string

None.

DeliveryCountry

string

None.

FreeTime

decimal number

None.

MinCharge

decimal number

None.

MaxCharge

decimal number

None.

MaxPallets

integer

None.

MinPallets

integer

None.

PickupType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Type": "sample string 1",
  "Code": "sample string 2",
  "Name": "sample string 3",
  "Description": "sample string 4",
  "Rate": 5.0,
  "RateTypeId": 6,
  "ValidFrom": "2025-12-05T22:00:55.2751174-08:00",
  "ValidTo": "2025-12-05T22:00:55.2751174-08:00",
  "IsQuickAdd": true,
  "IsActive": true,
  "SiteId": 1,
  "ModeId": 1,
  "ServiceId": 1,
  "ServiceLevelId": 1,
  "EquipmentTypeId": 1,
  "EquipmentSizeId": 1,
  "CustomerIds": [
    1,
    2
  ],
  "CarrierIds": [
    1,
    2
  ],
  "PickUpAddress1": "sample string 9",
  "PickUpAddress2": "sample string 10",
  "PickUpZipCode": "sample string 11",
  "PickUpCity": "sample string 12",
  "PickUpState": "sample string 13",
  "PickUpCountry": "sample string 14",
  "DeliveryAddress1": "sample string 15",
  "DeliveryAddress2": "sample string 16",
  "DeliveryZipCode": "sample string 17",
  "DeliveryCity": "sample string 18",
  "DeliveryState": "sample string 19",
  "DeliveryCountry": "sample string 20",
  "FreeTime": 1.0,
  "MinCharge": 1.0,
  "MaxCharge": 1.0,
  "MaxPallets": 1,
  "MinPallets": 1,
  "PickupType": "sample string 21"
}

application/xml, text/xml

Sample:
<EditCarrierRateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMpowerCore.ViewModels.Rating.CarrierProfile">
  <CarrierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CarrierIds>
  <Code>sample string 2</Code>
  <CustomerIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CustomerIds>
  <DeliveryAddress1>sample string 15</DeliveryAddress1>
  <DeliveryAddress2>sample string 16</DeliveryAddress2>
  <DeliveryCity>sample string 18</DeliveryCity>
  <DeliveryCountry>sample string 20</DeliveryCountry>
  <DeliveryState>sample string 19</DeliveryState>
  <DeliveryZipCode>sample string 17</DeliveryZipCode>
  <Description>sample string 4</Description>
  <EquipmentSizeId>1</EquipmentSizeId>
  <EquipmentTypeId>1</EquipmentTypeId>
  <FreeTime>1</FreeTime>
  <IsActive>true</IsActive>
  <IsQuickAdd>true</IsQuickAdd>
  <MaxCharge>1</MaxCharge>
  <MaxPallets>1</MaxPallets>
  <MinCharge>1</MinCharge>
  <MinPallets>1</MinPallets>
  <ModeId>1</ModeId>
  <Name>sample string 3</Name>
  <PickUpAddress1>sample string 9</PickUpAddress1>
  <PickUpAddress2>sample string 10</PickUpAddress2>
  <PickUpCity>sample string 12</PickUpCity>
  <PickUpCountry>sample string 14</PickUpCountry>
  <PickUpState>sample string 13</PickUpState>
  <PickUpZipCode>sample string 11</PickUpZipCode>
  <PickupType>sample string 21</PickupType>
  <Rate>5</Rate>
  <RateTypeId>6</RateTypeId>
  <ServiceId>1</ServiceId>
  <ServiceLevelId>1</ServiceLevelId>
  <SiteId>1</SiteId>
  <Type>sample string 1</Type>
  <ValidFrom>2025-12-05T22:00:55.2751174-08:00</ValidFrom>
  <ValidTo>2025-12-05T22:00:55.2751174-08:00</ValidTo>
</EditCarrierRateViewModel>

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.