GET PremiumDiscount/GetPremiumDiscountSchedule?Commodity={Commodity}&GradeFactor={GradeFactor}

Returns a list of Premium Discount Schedules.

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
Commodity

string

Required

GradeFactor

string

Required

Body Parameters

Response Information

Resource Description

Returns a list of Premium Discount Schedules.

AgvPremiumDiscountSchedule
NameDescriptionTypeAdditional Information
Status

Status of the API call.

string
Message

Message of the API call.

string
Count

Count of how many PremiumDiscountSchedule JSON dictionaries.

string
PremiumDiscountScheduleList

JSON dictionary of PremiumDiscountSchedule.

Collection of PremiumDiscountSchedule

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "Count": "sample string 3",
  "PremiumDiscountScheduleList": [
    {
      "Schedule": "sample string 1"
    },
    {
      "Schedule": "sample string 1"
    }
  ]
}

application/xml, text/xml

Sample:
<AgvPremiumDiscountSchedule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Shipping.PremiumDiscount">
  <Count>sample string 3</Count>
  <Message>sample string 2</Message>
  <PremiumDiscountScheduleList>
    <PremiumDiscountSchedule>
      <Schedule>sample string 1</Schedule>
    </PremiumDiscountSchedule>
    <PremiumDiscountSchedule>
      <Schedule>sample string 1</Schedule>
    </PremiumDiscountSchedule>
  </PremiumDiscountScheduleList>
  <Status>sample string 1</Status>
</AgvPremiumDiscountSchedule>