GET contractprice/getallbycompany?accountnumber={accountnumber}

Gets all by company.

Request Information

Parameters

NameDescriptionAdditional information
accountNumber
The account number.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "AccountNumber": "sample string 1",
    "ProductCode": "sample string 2",
    "Quantity": 3,
    "Price": 4.0
  },
  {
    "AccountNumber": "sample string 1",
    "ProductCode": "sample string 2",
    "Quantity": 3,
    "Price": 4.0
  },
  {
    "AccountNumber": "sample string 1",
    "ProductCode": "sample string 2",
    "Quantity": 3,
    "Price": 4.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfContractPriceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webi.Api2.Models">
  <ContractPriceModel>
    <AccountNumber>sample string 1</AccountNumber>
    <Price>4</Price>
    <ProductCode>sample string 2</ProductCode>
    <Quantity>3</Quantity>
  </ContractPriceModel>
  <ContractPriceModel>
    <AccountNumber>sample string 1</AccountNumber>
    <Price>4</Price>
    <ProductCode>sample string 2</ProductCode>
    <Quantity>3</Quantity>
  </ContractPriceModel>
  <ContractPriceModel>
    <AccountNumber>sample string 1</AccountNumber>
    <Price>4</Price>
    <ProductCode>sample string 2</ProductCode>
    <Quantity>3</Quantity>
  </ContractPriceModel>
</ArrayOfContractPriceModel>