POST api/ServiceMiles
Request Information
URI Parameters
None.
Body Parameters
ServiceMilesRequestName | Description | Type | Additional information |
---|---|---|---|
ZIP | string |
None. |
|
PickupDate | date |
None. |
|
TariffName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ZIP": "sample string 1", "PickupDate": "2025-01-21T23:47:35.2784526-05:00", "TariffName": "sample string 3" }
application/xml, text/xml
Sample:
<ServiceMilesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Estimate.Common.Models"> <PickupDate>2025-01-21T23:47:35.2784526-05:00</PickupDate> <TariffName>sample string 3</TariffName> <ZIP>sample string 1</ZIP> </ServiceMilesRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceMileValuesName | Description | Type | Additional information |
---|---|---|---|
ServiceMiles | integer |
None. |
|
SITServiceMiles | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "ServiceMiles": 1, "SITServiceMiles": 2 }
application/xml, text/xml
Sample:
<ServiceMileValues xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Estimate.Common.Models"> <SITServiceMiles>2</SITServiceMiles> <ServiceMiles>1</ServiceMiles> </ServiceMileValues>