PUT api/Categories/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

CategoryDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

String length: inclusive between 0 and 255

Description

string

String length: inclusive between 0 and 255

CreatedByUserId

globally unique identifier

None.

TenantId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "f71e74da-537e-491c-a92c-c78490f610da",
  "Name": "sample string 2",
  "Description": "sample string 3",
  "CreatedByUserId": "e8006bbb-2d36-44a3-b15d-1a8d333b827c",
  "TenantId": "983e5530-0302-4411-afb7-2ea98b8f3690"
}

application/xml, text/xml

Sample:
<CategoryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Products.Models">
  <CreatedByUserId>e8006bbb-2d36-44a3-b15d-1a8d333b827c</CreatedByUserId>
  <Description>sample string 3</Description>
  <Id>f71e74da-537e-491c-a92c-c78490f610da</Id>
  <Name>sample string 2</Name>
  <TenantId>983e5530-0302-4411-afb7-2ea98b8f3690</TenantId>
</CategoryDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.