GET external/reports/sales/{key}?from={from}&to={to}&organizationalUnitId={organizationalUnitId}&costcenter={costcenter}&project={project}&customer={customer}&serviceGroup={serviceGroup}&service={service}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
key | string |
Required |
|
from | date |
None. |
|
to | date |
None. |
|
organizationalUnitId | integer |
None. |
|
costcenter | string |
None. |
|
project | string |
None. |
|
customer | string |
None. |
|
serviceGroup | string |
None. |
|
service | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of SalesReportItemName | Description | Type | Additional information |
---|---|---|---|
Amount | decimal number |
None. |
|
Year | integer |
None. |
|
Quarter | string |
None. |
|
Month | string |
None. |
|
CustomerID | integer |
None. |
|
Customer | string |
None. |
|
CountryID | integer |
None. |
|
Country | string |
None. |
|
PaymentMethodID | integer |
None. |
|
PaymentMethod | string |
None. |
|
OrganizationalUnitID | integer |
None. |
|
OrganizationalUnit | string |
None. |
|
ProjectID | integer |
None. |
|
Project | string |
None. |
|
CostCenterID | integer |
None. |
|
CostCenter | string |
None. |
|
ServiceID | integer |
None. |
|
Service | string |
None. |
|
ServiceGroupID | integer |
None. |
|
ServiceGroup | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Amount": 1.0, "Year": 2, "Quarter": "sample string 3", "Month": "sample string 4", "CustomerID": 5, "Customer": "sample string 6", "CountryID": 7, "Country": "sample string 8", "PaymentMethodID": 1, "PaymentMethod": "sample string 9", "OrganizationalUnitID": 10, "OrganizationalUnit": "sample string 11", "ProjectID": 1, "Project": "sample string 12", "CostCenterID": 13, "CostCenter": "sample string 14", "ServiceID": 15, "Service": "sample string 16", "ServiceGroupID": 17, "ServiceGroup": "sample string 18" }, { "Amount": 1.0, "Year": 2, "Quarter": "sample string 3", "Month": "sample string 4", "CustomerID": 5, "Customer": "sample string 6", "CountryID": 7, "Country": "sample string 8", "PaymentMethodID": 1, "PaymentMethod": "sample string 9", "OrganizationalUnitID": 10, "OrganizationalUnit": "sample string 11", "ProjectID": 1, "Project": "sample string 12", "CostCenterID": 13, "CostCenter": "sample string 14", "ServiceID": 15, "Service": "sample string 16", "ServiceGroupID": 17, "ServiceGroup": "sample string 18" } ]
text/xml
Sample:
<ArrayOfSalesReportItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Finance.Reports"> <SalesReportItem> <Amount>1</Amount> <CostCenter>sample string 14</CostCenter> <CostCenterID>13</CostCenterID> <Country>sample string 8</Country> <CountryID>7</CountryID> <Customer>sample string 6</Customer> <CustomerID>5</CustomerID> <Month>sample string 4</Month> <OrganizationalUnit>sample string 11</OrganizationalUnit> <OrganizationalUnitID>10</OrganizationalUnitID> <PaymentMethod>sample string 9</PaymentMethod> <PaymentMethodID>1</PaymentMethodID> <Project>sample string 12</Project> <ProjectID>1</ProjectID> <Quarter>sample string 3</Quarter> <Service>sample string 16</Service> <ServiceGroup>sample string 18</ServiceGroup> <ServiceGroupID>17</ServiceGroupID> <ServiceID>15</ServiceID> <Year>2</Year> </SalesReportItem> <SalesReportItem> <Amount>1</Amount> <CostCenter>sample string 14</CostCenter> <CostCenterID>13</CostCenterID> <Country>sample string 8</Country> <CountryID>7</CountryID> <Customer>sample string 6</Customer> <CustomerID>5</CustomerID> <Month>sample string 4</Month> <OrganizationalUnit>sample string 11</OrganizationalUnit> <OrganizationalUnitID>10</OrganizationalUnitID> <PaymentMethod>sample string 9</PaymentMethod> <PaymentMethodID>1</PaymentMethodID> <Project>sample string 12</Project> <ProjectID>1</ProjectID> <Quarter>sample string 3</Quarter> <Service>sample string 16</Service> <ServiceGroup>sample string 18</ServiceGroup> <ServiceGroupID>17</ServiceGroupID> <ServiceID>15</ServiceID> <Year>2</Year> </SalesReportItem> </ArrayOfSalesReportItem>