POST api/Administration/User/UserStatus

Request Information

URI Parameters

None.

Body Parameters

UserStatusUpdateViewModel
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

UserStatusId

globally unique identifier

None.

IsDeleted

boolean

None.

Remarks

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "3243c1b3-b242-457e-ad4b-b2d5e30fe69c",
  "UserStatusId": "4bd3bbe1-77d1-425e-9fde-521361544746",
  "IsDeleted": true,
  "Remarks": "sample string 2"
}

application/xml, text/xml

Sample:
<UserStatusUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.Administration.ViewModels">
  <IsDeleted>true</IsDeleted>
  <Remarks>sample string 2</Remarks>
  <UserId>3243c1b3-b242-457e-ad4b-b2d5e30fe69c</UserId>
  <UserStatusId>4bd3bbe1-77d1-425e-9fde-521361544746</UserStatusId>
</UserStatusUpdateViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="UserId"

3243c1b3-b242-457e-ad4b-b2d5e30fe69c
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="UserStatusId"

4bd3bbe1-77d1-425e-9fde-521361544746
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="IsDeleted"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Remarks"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.