GET api/Realisations/GetContractsRealisationByProduct?centerNumber={centerNumber}&date={date}
получить реализацию по договорам с группировкой по продуктам
Request Information
URI Parameters
Наименование | Описание | Тип | Дополнительная информация |
---|---|---|---|
centerNumber | integer |
Required |
|
date | date |
Required |
Body Parameters
None.
Информация о ответе
Resource Description
Collection of ContractRealisationByProductНаименование | Описание | Тип | Дополнительная информация |
---|---|---|---|
ContractBeginDate |
дата договора |
date |
None. |
ContractFullname |
Наименование организации |
string |
None. |
ContractNumber |
Номер договора |
integer |
None. |
ContractNumberAndDate |
№ и дата договора |
string |
None. |
ContractSubNumber |
номер поддоговора |
string |
None. |
ContractUnp |
УНП |
string |
None. |
ProductgroupsName |
Наименование группы продукта |
string |
None. |
ProductgroupsNumber |
Номер группы продукта |
integer |
None. |
ProducttypesCommnumber |
Номер продукта |
integer |
None. |
ProducttypesMeasuring |
Единица измерения |
string |
None. |
ProducttypesProductname |
Наименование продукта |
string |
None. |
SumCostFull |
Сумма |
decimal number |
None. |
SumQuantity |
Количество |
decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ContractBeginDate": "2025-04-03T05:17:19.0547639+03:00", "ContractFullname": "sample string 2", "ContractNumber": 3, "ContractNumberAndDate": "sample string 4", "ContractSubNumber": "sample string 5", "ContractUnp": "sample string 6", "ProductgroupsName": "sample string 7", "ProductgroupsNumber": 8, "ProducttypesCommnumber": 9, "ProducttypesMeasuring": "sample string 10", "ProducttypesProductname": "sample string 11", "SumCostFull": 12.0, "SumQuantity": 13.0 }, { "ContractBeginDate": "2025-04-03T05:17:19.0547639+03:00", "ContractFullname": "sample string 2", "ContractNumber": 3, "ContractNumberAndDate": "sample string 4", "ContractSubNumber": "sample string 5", "ContractUnp": "sample string 6", "ProductgroupsName": "sample string 7", "ProductgroupsNumber": 8, "ProducttypesCommnumber": 9, "ProducttypesMeasuring": "sample string 10", "ProducttypesProductname": "sample string 11", "SumCostFull": 12.0, "SumQuantity": 13.0 } ]
application/xml, text/xml
Sample:
<ArrayOfContractRealisationByProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiBerlioInfo.Dto.DataTypes.Contract"> <ContractRealisationByProduct> <ContractBeginDate>2025-04-03T05:17:19.0547639+03:00</ContractBeginDate> <ContractFullname>sample string 2</ContractFullname> <ContractNumber>3</ContractNumber> <ContractNumberAndDate>sample string 4</ContractNumberAndDate> <ContractSubNumber>sample string 5</ContractSubNumber> <ContractUnp>sample string 6</ContractUnp> <ProductgroupsName>sample string 7</ProductgroupsName> <ProductgroupsNumber>8</ProductgroupsNumber> <ProducttypesCommnumber>9</ProducttypesCommnumber> <ProducttypesMeasuring>sample string 10</ProducttypesMeasuring> <ProducttypesProductname>sample string 11</ProducttypesProductname> <SumCostFull>12</SumCostFull> <SumQuantity>13</SumQuantity> </ContractRealisationByProduct> <ContractRealisationByProduct> <ContractBeginDate>2025-04-03T05:17:19.0547639+03:00</ContractBeginDate> <ContractFullname>sample string 2</ContractFullname> <ContractNumber>3</ContractNumber> <ContractNumberAndDate>sample string 4</ContractNumberAndDate> <ContractSubNumber>sample string 5</ContractSubNumber> <ContractUnp>sample string 6</ContractUnp> <ProductgroupsName>sample string 7</ProductgroupsName> <ProductgroupsNumber>8</ProductgroupsNumber> <ProducttypesCommnumber>9</ProducttypesCommnumber> <ProducttypesMeasuring>sample string 10</ProducttypesMeasuring> <ProducttypesProductname>sample string 11</ProducttypesProductname> <SumCostFull>12</SumCostFull> <SumQuantity>13</SumQuantity> </ContractRealisationByProduct> </ArrayOfContractRealisationByProduct>
text/csv
Sample:
ContractBeginDate;ContractFullname;ContractNumber;ContractNumberAndDate;ContractSubNumber;ContractUnp;ProductgroupsName;ProductgroupsNumber;ProducttypesCommnumber;ProducttypesMeasuring;ProducttypesProductname;SumCostFull;SumQuantity; 03.04.2025 5:17;sample string 2;3;sample string 4;sample string 5;sample string 6;sample string 7;8;9;sample string 10;sample string 11;12;13; 03.04.2025 5:17;sample string 2;3;sample string 4;sample string 5;sample string 6;sample string 7;8;9;sample string 10;sample string 11;12;13;