POST api/rating/customer
Request Information
URI Parameters
None.
Body Parameters
BindCustomerRateViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
Required |
|
| Description | string |
None. |
|
| Rate | decimal number |
Required |
|
| RateTypeId | integer |
Required |
|
| ValidFrom | date |
Required |
|
| ValidTo | date |
Required |
|
| IsQuickAdd | boolean |
None. |
|
| Type | string |
None. |
|
| SiteId | integer |
None. |
|
| ModeId | integer |
None. |
|
| ServiceId | integer |
None. |
|
| FreeTime | decimal number |
None. |
|
| MinCharge | decimal number |
None. |
|
| MaxCharge | decimal number |
None. |
|
| ServiceLevelId | integer |
None. |
|
| EquipmentTypeId | integer |
None. |
|
| EquipmentSizeId | integer |
None. |
|
| CustomerIds | 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. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Description": "sample string 2",
"Rate": 3.0,
"RateTypeId": 4,
"ValidFrom": "2025-12-05T22:08:05.0414716-08:00",
"ValidTo": "2025-12-05T22:08:05.0414716-08:00",
"IsQuickAdd": true,
"Type": "sample string 8",
"SiteId": 1,
"ModeId": 1,
"ServiceId": 1,
"FreeTime": 1.0,
"MinCharge": 1.0,
"MaxCharge": 1.0,
"ServiceLevelId": 1,
"EquipmentTypeId": 1,
"EquipmentSizeId": 1,
"CustomerIds": [
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"
}
application/xml, text/xml
Sample:
<BindCustomerRateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMpowerCore.ViewModels.Rating.CustomerProfile">
<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 2</Description>
<EquipmentSizeId>1</EquipmentSizeId>
<EquipmentTypeId>1</EquipmentTypeId>
<FreeTime>1</FreeTime>
<IsQuickAdd>true</IsQuickAdd>
<MaxCharge>1</MaxCharge>
<MinCharge>1</MinCharge>
<ModeId>1</ModeId>
<Name>sample string 1</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>
<Rate>3</Rate>
<RateTypeId>4</RateTypeId>
<ServiceId>1</ServiceId>
<ServiceLevelId>1</ServiceLevelId>
<SiteId>1</SiteId>
<Type>sample string 8</Type>
<ValidFrom>2025-12-05T22:08:05.0414716-08:00</ValidFrom>
<ValidTo>2025-12-05T22:08:05.0414716-08:00</ValidTo>
</BindCustomerRateViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.