PUT api/tenant/user/update/{tenantUserID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tenantUserID

integer

Required

Body Parameters

RecServiceTenantUserDTOW
NameDescriptionTypeAdditional information
firstname

string

Required

Max length: 100

surname

string

Required

Max length: 100

other_name

string

Max length: 100

gender

string

Required

Max length: 50

admin_status

integer

Required

phone_number

string

Required

Max length: 50

email_address

string

Required

Max length: 100

tenant_id

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "firstname": "sample string 1",
  "surname": "sample string 2",
  "other_name": "sample string 3",
  "gender": "sample string 4",
  "admin_status": 5,
  "phone_number": "sample string 6",
  "email_address": "sample string 7",
  "tenant_id": 8
}

application/xml, text/xml

Sample:
<RecServiceTenantUserDTOW xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Xceed365EngageApi.core.DTOs.Writable">
  <admin_status>5</admin_status>
  <email_address>sample string 7</email_address>
  <firstname>sample string 1</firstname>
  <gender>sample string 4</gender>
  <other_name>sample string 3</other_name>
  <phone_number>sample string 6</phone_number>
  <surname>sample string 2</surname>
  <tenant_id>8</tenant_id>
</RecServiceTenantUserDTOW>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.