POST UserRoles/Update

Request Information

URI Parameters

None.

Body Parameters

UserRoles
NameDescriptionTypeAdditional information
ID

integer

None.

UserID

globally unique identifier

None.

RoleID

integer

None.

IsUse

boolean

None.

CreatedDate

date

None.

CreatedBy

string

None.

UpdatedDate

date

None.

ModifiedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "UserID": "febb98cc-5fcb-4a21-bee9-454ebe5bd3ba",
  "RoleID": 3,
  "IsUse": true,
  "CreatedDate": "2025-12-06T12:02:13.0692417+07:00",
  "CreatedBy": "sample string 5",
  "UpdatedDate": "2025-12-06T12:02:13.0692417+07:00",
  "ModifiedBy": "sample string 6"
}

application/xml, text/xml

Sample:
<UserRoles xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PetShop.API.Models">
  <CreatedBy>sample string 5</CreatedBy>
  <CreatedDate>2025-12-06T12:02:13.0692417+07:00</CreatedDate>
  <ID>1</ID>
  <IsUse>true</IsUse>
  <ModifiedBy>sample string 6</ModifiedBy>
  <RoleID>3</RoleID>
  <UpdatedDate>2025-12-06T12:02:13.0692417+07:00</UpdatedDate>
  <UserID>febb98cc-5fcb-4a21-bee9-454ebe5bd3ba</UserID>
</UserRoles>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.