GET api/CompanyBuys/GetCompanyBuys?CompanyBuysHeader={CompanyBuysHeader}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CompanyBuysHeader

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CompanyBuysInfoRequest
NameDescriptionTypeAdditional information
BuyID

integer

None.

HeaderID

integer

None.

CardID

integer

None.

ProductID

integer

None.

ProductName

string

None.

Price

decimal number

None.

PurchaseDate

date

None.

CodigoEmpleado

string

None.

vchNombre

string

None.

vchPaterno

string

None.

vchMaterno

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "BuyID": 1,
    "HeaderID": 2,
    "CardID": 3,
    "ProductID": 4,
    "ProductName": "sample string 5",
    "Price": 6.0,
    "PurchaseDate": "2024-11-16T11:44:39.190038+00:00",
    "CodigoEmpleado": "sample string 8",
    "vchNombre": "sample string 9",
    "vchPaterno": "sample string 10",
    "vchMaterno": "sample string 11"
  },
  {
    "BuyID": 1,
    "HeaderID": 2,
    "CardID": 3,
    "ProductID": 4,
    "ProductName": "sample string 5",
    "Price": 6.0,
    "PurchaseDate": "2024-11-16T11:44:39.190038+00:00",
    "CodigoEmpleado": "sample string 8",
    "vchNombre": "sample string 9",
    "vchPaterno": "sample string 10",
    "vchMaterno": "sample string 11"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCompanyBuysController.CompanyBuysInfoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers">
  <CompanyBuysController.CompanyBuysInfoRequest>
    <BuyID>1</BuyID>
    <CardID>3</CardID>
    <CodigoEmpleado>sample string 8</CodigoEmpleado>
    <HeaderID>2</HeaderID>
    <Price>6</Price>
    <ProductID>4</ProductID>
    <ProductName>sample string 5</ProductName>
    <PurchaseDate>2024-11-16T11:44:39.190038+00:00</PurchaseDate>
    <vchMaterno>sample string 11</vchMaterno>
    <vchNombre>sample string 9</vchNombre>
    <vchPaterno>sample string 10</vchPaterno>
  </CompanyBuysController.CompanyBuysInfoRequest>
  <CompanyBuysController.CompanyBuysInfoRequest>
    <BuyID>1</BuyID>
    <CardID>3</CardID>
    <CodigoEmpleado>sample string 8</CodigoEmpleado>
    <HeaderID>2</HeaderID>
    <Price>6</Price>
    <ProductID>4</ProductID>
    <ProductName>sample string 5</ProductName>
    <PurchaseDate>2024-11-16T11:44:39.190038+00:00</PurchaseDate>
    <vchMaterno>sample string 11</vchMaterno>
    <vchNombre>sample string 9</vchNombre>
    <vchPaterno>sample string 10</vchPaterno>
  </CompanyBuysController.CompanyBuysInfoRequest>
</ArrayOfCompanyBuysController.CompanyBuysInfoRequest>