PUT api/boardingdaytreatments/update/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

BoardingDayTreatmentViewModel
NameDescriptionTypeAdditional information
LotName

string

None.

LotExpiry

date

None.

BoardingDayTreatmentId

integer

None.

BoardingDayId

integer

None.

Description

string

None.

MeasureUnit

string

None.

MarkupPerc

decimal number

None.

PriceExclVat

decimal number

None.

Vat

decimal number

None.

PriceInclVat

decimal number

None.

MeasureAmount

decimal number

None.

Cost

decimal number

None.

Comment

string

None.

Count

integer

None.

Instruction

string

None.

InvoiceDescription

string

None.

AddedBy

string

None.

PracticeId

integer

None.

Schedule

integer

None.

StockLedgerId

integer

None.

Warning

string

None.

CategoryDescription

string

None.

SubCategoryDescription

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LotName": "sample string 1",
  "LotExpiry": "2024-12-21T05:34:15.0836918+00:00",
  "BoardingDayTreatmentId": 2,
  "BoardingDayId": 1,
  "Description": "sample string 3",
  "MeasureUnit": "sample string 4",
  "MarkupPerc": 1.1,
  "PriceExclVat": 1.0,
  "Vat": 1.0,
  "PriceInclVat": 1.0,
  "MeasureAmount": 1.1,
  "Cost": 1.0,
  "Comment": "sample string 5",
  "Count": 1,
  "Instruction": "sample string 6",
  "InvoiceDescription": "sample string 7",
  "AddedBy": "sample string 8",
  "PracticeId": 9,
  "Schedule": 10,
  "StockLedgerId": 1,
  "Warning": "sample string 11",
  "CategoryDescription": "sample string 12",
  "SubCategoryDescription": "sample string 13"
}

text/html

Sample:
{"LotName":"sample string 1","LotExpiry":"2024-12-21T05:34:15.0836918+00:00","BoardingDayTreatmentId":2,"BoardingDayId":1,"Description":"sample string 3","MeasureUnit":"sample string 4","MarkupPerc":1.1,"PriceExclVat":1.0,"Vat":1.0,"PriceInclVat":1.0,"MeasureAmount":1.1,"Cost":1.0,"Comment":"sample string 5","Count":1,"Instruction":"sample string 6","InvoiceDescription":"sample string 7","AddedBy":"sample string 8","PracticeId":9,"Schedule":10,"StockLedgerId":1,"Warning":"sample string 11","CategoryDescription":"sample string 12","SubCategoryDescription":"sample string 13"}

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.BoardingDayLab, 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.BoardingDayLab, 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 'BoardingDayTreatmentViewModel'.

Response Information

Resource Description

None.