PATCH api/Category/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

DeltaOfCategory
NameDescriptionTypeAdditional information
EntityType

Type

None.

ExpectedClrType

Type

None.

Request Formats

application/json, text/json

Sample:
{
  "name": null,
  "bullets": null,
  "id": null,
  "version": null,
  "createdAt": null,
  "updatedAt": null,
  "deleted": false
}

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 'Delta`1'.

Response Information

Resource Description

Category
NameDescriptionTypeAdditional information
Name

string

Required

String length: inclusive between 0 and 300

Bullets

Collection of Bullet

None.

Id

string

None.

Version

Collection of byte

None.

CreatedAt

date

None.

UpdatedAt

date

None.

Deleted

boolean

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'Hornady.Data.Entities.Bullet'. Path 'bullets[0].company.bullets'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'Hornady.Data.Entities.Bullet'. Path 'bullets[0].company.bullets'.