POST Goat/UpdateDiscountRate

Request Information

URI Parameters

None.

Body Parameters

GoatDiscountData
NameDescriptionTypeAdditional information
GoatDiscountId

globally unique identifier

None.

PaymentPer

string

None.

DiscountPer

string

None.

Percentage

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "GoatDiscountId": "697ba56a-7a04-494d-82f3-6c87f2e6c460",
  "PaymentPer": "sample string 2",
  "DiscountPer": "sample string 3",
  "Percentage": 4
}

application/xml, text/xml

Sample:
<GoatDiscountData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ONPETApi.Models">
  <DiscountPer>sample string 3</DiscountPer>
  <GoatDiscountId>697ba56a-7a04-494d-82f3-6c87f2e6c460</GoatDiscountId>
  <PaymentPer>sample string 2</PaymentPer>
  <Percentage>4</Percentage>
</GoatDiscountData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.