POST api/Tariffs
Request Information
URI Parameters
None.
Body Parameters
TariffsRequestName | Description | Type | Additional information |
---|---|---|---|
TariffType | string |
None. |
|
Designator | string |
None. |
|
MileRange | integer |
None. |
|
Weight | integer |
None. |
|
PickupDate | date |
None. |
|
OrgState | string |
None. |
|
DestState | string |
None. |
|
OrgCounty | string |
None. |
|
DestCounty | string |
None. |
|
gcodeno | integer |
None. |
|
TariffName | string |
None. |
|
TariffNo | integer |
None. |
|
Schedule | string |
None. |
|
WeightRange | integer |
None. |
|
BreakPoint | integer |
None. |
|
Rate | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "TariffType": "sample string 1", "Designator": "sample string 2", "MileRange": 3, "Weight": 4, "PickupDate": "2025-07-01T04:54:04.4624299-04:00", "OrgState": "sample string 6", "DestState": "sample string 7", "OrgCounty": "sample string 8", "DestCounty": "sample string 9", "gcodeno": 10, "TariffName": "sample string 11", "TariffNo": 12, "Schedule": "sample string 13", "WeightRange": 14, "BreakPoint": 15, "Rate": 16.0 }
application/xml, text/xml
Sample:
<TariffsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Estimate.Common.Models"> <BreakPoint>15</BreakPoint> <Designator>sample string 2</Designator> <DestCounty>sample string 9</DestCounty> <DestState>sample string 7</DestState> <MileRange>3</MileRange> <OrgCounty>sample string 8</OrgCounty> <OrgState>sample string 6</OrgState> <PickupDate>2025-07-01T04:54:04.4624299-04:00</PickupDate> <Rate>16</Rate> <Schedule>sample string 13</Schedule> <TariffName>sample string 11</TariffName> <TariffNo>12</TariffNo> <TariffType>sample string 1</TariffType> <Weight>4</Weight> <WeightRange>14</WeightRange> <gcodeno>10</gcodeno> </TariffsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TariffsRequestName | Description | Type | Additional information |
---|---|---|---|
TariffType | string |
None. |
|
Designator | string |
None. |
|
MileRange | integer |
None. |
|
Weight | integer |
None. |
|
PickupDate | date |
None. |
|
OrgState | string |
None. |
|
DestState | string |
None. |
|
OrgCounty | string |
None. |
|
DestCounty | string |
None. |
|
gcodeno | integer |
None. |
|
TariffName | string |
None. |
|
TariffNo | integer |
None. |
|
Schedule | string |
None. |
|
WeightRange | integer |
None. |
|
BreakPoint | integer |
None. |
|
Rate | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "TariffType": "sample string 1", "Designator": "sample string 2", "MileRange": 3, "Weight": 4, "PickupDate": "2025-07-01T04:54:04.4624299-04:00", "OrgState": "sample string 6", "DestState": "sample string 7", "OrgCounty": "sample string 8", "DestCounty": "sample string 9", "gcodeno": 10, "TariffName": "sample string 11", "TariffNo": 12, "Schedule": "sample string 13", "WeightRange": 14, "BreakPoint": 15, "Rate": 16.0 }
application/xml, text/xml
Sample:
<TariffsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Estimate.Common.Models"> <BreakPoint>15</BreakPoint> <Designator>sample string 2</Designator> <DestCounty>sample string 9</DestCounty> <DestState>sample string 7</DestState> <MileRange>3</MileRange> <OrgCounty>sample string 8</OrgCounty> <OrgState>sample string 6</OrgState> <PickupDate>2025-07-01T04:54:04.4624299-04:00</PickupDate> <Rate>16</Rate> <Schedule>sample string 13</Schedule> <TariffName>sample string 11</TariffName> <TariffNo>12</TariffNo> <TariffType>sample string 1</TariffType> <Weight>4</Weight> <WeightRange>14</WeightRange> <gcodeno>10</gcodeno> </TariffsRequest>