GET api/CompanyBuys/GetCompanyBuysHeaders?CompanyID={CompanyID}&StartDate={StartDate}&EndDate={EndDate}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CompanyID | integer |
Required |
|
StartDate | string |
Required |
|
EndDate | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CompanyBuyHeaderRequestName | Description | Type | Additional information |
---|---|---|---|
iCodWebCompany | integer |
None. |
|
Institution | string |
None. |
|
CardNumber | integer |
None. |
|
iCodTipoTarjeta | integer |
None. |
|
CardType | string |
None. |
|
tiCodClase | integer |
None. |
|
iCodProducto | integer |
None. |
|
Product | string |
None. |
|
dtFecha | date |
None. |
|
dtFechaIniPase | date |
None. |
|
dtFechaFinPase | date |
None. |
|
dNumMonto | decimal number |
None. |
|
iCodEmpresa | integer |
None. |
|
tiCodTipoTarjeta | integer |
None. |
|
iCodTarjeta | integer |
None. |
|
CodigoEmpleado | string |
None. |
|
Department | string |
None. |
|
vchNombre | string |
None. |
|
vchPaterno | string |
None. |
|
vchMaterno | string |
None. |
|
tiTipoProducto | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "iCodWebCompany": 1, "Institution": "sample string 2", "CardNumber": 3, "iCodTipoTarjeta": 4, "CardType": "sample string 5", "tiCodClase": 6, "iCodProducto": 7, "Product": "sample string 8", "dtFecha": "2024-11-19T08:22:38.8269539+00:00", "dtFechaIniPase": "2024-11-19T08:22:38.8269539+00:00", "dtFechaFinPase": "2024-11-19T08:22:38.8269539+00:00", "dNumMonto": 12.0, "iCodEmpresa": 13, "tiCodTipoTarjeta": 14, "iCodTarjeta": 15, "CodigoEmpleado": "sample string 16", "Department": "sample string 17", "vchNombre": "sample string 18", "vchPaterno": "sample string 19", "vchMaterno": "sample string 20", "tiTipoProducto": 21 }, { "iCodWebCompany": 1, "Institution": "sample string 2", "CardNumber": 3, "iCodTipoTarjeta": 4, "CardType": "sample string 5", "tiCodClase": 6, "iCodProducto": 7, "Product": "sample string 8", "dtFecha": "2024-11-19T08:22:38.8269539+00:00", "dtFechaIniPase": "2024-11-19T08:22:38.8269539+00:00", "dtFechaFinPase": "2024-11-19T08:22:38.8269539+00:00", "dNumMonto": 12.0, "iCodEmpresa": 13, "tiCodTipoTarjeta": 14, "iCodTarjeta": 15, "CodigoEmpleado": "sample string 16", "Department": "sample string 17", "vchNombre": "sample string 18", "vchPaterno": "sample string 19", "vchMaterno": "sample string 20", "tiTipoProducto": 21 } ]
application/xml, text/xml
Sample:
<ArrayOfCompanyBuysController.CompanyBuyHeaderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers"> <CompanyBuysController.CompanyBuyHeaderRequest> <CardNumber>3</CardNumber> <CardType>sample string 5</CardType> <CodigoEmpleado>sample string 16</CodigoEmpleado> <Department>sample string 17</Department> <Institution>sample string 2</Institution> <Product>sample string 8</Product> <dNumMonto>12</dNumMonto> <dtFecha>2024-11-19T08:22:38.8269539+00:00</dtFecha> <dtFechaFinPase>2024-11-19T08:22:38.8269539+00:00</dtFechaFinPase> <dtFechaIniPase>2024-11-19T08:22:38.8269539+00:00</dtFechaIniPase> <iCodEmpresa>13</iCodEmpresa> <iCodProducto>7</iCodProducto> <iCodTarjeta>15</iCodTarjeta> <iCodTipoTarjeta>4</iCodTipoTarjeta> <iCodWebCompany>1</iCodWebCompany> <tiCodClase>6</tiCodClase> <tiCodTipoTarjeta>14</tiCodTipoTarjeta> <tiTipoProducto>21</tiTipoProducto> <vchMaterno>sample string 20</vchMaterno> <vchNombre>sample string 18</vchNombre> <vchPaterno>sample string 19</vchPaterno> </CompanyBuysController.CompanyBuyHeaderRequest> <CompanyBuysController.CompanyBuyHeaderRequest> <CardNumber>3</CardNumber> <CardType>sample string 5</CardType> <CodigoEmpleado>sample string 16</CodigoEmpleado> <Department>sample string 17</Department> <Institution>sample string 2</Institution> <Product>sample string 8</Product> <dNumMonto>12</dNumMonto> <dtFecha>2024-11-19T08:22:38.8269539+00:00</dtFecha> <dtFechaFinPase>2024-11-19T08:22:38.8269539+00:00</dtFechaFinPase> <dtFechaIniPase>2024-11-19T08:22:38.8269539+00:00</dtFechaIniPase> <iCodEmpresa>13</iCodEmpresa> <iCodProducto>7</iCodProducto> <iCodTarjeta>15</iCodTarjeta> <iCodTipoTarjeta>4</iCodTipoTarjeta> <iCodWebCompany>1</iCodWebCompany> <tiCodClase>6</tiCodClase> <tiCodTipoTarjeta>14</tiCodTipoTarjeta> <tiTipoProducto>21</tiTipoProducto> <vchMaterno>sample string 20</vchMaterno> <vchNombre>sample string 18</vchNombre> <vchPaterno>sample string 19</vchPaterno> </CompanyBuysController.CompanyBuyHeaderRequest> </ArrayOfCompanyBuysController.CompanyBuyHeaderRequest>