GET Reporting/v1/Stock/GetAccountTransfersReport
Gets the Account Transfers report data for given sites.
Request Information
URI Parameters
Name | Type | Description | Additional information |
---|---|---|---|
RequestingSiteID | integer |
SiteID which is requesting report |
None. |
ProductTypeIDs | Collection of integer |
Optional: will refine report by given product type IDs, if empty will not refine the report |
None. |
ProductGroupIDs | Collection of integer |
Optional: will refine report by given product group IDs, if empty will not refine the report |
None. |
SiteIDs | Collection of integer |
Site IDs which the report will be run on |
None. |
DateUtcFrom | date |
Date which the report will start from |
None. |
DateUtcTo | date |
Date which the report will end till |
None. |
Body Parameters
ReportingRequestCommandName | Type | Description | Additional information |
---|---|---|---|
RequestingSiteID | integer |
SiteID which is requesting report |
None. |
ProductTypeIDs | Collection of integer |
Optional: will refine report by given product type IDs, if empty will not refine the report |
None. |
ProductGroupIDs | Collection of integer |
Optional: will refine report by given product group IDs, if empty will not refine the report |
None. |
SiteIDs | Collection of integer |
Site IDs which the report will be run on |
None. |
DateUtcFrom | date |
Date which the report will start from |
None. |
DateUtcTo | date |
Date which the report will end till |
None. |
Request Formats
application/json, text/json
{ "RequestingSiteID": 1, "ProductTypeIDs": [ 1, 2 ], "ProductGroupIDs": [ 1, 2 ], "SiteIDs": [ 1, 2 ], "DateUtcFrom": "2024-11-21T06:20:49.5116793+00:00", "DateUtcTo": "2024-11-21T06:20:49.5116793+00:00" }
application/xml, text/xml
<ReportingRequestCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.API.App.Models"> <DateUtcFrom>2024-11-21T06:20:49.5116793+00:00</DateUtcFrom> <DateUtcTo>2024-11-21T06:20:49.5116793+00:00</DateUtcTo> <ProductGroupIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </ProductGroupIDs> <ProductTypeIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </ProductTypeIDs> <RequestingSiteID>1</RequestingSiteID> <SiteIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </SiteIDs> </ReportingRequestCommand>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Collection of AccountTransfersReportItemDtoName | Type | Description | Additional information |
---|---|---|---|
SiteName | string |
None. |
|
LocalTimeZoneID | string |
None. |
|
AccountTransferID | integer |
None. |
|
TransferName | string |
None. |
|
TransferDateUtc | date |
None. |
|
Direction | string |
None. |
|
Account | string |
None. |
|
ProductID | integer |
None. |
|
Item | string |
None. |
|
Measure | string |
None. |
|
Unit | string |
None. |
|
Quantity | decimal number |
None. |
|
UnitPrice | decimal number |
None. |
|
StockLocation | string |
None. |
|
TransferDate | date |
None. |
|
LineSubtotal | decimal number |
None. |
|
PageSize | integer |
None. |
|
TotalCount | integer |
None. |
|
HasMorePages | boolean |
None. |
Response Formats
application/json
Sample not available.
text/json
Sample not available.
application/xml, text/xml
<ArrayOfAccountTransfersReportItemDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.StockMid.Core.Models.Reports.Dto"> <AccountTransfersReportItemDto> <_x003C_AccountTransferID_x003E_k__BackingField>3</_x003C_AccountTransferID_x003E_k__BackingField> <_x003C_Account_x003E_k__BackingField>sample string 7</_x003C_Account_x003E_k__BackingField> <_x003C_Direction_x003E_k__BackingField>sample string 6</_x003C_Direction_x003E_k__BackingField> <_x003C_Item_x003E_k__BackingField>sample string 9</_x003C_Item_x003E_k__BackingField> <_x003C_LocalTimeZoneID_x003E_k__BackingField>sample string 2</_x003C_LocalTimeZoneID_x003E_k__BackingField> <_x003C_Measure_x003E_k__BackingField>sample string 10</_x003C_Measure_x003E_k__BackingField> <_x003C_PageSize_x003E_k__BackingField>15</_x003C_PageSize_x003E_k__BackingField> <_x003C_ProductID_x003E_k__BackingField>8</_x003C_ProductID_x003E_k__BackingField> <_x003C_Quantity_x003E_k__BackingField>12</_x003C_Quantity_x003E_k__BackingField> <_x003C_SiteName_x003E_k__BackingField>sample string 1</_x003C_SiteName_x003E_k__BackingField> <_x003C_StockLocation_x003E_k__BackingField>sample string 14</_x003C_StockLocation_x003E_k__BackingField> <_x003C_TotalCount_x003E_k__BackingField>16</_x003C_TotalCount_x003E_k__BackingField> <_x003C_TransferDateUtc_x003E_k__BackingField>2024-11-21T06:20:49.5274351+00:00</_x003C_TransferDateUtc_x003E_k__BackingField> <_x003C_TransferName_x003E_k__BackingField>sample string 4</_x003C_TransferName_x003E_k__BackingField> <_x003C_UnitPrice_x003E_k__BackingField>13</_x003C_UnitPrice_x003E_k__BackingField> <_x003C_Unit_x003E_k__BackingField>sample string 11</_x003C_Unit_x003E_k__BackingField> </AccountTransfersReportItemDto> <AccountTransfersReportItemDto> <_x003C_AccountTransferID_x003E_k__BackingField>3</_x003C_AccountTransferID_x003E_k__BackingField> <_x003C_Account_x003E_k__BackingField>sample string 7</_x003C_Account_x003E_k__BackingField> <_x003C_Direction_x003E_k__BackingField>sample string 6</_x003C_Direction_x003E_k__BackingField> <_x003C_Item_x003E_k__BackingField>sample string 9</_x003C_Item_x003E_k__BackingField> <_x003C_LocalTimeZoneID_x003E_k__BackingField>sample string 2</_x003C_LocalTimeZoneID_x003E_k__BackingField> <_x003C_Measure_x003E_k__BackingField>sample string 10</_x003C_Measure_x003E_k__BackingField> <_x003C_PageSize_x003E_k__BackingField>15</_x003C_PageSize_x003E_k__BackingField> <_x003C_ProductID_x003E_k__BackingField>8</_x003C_ProductID_x003E_k__BackingField> <_x003C_Quantity_x003E_k__BackingField>12</_x003C_Quantity_x003E_k__BackingField> <_x003C_SiteName_x003E_k__BackingField>sample string 1</_x003C_SiteName_x003E_k__BackingField> <_x003C_StockLocation_x003E_k__BackingField>sample string 14</_x003C_StockLocation_x003E_k__BackingField> <_x003C_TotalCount_x003E_k__BackingField>16</_x003C_TotalCount_x003E_k__BackingField> <_x003C_TransferDateUtc_x003E_k__BackingField>2024-11-21T06:20:49.5274351+00:00</_x003C_TransferDateUtc_x003E_k__BackingField> <_x003C_TransferName_x003E_k__BackingField>sample string 4</_x003C_TransferName_x003E_k__BackingField> <_x003C_UnitPrice_x003E_k__BackingField>13</_x003C_UnitPrice_x003E_k__BackingField> <_x003C_Unit_x003E_k__BackingField>sample string 11</_x003C_Unit_x003E_k__BackingField> </AccountTransfersReportItemDto> </ArrayOfAccountTransfersReportItemDto>