POST
api/v1/get-PosDiscountType?DiscountTypeId={DiscountTypeId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DiscountTypeId | integer |
Required |
Response Information
Description:
Return type: Collection of PosDiscountType
Response Formats
application/json, text/json
[
{
"DiscountTypeId": 1,
"DiscountType": "sample string 2"
},
{
"DiscountTypeId": 1,
"DiscountType": "sample string 2"
}
]
text/html
[{"DiscountTypeId":1,"DiscountType":"sample string 2"},{"DiscountTypeId":1,"DiscountType":"sample string 2"}]
application/xml, text/xml
<ArrayOfPosDiscountType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Discount">
<PosDiscountType>
<DiscountType>sample string 2</DiscountType>
<DiscountTypeId>1</DiscountTypeId>
</PosDiscountType>
<PosDiscountType>
<DiscountType>sample string 2</DiscountType>
<DiscountTypeId>1</DiscountTypeId>
</PosDiscountType>
</ArrayOfPosDiscountType>
