GET
api/v1/GetDiscountCustomerMappings?discountmanagerid={discountmanagerid}&CustomerId={CustomerId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| discountmanagerid | integer |
Required |
|
| CustomerId | integer |
Required |
Response Information
Description:
Return type: Collection of DiscountCustomerMappings
Response Formats
application/json, text/json
[
{
"CustomerDiscountMappingId": 1,
"DiscountManagerId": 2,
"DiscountCustomerTypeId": 1,
"CustomerId": 1,
"CustomerGroupId": 1
},
{
"CustomerDiscountMappingId": 1,
"DiscountManagerId": 2,
"DiscountCustomerTypeId": 1,
"CustomerId": 1,
"CustomerGroupId": 1
}
]
text/html
[{"CustomerDiscountMappingId":1,"DiscountManagerId":2,"DiscountCustomerTypeId":1,"CustomerId":1,"CustomerGroupId":1},{"CustomerDiscountMappingId":1,"DiscountManagerId":2,"DiscountCustomerTypeId":1,"CustomerId":1,"CustomerGroupId":1}]
application/xml, text/xml
<ArrayOfDiscountCustomerMappings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Discount">
<DiscountCustomerMappings>
<CustomerDiscountMappingId>1</CustomerDiscountMappingId>
<CustomerGroupId>1</CustomerGroupId>
<CustomerId>1</CustomerId>
<DiscountCustomerTypeId>1</DiscountCustomerTypeId>
<DiscountManagerId>2</DiscountManagerId>
</DiscountCustomerMappings>
<DiscountCustomerMappings>
<CustomerDiscountMappingId>1</CustomerDiscountMappingId>
<CustomerGroupId>1</CustomerGroupId>
<CustomerId>1</CustomerId>
<DiscountCustomerTypeId>1</DiscountCustomerTypeId>
<DiscountManagerId>2</DiscountManagerId>
</DiscountCustomerMappings>
</ArrayOfDiscountCustomerMappings>
