POST api/BoardingLocation

Request Information

URI Parameters

None.

Body Parameters

BoardingLocation
NameDescriptionTypeAdditional information
BoardingLocationId

integer

None.

Description

string

None.

PracticeId

integer

None.

Details

string

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "BoardingLocationId": 1,
  "Description": "sample string 2",
  "PracticeId": 3,
  "Details": "sample string 4",
  "IsDeleted": true
}

text/html

Sample:
{"BoardingLocationId":1,"Description":"sample string 2","PracticeId":3,"Details":"sample string 4","IsDeleted":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.

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 'BoardingLocation'.

Response Information

Resource Description

BoardingLocation
NameDescriptionTypeAdditional information
BoardingLocationId

integer

None.

Description

string

None.

PracticeId

integer

None.

Details

string

None.

IsDeleted

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "BoardingLocationId": 1,
  "Description": "sample string 2",
  "PracticeId": 3,
  "Details": "sample string 4",
  "IsDeleted": true
}

text/html

Sample:
{"BoardingLocationId":1,"Description":"sample string 2","PracticeId":3,"Details":"sample string 4","IsDeleted":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.