POST user/addUserStatus

Request Information

URI Parameters

None.

Body Parameters

UserStatusType
NameDescriptionTypeAdditional information
StatusId

integer

None.

TenantId

integer

None.

Status

string

None.

Color

string

None.

IsSystem

boolean

None.

ResourceStatusId

integer

None.

StatusDesc

string

None.

Request Formats

application/json, text/json

Sample:
{
  "StatusId": 1,
  "TenantId": 2,
  "Status": "sample string 3",
  "Color": "sample string 4",
  "IsSystem": true,
  "ResourceStatusId": 1,
  "StatusDesc": "sample string 5"
}

text/html

Sample:
{"StatusId":1,"TenantId":2,"Status":"sample string 3","Color":"sample string 4","IsSystem":true,"ResourceStatusId":1,"StatusDesc":"sample string 5"}

application/xml, text/xml

Sample:
<UserStatusType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Users">
  <Color>sample string 4</Color>
  <IsSystem>true</IsSystem>
  <ResourceStatusId>1</ResourceStatusId>
  <Status>sample string 3</Status>
  <StatusDesc>sample string 5</StatusDesc>
  <StatusId>1</StatusId>
  <TenantId>2</TenantId>
</UserStatusType>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.