GET api/v1/count/Sales?DocType={DocType}&Number={Number}&SerieID={SerieID}&SerieCode={SerieCode}&EntityID={EntityID}&MinSaleDate={MinSaleDate}&MaxSaleDate={MaxSaleDate}&MinDueDate={MinDueDate}&MaxDueDate={MaxDueDate}&Status={Status}&MinTotalDue={MinTotalDue}&MaxTotalDue={MaxTotalDue}&Reference={Reference}&Ordering={Ordering}&Desc={Desc}&Skip={Skip}&Take={Take}

Gets the count of all Sales based on the parameters. Note that Skip and Take can be ignored from the parameters

Request Information

URI Parameters

Name Description Type Additional information
DocType Fill this parameter if you want to GET all the sales by this type. NULL if you want everything DocumentType No additional information available.
Number Fill if you want to GET all the sales by the number you want. NULL if you want all numbers integer No additional information available.
SerieID Fill if you want to GET all the sales by the ID of the serie that you want. NULL if you want all series integer No additional information available.
SerieCode Fill if you want to GET all the sales by the Code of the serie. NULL if you want all series string No additional information available.
EntityID Search sale by entityID integer No additional information available.
MinSaleDate Minimum date where the sale was made date No additional information available.
MaxSaleDate Maximum date where the sale was made date No additional information available.
MinDueDate Minimum date of expiration of the sale date No additional information available.
MaxDueDate Maximum date of expiration of the sale date No additional information available.
Status Status of the sale SaleStatus No additional information available.
MinTotalDue Minimum total of the sale decimal number No additional information available.
MaxTotalDue Maximum total of the sale decimal number No additional information available.
Reference Sale reference. Uses SQL Like search string No additional information available.
Ordering SaleOrderOptions No additional information available.
Desc boolean No additional information available.
Skip How many items you want to skip. Usually we skip the item amount we already have integer No additional information available.
Take Number of items you want per page integer Range: inclusive between 0 and 50

Response Information

Resource Description

No information available

Response Formats

application/json, text/json

Sample:
                    
1