GET api/Sales/GetSales
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of SaleName | Description | Type | Additional information |
---|---|---|---|
SaleId | integer |
None. |
|
PetId | integer |
None. |
|
Date | date |
None. |
|
Notes | string |
None. |
|
Cost | decimal number |
None. |
|
TakeAwayNotes | string |
None. |
|
Status | integer |
None. |
|
AddedBy | string |
None. |
|
PracticeId | integer |
None. |
|
CustomerId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "SaleId": 1, "PetId": 1, "Date": "2025-07-06T12:38:37.8358824+00:00", "Notes": "sample string 2", "Cost": 1.0, "TakeAwayNotes": "sample string 3", "Status": 1, "AddedBy": "sample string 4", "PracticeId": 5, "CustomerId": 1 }, { "SaleId": 1, "PetId": 1, "Date": "2025-07-06T12:38:37.8358824+00:00", "Notes": "sample string 2", "Cost": 1.0, "TakeAwayNotes": "sample string 3", "Status": 1, "AddedBy": "sample string 4", "PracticeId": 5, "CustomerId": 1 } ]
text/html
Sample:
[{"SaleId":1,"PetId":1,"Date":"2025-07-06T12:38:37.8358824+00:00","Notes":"sample string 2","Cost":1.0,"TakeAwayNotes":"sample string 3","Status":1,"AddedBy":"sample string 4","PracticeId":5,"CustomerId":1},{"SaleId":1,"PetId":1,"Date":"2025-07-06T12:38:37.8358824+00:00","Notes":"sample string 2","Cost":1.0,"TakeAwayNotes":"sample string 3","Status":1,"AddedBy":"sample string 4","PracticeId":5,"CustomerId":1}]
application/xml
Sample:
text/xml
Sample: