GET api/HospitalDayTreatments?categoryDescription={categoryDescription}&subcategoryDesciption={subcategoryDesciption}&description={description}&measureUnit={measureUnit}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
categoryDescription

string

Required

subcategoryDesciption

string

Required

description

string

Required

measureUnit

string

Required

Body Parameters

Collection of Stock
NameDescriptionTypeAdditional information
StockId

integer

None.

Type

string

None.

CategoryDescription

string

None.

SubcategoryDesciption

string

None.

Description

string

None.

MeasureUnit

string

None.

InvoiceDescription

string

None.

ViewConsultation

boolean

None.

ViewHospitalization

boolean

None.

ViewReceptionist

boolean

None.

PracticeId

integer

None.

LastUpdated

date

None.

Schedule

integer

None.

StockOnHand

decimal number

None.

LotSummary

string

None.

LowStockOnHand

decimal number

None.

ViewBoarding

boolean

None.

ViewNurseConsultation

boolean

None.

ViewNurseHospitalization

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "StockId": 1,
    "Type": "sample string 2",
    "CategoryDescription": "sample string 3",
    "SubcategoryDesciption": "sample string 4",
    "Description": "sample string 5",
    "MeasureUnit": "sample string 6",
    "InvoiceDescription": "sample string 7",
    "ViewConsultation": true,
    "ViewHospitalization": true,
    "ViewReceptionist": true,
    "PracticeId": 11,
    "LastUpdated": "2024-12-21T05:34:43.2426505+00:00",
    "Schedule": 12,
    "StockOnHand": 13.1,
    "LotSummary": "sample string 14",
    "LowStockOnHand": 1.1,
    "ViewBoarding": true,
    "ViewNurseConsultation": true,
    "ViewNurseHospitalization": true
  },
  {
    "StockId": 1,
    "Type": "sample string 2",
    "CategoryDescription": "sample string 3",
    "SubcategoryDesciption": "sample string 4",
    "Description": "sample string 5",
    "MeasureUnit": "sample string 6",
    "InvoiceDescription": "sample string 7",
    "ViewConsultation": true,
    "ViewHospitalization": true,
    "ViewReceptionist": true,
    "PracticeId": 11,
    "LastUpdated": "2024-12-21T05:34:43.2426505+00:00",
    "Schedule": 12,
    "StockOnHand": 13.1,
    "LotSummary": "sample string 14",
    "LowStockOnHand": 1.1,
    "ViewBoarding": true,
    "ViewNurseConsultation": true,
    "ViewNurseHospitalization": true
  }
]

text/html

Sample:
[{"StockId":1,"Type":"sample string 2","CategoryDescription":"sample string 3","SubcategoryDesciption":"sample string 4","Description":"sample string 5","MeasureUnit":"sample string 6","InvoiceDescription":"sample string 7","ViewConsultation":true,"ViewHospitalization":true,"ViewReceptionist":true,"PracticeId":11,"LastUpdated":"2024-12-21T05:34:43.2426505+00:00","Schedule":12,"StockOnHand":13.1,"LotSummary":"sample string 14","LowStockOnHand":1.1,"ViewBoarding":true,"ViewNurseConsultation":true,"ViewNurseHospitalization":true},{"StockId":1,"Type":"sample string 2","CategoryDescription":"sample string 3","SubcategoryDesciption":"sample string 4","Description":"sample string 5","MeasureUnit":"sample string 6","InvoiceDescription":"sample string 7","ViewConsultation":true,"ViewHospitalization":true,"ViewReceptionist":true,"PracticeId":11,"LastUpdated":"2024-12-21T05:34:43.2426505+00:00","Schedule":12,"StockOnHand":13.1,"LotSummary":"sample string 14","LowStockOnHand":1.1,"ViewBoarding":true,"ViewNurseConsultation":true,"ViewNurseHospitalization":true}]

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[VetAPI.DataModel.AspNetUser, VetAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[VetAPI.DataModel.AspNetUser, VetAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

Stock
NameDescriptionTypeAdditional information
StockId

integer

None.

Type

string

None.

CategoryDescription

string

None.

SubcategoryDesciption

string

None.

Description

string

None.

MeasureUnit

string

None.

InvoiceDescription

string

None.

ViewConsultation

boolean

None.

ViewHospitalization

boolean

None.

ViewReceptionist

boolean

None.

PracticeId

integer

None.

LastUpdated

date

None.

Schedule

integer

None.

StockOnHand

decimal number

None.

LotSummary

string

None.

LowStockOnHand

decimal number

None.

ViewBoarding

boolean

None.

ViewNurseConsultation

boolean

None.

ViewNurseHospitalization

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "StockId": 1,
  "Type": "sample string 2",
  "CategoryDescription": "sample string 3",
  "SubcategoryDesciption": "sample string 4",
  "Description": "sample string 5",
  "MeasureUnit": "sample string 6",
  "InvoiceDescription": "sample string 7",
  "ViewConsultation": true,
  "ViewHospitalization": true,
  "ViewReceptionist": true,
  "PracticeId": 11,
  "LastUpdated": "2024-12-21T05:34:43.3520156+00:00",
  "Schedule": 12,
  "StockOnHand": 13.1,
  "LotSummary": "sample string 14",
  "LowStockOnHand": 1.1,
  "ViewBoarding": true,
  "ViewNurseConsultation": true,
  "ViewNurseHospitalization": true
}

text/html

Sample:
{"StockId":1,"Type":"sample string 2","CategoryDescription":"sample string 3","SubcategoryDesciption":"sample string 4","Description":"sample string 5","MeasureUnit":"sample string 6","InvoiceDescription":"sample string 7","ViewConsultation":true,"ViewHospitalization":true,"ViewReceptionist":true,"PracticeId":11,"LastUpdated":"2024-12-21T05:34:43.3520156+00:00","Schedule":12,"StockOnHand":13.1,"LotSummary":"sample string 14","LowStockOnHand":1.1,"ViewBoarding":true,"ViewNurseConsultation":true,"ViewNurseHospitalization":true}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'VetAPI.DataModel.AspNetUser' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'VetAPI.DataModel.AspNetUser' contains cycles and cannot be serialized if reference tracking is disabled.