PUT api/ChangeStatus

Used for changing the status of a user

Request Information

URI Parameters

None.

Body Parameters

ChangeUserStatusDTO
NameDescriptionTypeAdditional information
Email

Email ID of user whose staus will be updated

string

None.

Status

New status of user

UserStatus

None.

Request Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "Status": "Inactive"
}

text/xml

Sample:
<ChangeUserStatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO">
  <Email>sample string 1</Email>
  <Status>Inactive</Status>
</ChangeUserStatusDTO>

multipart/form-data

Sample:
<ChangeUserStatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"><Email>sample string 1</Email><Status>Inactive</Status></ChangeUserStatusDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

text/xml, multipart/form-data

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>