GET api/WebApiOdata/GetAllBuyingInfluencesByType?providerID={providerID}&influenceTypeId={influenceTypeId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerID | integer |
Required |
|
influenceTypeId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of BuyingInfluencesViewModelName | Description | Type | Additional information |
---|---|---|---|
BuyingInfluenceID | integer |
None. |
|
Name | string |
None. |
|
ProductName | string |
None. |
|
ProductPrice | decimal number |
None. |
|
DealPrice | decimal number |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
Status | boolean |
None. |
|
SCProductID | integer |
None. |
|
DealPriceAmount | decimal number |
None. |
|
DisplayProductPrice | string |
None. |
|
DisplayDealPrice | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "BuyingInfluenceID": 1, "Name": "sample string 2", "ProductName": "sample string 3", "ProductPrice": 4.1, "DealPrice": 5.1, "StartDate": "1/22/2025", "EndDate": "1/22/2025", "Status": true, "SCProductID": 7, "DealPriceAmount": 8.1, "DisplayProductPrice": "$4.10", "DisplayDealPrice": "$5.10" }, { "BuyingInfluenceID": 1, "Name": "sample string 2", "ProductName": "sample string 3", "ProductPrice": 4.1, "DealPrice": 5.1, "StartDate": "1/22/2025", "EndDate": "1/22/2025", "Status": true, "SCProductID": 7, "DealPriceAmount": 8.1, "DisplayProductPrice": "$4.10", "DisplayDealPrice": "$5.10" } ]
application/xml, text/xml
Sample:
<ArrayOfBuyingInfluencesViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Marketing"> <BuyingInfluencesViewModel> <BuyingInfluenceID>1</BuyingInfluenceID> <DealPrice>5.1</DealPrice> <DealPriceAmount>8.1</DealPriceAmount> <EndDate>2025-01-22T13:55:25.4062832+00:00</EndDate> <Name>sample string 2</Name> <ProductName>sample string 3</ProductName> <ProductPrice>4.1</ProductPrice> <SCProductID>7</SCProductID> <StartDate>2025-01-22T13:55:25.4062832+00:00</StartDate> <Status>true</Status> </BuyingInfluencesViewModel> <BuyingInfluencesViewModel> <BuyingInfluenceID>1</BuyingInfluenceID> <DealPrice>5.1</DealPrice> <DealPriceAmount>8.1</DealPriceAmount> <EndDate>2025-01-22T13:55:25.4062832+00:00</EndDate> <Name>sample string 2</Name> <ProductName>sample string 3</ProductName> <ProductPrice>4.1</ProductPrice> <SCProductID>7</SCProductID> <StartDate>2025-01-22T13:55:25.4062832+00:00</StartDate> <Status>true</Status> </BuyingInfluencesViewModel> </ArrayOfBuyingInfluencesViewModel>