POST api/Shipping/UPS/GetRate?subjectID={subjectID}&subjectTypeID={subjectTypeID}&shipMethodID={shipMethodID}
Returns the UPS rate (final, surcharge-applied) for a single ship method as a JSON array, matching the shape the SQL shim's OPENJSON block expects.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subjectID | integer |
Required |
|
| subjectTypeID | integer |
Required |
|
| shipMethodID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of IUpsRateResult| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceCode | string |
None. |
|
| ServiceName | string |
None. |
|
| ShippingCost | decimal number |
None. |
|
| OtherCost | decimal number |
None. |
|
| CarrierID | string |
None. |
|
| BusinessDaysInTransit | string |
None. |
Response Formats
application/xml, text/xml, application/json, text/json
Sample:
Sample not available.