POST usertypes/Update

Request Information

URI Parameters

None.

Body Parameters

UserTypeEntity
NameDescriptionTypeAdditional information
UserTypeID

integer

None.

UserTypeName

string

None.

Active

boolean

None.

UserTypeParent

integer

None.

TenantID

integer

None.

TenantName

string

None.

UserTypeParentName

string

None.

LSNUserType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserTypeID": 1,
  "UserTypeName": "sample string 2",
  "Active": true,
  "UserTypeParent": 4,
  "TenantID": 5,
  "TenantName": "sample string 6",
  "UserTypeParentName": "sample string 7",
  "LSNUserType": "sample string 8"
}

text/html

Sample:
{"UserTypeID":1,"UserTypeName":"sample string 2","Active":true,"UserTypeParent":4,"TenantID":5,"TenantName":"sample string 6","UserTypeParentName":"sample string 7","LSNUserType":"sample string 8"}

application/xml, text/xml

Sample:
<UserTypeEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.UserManagement">
  <Active>true</Active>
  <LSNUserType>sample string 8</LSNUserType>
  <TenantID>5</TenantID>
  <TenantName>sample string 6</TenantName>
  <UserTypeID>1</UserTypeID>
  <UserTypeName>sample string 2</UserTypeName>
  <UserTypeParent>4</UserTypeParent>
  <UserTypeParentName>sample string 7</UserTypeParentName>
</UserTypeEntity>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.