GET api/PetData/get/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

PetData
NameDescriptionTypeAdditional information
PetDataId

integer

None.

PetId

integer

None.

Date

date

None.

Notes

string

None.

TakeAwayNotes

string

None.

Status

integer

None.

AddedBy

string

None.

PracticeId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "PetDataId": 1,
  "PetId": 1,
  "Date": "2025-07-06T12:16:20.0463068+00:00",
  "Notes": "sample string 2",
  "TakeAwayNotes": "sample string 3",
  "Status": 1,
  "AddedBy": "sample string 4",
  "PracticeId": 5
}

text/html

Sample:
{"PetDataId":1,"PetId":1,"Date":"2025-07-06T12:16:20.0463068+00:00","Notes":"sample string 2","TakeAwayNotes":"sample string 3","Status":1,"AddedBy":"sample string 4","PracticeId":5}

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.