POST api/chat/ChatAddUpdateUserInFavorites

Request Information

URI Parameters

None.

Body Parameters

UserChatRequestViewModel
NameDescriptionTypeAdditional information
userId

integer

None.

ProfileId

integer

None.

UserContactId

integer

None.

UserRequestId

integer

None.

RequestResponse

integer

None.

ContactType

integer

None.

Message

string

None.

IsBlocked

boolean

None.

IsFavorites

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": 1,
  "ProfileId": 2,
  "UserContactId": 3,
  "UserRequestId": 4,
  "RequestResponse": 5,
  "ContactType": 6,
  "Message": "sample string 7",
  "IsBlocked": true,
  "IsFavorites": true
}

application/xml, text/xml

Sample:
<UserChatRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VillJaSES.Business.ViewModel">
  <ContactType>6</ContactType>
  <IsBlocked>true</IsBlocked>
  <IsFavorites>true</IsFavorites>
  <Message>sample string 7</Message>
  <ProfileId>2</ProfileId>
  <RequestResponse>5</RequestResponse>
  <UserContactId>3</UserContactId>
  <UserRequestId>4</UserRequestId>
  <userId>1</userId>
</UserChatRequestViewModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.