GET api/WebApiOdata/GetAllBuyingInfluencesByType?providerID={providerID}&influenceTypeId={influenceTypeId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
providerID

integer

Required

influenceTypeId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of BuyingInfluencesViewModel
NameDescriptionTypeAdditional 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": "9/19/2024",
    "EndDate": "9/19/2024",
    "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": "9/19/2024",
    "EndDate": "9/19/2024",
    "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>2024-09-19T08:48:42.2684532+00:00</EndDate>
    <Name>sample string 2</Name>
    <ProductName>sample string 3</ProductName>
    <ProductPrice>4.1</ProductPrice>
    <SCProductID>7</SCProductID>
    <StartDate>2024-09-19T08:48:42.2684532+00:00</StartDate>
    <Status>true</Status>
  </BuyingInfluencesViewModel>
  <BuyingInfluencesViewModel>
    <BuyingInfluenceID>1</BuyingInfluenceID>
    <DealPrice>5.1</DealPrice>
    <DealPriceAmount>8.1</DealPriceAmount>
    <EndDate>2024-09-19T08:48:42.2684532+00:00</EndDate>
    <Name>sample string 2</Name>
    <ProductName>sample string 3</ProductName>
    <ProductPrice>4.1</ProductPrice>
    <SCProductID>7</SCProductID>
    <StartDate>2024-09-19T08:48:42.2684532+00:00</StartDate>
    <Status>true</Status>
  </BuyingInfluencesViewModel>
</ArrayOfBuyingInfluencesViewModel>