GET Sales/all?startdate={startdate}&enddate={enddate}&branchid={branchid}
Gets data of all Sales of a branch and between two dates.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
startdate |
Indicates the date from which to start the search |
date |
Required |
enddate |
Indicates the end date search |
date |
Required |
branchid |
Indicates the id of the branch |
decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
Array of Sales data received and processed
Collection of DocumentName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
num | integer |
None. |
|
date | date |
None. |
|
paymenttype | string |
None. |
|
freeamount | decimal number |
None. |
|
taxamount | decimal number |
None. |
|
amount | decimal number |
None. |
|
note1 | string |
None. |
|
branchid | decimal number |
None. |
|
note3 | string |
None. |
|
buyerdesc | string |
None. |
|
customerdesc | string |
None. |
|
buyerid | decimal number |
None. |
|
formatnumber | string |
None. |
|
note2 | string |
None. |
|
location | decimal number |
None. |
|
printed | boolean |
None. |
|
insertdatetime | date |
None. |
|
iddocumenttemplate | string |
None. |
|
holderlastname | string |
None. |
|
holderfirstname | string |
None. |
|
holderdob | date |
None. |
|
holderbirthplace | string |
None. |
|
holderaddress | string |
None. |
|
holderzipcode | string |
None. |
|
holdercity | string |
None. |
|
holderstate | string |
None. |
|
holdertaxcode | string |
None. |
|
customer | Customer |
None. |
|
rows | Collection of DocumentRow |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": "sample string 1", "num": 1, "date": "2025-05-10T11:09:53.0042623+02:00", "paymenttype": "sample string 2", "freeamount": 1.0, "taxamount": 1.0, "amount": 1.0, "note1": "sample string 3", "branchid": 4.0, "note3": "sample string 5", "buyerdesc": "sample string 6", "customerdesc": "sample string 7", "buyerid": 1.0, "formatnumber": "sample string 8", "note2": "sample string 9", "location": 1.0, "printed": true, "insertdatetime": "2025-05-10T11:09:53.0042623+02:00", "iddocumenttemplate": "sample string 12", "holderlastname": "sample string 13", "holderfirstname": "sample string 14", "holderdob": "2025-05-10T11:09:53.0042623+02:00", "holderbirthplace": "sample string 16", "holderaddress": "sample string 17", "holderzipcode": "sample string 18", "holdercity": "sample string 19", "holderstate": "sample string 20", "holdertaxcode": "sample string 21", "customer": { "id": "sample string 1", "lastname": "sample string 2", "firstname": "sample string 3", "dob": "2025-05-10T11:09:53.0042623+02:00", "birthplace": "sample string 4", "email": "sample string 5", "gender": "sample string 6", "address": "sample string 7", "zipcode": "sample string 8", "medicalexpirydate": "2025-05-10T11:09:53.0042623+02:00", "city": "sample string 9", "state": "sample string 10", "phone": "sample string 11", "notes": "sample string 12", "taxcode": "sample string 13", "badgeid": "sample string 14", "memexpirydate": "2025-05-10T11:09:53.0042623+02:00", "typerow": "sample string 15", "ecommerce": true, "mobilephone": "sample string 16", "medicalexpirydate2": "2025-05-10T11:09:53.0042623+02:00", "vatcode": "sample string 17", "insertdate": "2025-05-10T11:09:53.0042623+02:00", "employee": true, "customerstate": "sample string 20", "statscurrentseason": 21.0, "statspastseason": 22.0, "statslast3months": 23.0, "statslast6months": 24.0, "debt": 25.0, "lastaccess": "2025-05-10T11:09:53.0042623+02:00", "lastedit": "2025-05-10T11:09:53.0042623+02:00", "activityexpiredate": "2025-05-10T11:09:53.0042623+02:00", "marketingagreement": true, "notifyagreement": true, "lastlogin": "2025-05-10T11:09:53.0042623+02:00", "myzoneid": "sample string 26", "massivedeleteid": 1.0, "progressive": 1, "userowner": "sample string 27", "userassignee": "sample string 28", "branch": [ { "id": "sample string 1", "name": "sample string 2", "ecomm_name": "sample string 3" }, { "id": "sample string 1", "name": "sample string 2", "ecomm_name": "sample string 3" } ] }, "rows": [ { "documentrowid": "sample string 1", "documentid": "sample string 2", "objectid": 1.0, "code": "sample string 3", "objecttype": "sample string 4", "description": "sample string 5", "singleamount": 1.0, "freeamount": 1.0, "amount": 1.0, "taxamount": 1.0, "type": "sample string 6", "longdescription": "sample string 7", "packname": "sample string 8", "startcompetencedate": "2025-05-10T11:09:53.0042623+02:00", "endcompetencedate": "2025-05-10T11:09:53.0042623+02:00", "quantity": 9.1, "cartrowid": 10.0, "activities": [ { "id": "sample string 1", "name": "sample string 2", "ecomm_name": "sample string 3", "ecomm_description": "sample string 4", "waitlistenabled": true, "color": "sample string 6" }, { "id": "sample string 1", "name": "sample string 2", "ecomm_name": "sample string 3", "ecomm_description": "sample string 4", "waitlistenabled": true, "color": "sample string 6" } ] }, { "documentrowid": "sample string 1", "documentid": "sample string 2", "objectid": 1.0, "code": "sample string 3", "objecttype": "sample string 4", "description": "sample string 5", "singleamount": 1.0, "freeamount": 1.0, "amount": 1.0, "taxamount": 1.0, "type": "sample string 6", "longdescription": "sample string 7", "packname": "sample string 8", "startcompetencedate": "2025-05-10T11:09:53.0042623+02:00", "endcompetencedate": "2025-05-10T11:09:53.0042623+02:00", "quantity": 9.1, "cartrowid": 10.0, "activities": [ { "id": "sample string 1", "name": "sample string 2", "ecomm_name": "sample string 3", "ecomm_description": "sample string 4", "waitlistenabled": true, "color": "sample string 6" }, { "id": "sample string 1", "name": "sample string 2", "ecomm_name": "sample string 3", "ecomm_description": "sample string 4", "waitlistenabled": true, "color": "sample string 6" } ] } ] }, { "id": "sample string 1", "num": 1, "date": "2025-05-10T11:09:53.0042623+02:00", "paymenttype": "sample string 2", "freeamount": 1.0, "taxamount": 1.0, "amount": 1.0, "note1": "sample string 3", "branchid": 4.0, "note3": "sample string 5", "buyerdesc": "sample string 6", "customerdesc": "sample string 7", "buyerid": 1.0, "formatnumber": "sample string 8", "note2": "sample string 9", "location": 1.0, "printed": true, "insertdatetime": "2025-05-10T11:09:53.0042623+02:00", "iddocumenttemplate": "sample string 12", "holderlastname": "sample string 13", "holderfirstname": "sample string 14", "holderdob": "2025-05-10T11:09:53.0042623+02:00", "holderbirthplace": "sample string 16", "holderaddress": "sample string 17", "holderzipcode": "sample string 18", "holdercity": "sample string 19", "holderstate": "sample string 20", "holdertaxcode": "sample string 21", "customer": { "id": "sample string 1", "lastname": "sample string 2", "firstname": "sample string 3", "dob": "2025-05-10T11:09:53.0042623+02:00", "birthplace": "sample string 4", "email": "sample string 5", "gender": "sample string 6", "address": "sample string 7", "zipcode": "sample string 8", "medicalexpirydate": "2025-05-10T11:09:53.0042623+02:00", "city": "sample string 9", "state": "sample string 10", "phone": "sample string 11", "notes": "sample string 12", "taxcode": "sample string 13", "badgeid": "sample string 14", "memexpirydate": "2025-05-10T11:09:53.0042623+02:00", "typerow": "sample string 15", "ecommerce": true, "mobilephone": "sample string 16", "medicalexpirydate2": "2025-05-10T11:09:53.0042623+02:00", "vatcode": "sample string 17", "insertdate": "2025-05-10T11:09:53.0042623+02:00", "employee": true, "customerstate": "sample string 20", "statscurrentseason": 21.0, "statspastseason": 22.0, "statslast3months": 23.0, "statslast6months": 24.0, "debt": 25.0, "lastaccess": "2025-05-10T11:09:53.0042623+02:00", "lastedit": "2025-05-10T11:09:53.0042623+02:00", "activityexpiredate": "2025-05-10T11:09:53.0042623+02:00", "marketingagreement": true, "notifyagreement": true, "lastlogin": "2025-05-10T11:09:53.0042623+02:00", "myzoneid": "sample string 26", "massivedeleteid": 1.0, "progressive": 1, "userowner": "sample string 27", "userassignee": "sample string 28", "branch": [ { "id": "sample string 1", "name": "sample string 2", "ecomm_name": "sample string 3" }, { "id": "sample string 1", "name": "sample string 2", "ecomm_name": "sample string 3" } ] }, "rows": [ { "documentrowid": "sample string 1", "documentid": "sample string 2", "objectid": 1.0, "code": "sample string 3", "objecttype": "sample string 4", "description": "sample string 5", "singleamount": 1.0, "freeamount": 1.0, "amount": 1.0, "taxamount": 1.0, "type": "sample string 6", "longdescription": "sample string 7", "packname": "sample string 8", "startcompetencedate": "2025-05-10T11:09:53.0042623+02:00", "endcompetencedate": "2025-05-10T11:09:53.0042623+02:00", "quantity": 9.1, "cartrowid": 10.0, "activities": [ { "id": "sample string 1", "name": "sample string 2", "ecomm_name": "sample string 3", "ecomm_description": "sample string 4", "waitlistenabled": true, "color": "sample string 6" }, { "id": "sample string 1", "name": "sample string 2", "ecomm_name": "sample string 3", "ecomm_description": "sample string 4", "waitlistenabled": true, "color": "sample string 6" } ] }, { "documentrowid": "sample string 1", "documentid": "sample string 2", "objectid": 1.0, "code": "sample string 3", "objecttype": "sample string 4", "description": "sample string 5", "singleamount": 1.0, "freeamount": 1.0, "amount": 1.0, "taxamount": 1.0, "type": "sample string 6", "longdescription": "sample string 7", "packname": "sample string 8", "startcompetencedate": "2025-05-10T11:09:53.0042623+02:00", "endcompetencedate": "2025-05-10T11:09:53.0042623+02:00", "quantity": 9.1, "cartrowid": 10.0, "activities": [ { "id": "sample string 1", "name": "sample string 2", "ecomm_name": "sample string 3", "ecomm_description": "sample string 4", "waitlistenabled": true, "color": "sample string 6" }, { "id": "sample string 1", "name": "sample string 2", "ecomm_name": "sample string 3", "ecomm_description": "sample string 4", "waitlistenabled": true, "color": "sample string 6" } ] } ] } ]
application/xml, text/xml
Sample:
<ArrayOfDocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sportrick.ApiModel"> <Document> <amount>1</amount> <branchid>4</branchid> <buyerdesc>sample string 6</buyerdesc> <buyerid>1</buyerid> <customer> <activityexpiredate>2025-05-10T11:09:53.0042623+02:00</activityexpiredate> <address>sample string 7</address> <badgeid>sample string 14</badgeid> <birthplace>sample string 4</birthplace> <branch> <Branch> <ecomm_name>sample string 3</ecomm_name> <id>sample string 1</id> <name>sample string 2</name> </Branch> <Branch> <ecomm_name>sample string 3</ecomm_name> <id>sample string 1</id> <name>sample string 2</name> </Branch> </branch> <city>sample string 9</city> <customerstate>sample string 20</customerstate> <debt>25</debt> <dob>2025-05-10T11:09:53.0042623+02:00</dob> <ecommerce>true</ecommerce> <email>sample string 5</email> <employee>true</employee> <firstname>sample string 3</firstname> <gender>sample string 6</gender> <id>sample string 1</id> <insertdate>2025-05-10T11:09:53.0042623+02:00</insertdate> <lastaccess>2025-05-10T11:09:53.0042623+02:00</lastaccess> <lastedit>2025-05-10T11:09:53.0042623+02:00</lastedit> <lastlogin>2025-05-10T11:09:53.0042623+02:00</lastlogin> <lastname>sample string 2</lastname> <marketingagreement>true</marketingagreement> <massivedeleteid>1</massivedeleteid> <medicalexpirydate>2025-05-10T11:09:53.0042623+02:00</medicalexpirydate> <medicalexpirydate2>2025-05-10T11:09:53.0042623+02:00</medicalexpirydate2> <memexpirydate>2025-05-10T11:09:53.0042623+02:00</memexpirydate> <mobilephone>sample string 16</mobilephone> <myzoneid>sample string 26</myzoneid> <notes>sample string 12</notes> <notifyagreement>true</notifyagreement> <phone>sample string 11</phone> <progressive>1</progressive> <state>sample string 10</state> <statscurrentseason>21</statscurrentseason> <statslast3months>23</statslast3months> <statslast6months>24</statslast6months> <statspastseason>22</statspastseason> <taxcode>sample string 13</taxcode> <typerow>sample string 15</typerow> <userassignee>sample string 28</userassignee> <userowner>sample string 27</userowner> <vatcode>sample string 17</vatcode> <zipcode>sample string 8</zipcode> </customer> <customerdesc>sample string 7</customerdesc> <date>2025-05-10T11:09:53.0042623+02:00</date> <formatnumber>sample string 8</formatnumber> <freeamount>1</freeamount> <holderaddress>sample string 17</holderaddress> <holderbirthplace>sample string 16</holderbirthplace> <holdercity>sample string 19</holdercity> <holderdob>2025-05-10T11:09:53.0042623+02:00</holderdob> <holderfirstname>sample string 14</holderfirstname> <holderlastname>sample string 13</holderlastname> <holderstate>sample string 20</holderstate> <holdertaxcode>sample string 21</holdertaxcode> <holderzipcode>sample string 18</holderzipcode> <id>sample string 1</id> <iddocumenttemplate>sample string 12</iddocumenttemplate> <insertdatetime>2025-05-10T11:09:53.0042623+02:00</insertdatetime> <location>1</location> <note1>sample string 3</note1> <note2>sample string 9</note2> <note3>sample string 5</note3> <num>1</num> <paymenttype>sample string 2</paymenttype> <printed>true</printed> <rows> <DocumentRow> <activities> <Activity> <color>sample string 6</color> <ecomm_description>sample string 4</ecomm_description> <ecomm_name>sample string 3</ecomm_name> <id>sample string 1</id> <name>sample string 2</name> <waitlistenabled>true</waitlistenabled> </Activity> <Activity> <color>sample string 6</color> <ecomm_description>sample string 4</ecomm_description> <ecomm_name>sample string 3</ecomm_name> <id>sample string 1</id> <name>sample string 2</name> <waitlistenabled>true</waitlistenabled> </Activity> </activities> <amount>1</amount> <cartrowid>10</cartrowid> <code>sample string 3</code> <description>sample string 5</description> <documentid>sample string 2</documentid> <documentrowid>sample string 1</documentrowid> <endcompetencedate>2025-05-10T11:09:53.0042623+02:00</endcompetencedate> <freeamount>1</freeamount> <longdescription>sample string 7</longdescription> <objectid>1</objectid> <objecttype>sample string 4</objecttype> <packname>sample string 8</packname> <quantity>9.1</quantity> <singleamount>1</singleamount> <startcompetencedate>2025-05-10T11:09:53.0042623+02:00</startcompetencedate> <taxamount>1</taxamount> <type>sample string 6</type> </DocumentRow> <DocumentRow> <activities> <Activity> <color>sample string 6</color> <ecomm_description>sample string 4</ecomm_description> <ecomm_name>sample string 3</ecomm_name> <id>sample string 1</id> <name>sample string 2</name> <waitlistenabled>true</waitlistenabled> </Activity> <Activity> <color>sample string 6</color> <ecomm_description>sample string 4</ecomm_description> <ecomm_name>sample string 3</ecomm_name> <id>sample string 1</id> <name>sample string 2</name> <waitlistenabled>true</waitlistenabled> </Activity> </activities> <amount>1</amount> <cartrowid>10</cartrowid> <code>sample string 3</code> <description>sample string 5</description> <documentid>sample string 2</documentid> <documentrowid>sample string 1</documentrowid> <endcompetencedate>2025-05-10T11:09:53.0042623+02:00</endcompetencedate> <freeamount>1</freeamount> <longdescription>sample string 7</longdescription> <objectid>1</objectid> <objecttype>sample string 4</objecttype> <packname>sample string 8</packname> <quantity>9.1</quantity> <singleamount>1</singleamount> <startcompetencedate>2025-05-10T11:09:53.0042623+02:00</startcompetencedate> <taxamount>1</taxamount> <type>sample string 6</type> </DocumentRow> </rows> <taxamount>1</taxamount> </Document> <Document> <amount>1</amount> <branchid>4</branchid> <buyerdesc>sample string 6</buyerdesc> <buyerid>1</buyerid> <customer> <activityexpiredate>2025-05-10T11:09:53.0042623+02:00</activityexpiredate> <address>sample string 7</address> <badgeid>sample string 14</badgeid> <birthplace>sample string 4</birthplace> <branch> <Branch> <ecomm_name>sample string 3</ecomm_name> <id>sample string 1</id> <name>sample string 2</name> </Branch> <Branch> <ecomm_name>sample string 3</ecomm_name> <id>sample string 1</id> <name>sample string 2</name> </Branch> </branch> <city>sample string 9</city> <customerstate>sample string 20</customerstate> <debt>25</debt> <dob>2025-05-10T11:09:53.0042623+02:00</dob> <ecommerce>true</ecommerce> <email>sample string 5</email> <employee>true</employee> <firstname>sample string 3</firstname> <gender>sample string 6</gender> <id>sample string 1</id> <insertdate>2025-05-10T11:09:53.0042623+02:00</insertdate> <lastaccess>2025-05-10T11:09:53.0042623+02:00</lastaccess> <lastedit>2025-05-10T11:09:53.0042623+02:00</lastedit> <lastlogin>2025-05-10T11:09:53.0042623+02:00</lastlogin> <lastname>sample string 2</lastname> <marketingagreement>true</marketingagreement> <massivedeleteid>1</massivedeleteid> <medicalexpirydate>2025-05-10T11:09:53.0042623+02:00</medicalexpirydate> <medicalexpirydate2>2025-05-10T11:09:53.0042623+02:00</medicalexpirydate2> <memexpirydate>2025-05-10T11:09:53.0042623+02:00</memexpirydate> <mobilephone>sample string 16</mobilephone> <myzoneid>sample string 26</myzoneid> <notes>sample string 12</notes> <notifyagreement>true</notifyagreement> <phone>sample string 11</phone> <progressive>1</progressive> <state>sample string 10</state> <statscurrentseason>21</statscurrentseason> <statslast3months>23</statslast3months> <statslast6months>24</statslast6months> <statspastseason>22</statspastseason> <taxcode>sample string 13</taxcode> <typerow>sample string 15</typerow> <userassignee>sample string 28</userassignee> <userowner>sample string 27</userowner> <vatcode>sample string 17</vatcode> <zipcode>sample string 8</zipcode> </customer> <customerdesc>sample string 7</customerdesc> <date>2025-05-10T11:09:53.0042623+02:00</date> <formatnumber>sample string 8</formatnumber> <freeamount>1</freeamount> <holderaddress>sample string 17</holderaddress> <holderbirthplace>sample string 16</holderbirthplace> <holdercity>sample string 19</holdercity> <holderdob>2025-05-10T11:09:53.0042623+02:00</holderdob> <holderfirstname>sample string 14</holderfirstname> <holderlastname>sample string 13</holderlastname> <holderstate>sample string 20</holderstate> <holdertaxcode>sample string 21</holdertaxcode> <holderzipcode>sample string 18</holderzipcode> <id>sample string 1</id> <iddocumenttemplate>sample string 12</iddocumenttemplate> <insertdatetime>2025-05-10T11:09:53.0042623+02:00</insertdatetime> <location>1</location> <note1>sample string 3</note1> <note2>sample string 9</note2> <note3>sample string 5</note3> <num>1</num> <paymenttype>sample string 2</paymenttype> <printed>true</printed> <rows> <DocumentRow> <activities> <Activity> <color>sample string 6</color> <ecomm_description>sample string 4</ecomm_description> <ecomm_name>sample string 3</ecomm_name> <id>sample string 1</id> <name>sample string 2</name> <waitlistenabled>true</waitlistenabled> </Activity> <Activity> <color>sample string 6</color> <ecomm_description>sample string 4</ecomm_description> <ecomm_name>sample string 3</ecomm_name> <id>sample string 1</id> <name>sample string 2</name> <waitlistenabled>true</waitlistenabled> </Activity> </activities> <amount>1</amount> <cartrowid>10</cartrowid> <code>sample string 3</code> <description>sample string 5</description> <documentid>sample string 2</documentid> <documentrowid>sample string 1</documentrowid> <endcompetencedate>2025-05-10T11:09:53.0042623+02:00</endcompetencedate> <freeamount>1</freeamount> <longdescription>sample string 7</longdescription> <objectid>1</objectid> <objecttype>sample string 4</objecttype> <packname>sample string 8</packname> <quantity>9.1</quantity> <singleamount>1</singleamount> <startcompetencedate>2025-05-10T11:09:53.0042623+02:00</startcompetencedate> <taxamount>1</taxamount> <type>sample string 6</type> </DocumentRow> <DocumentRow> <activities> <Activity> <color>sample string 6</color> <ecomm_description>sample string 4</ecomm_description> <ecomm_name>sample string 3</ecomm_name> <id>sample string 1</id> <name>sample string 2</name> <waitlistenabled>true</waitlistenabled> </Activity> <Activity> <color>sample string 6</color> <ecomm_description>sample string 4</ecomm_description> <ecomm_name>sample string 3</ecomm_name> <id>sample string 1</id> <name>sample string 2</name> <waitlistenabled>true</waitlistenabled> </Activity> </activities> <amount>1</amount> <cartrowid>10</cartrowid> <code>sample string 3</code> <description>sample string 5</description> <documentid>sample string 2</documentid> <documentrowid>sample string 1</documentrowid> <endcompetencedate>2025-05-10T11:09:53.0042623+02:00</endcompetencedate> <freeamount>1</freeamount> <longdescription>sample string 7</longdescription> <objectid>1</objectid> <objecttype>sample string 4</objecttype> <packname>sample string 8</packname> <quantity>9.1</quantity> <singleamount>1</singleamount> <startcompetencedate>2025-05-10T11:09:53.0042623+02:00</startcompetencedate> <taxamount>1</taxamount> <type>sample string 6</type> </DocumentRow> </rows> <taxamount>1</taxamount> </Document> </ArrayOfDocument>