POST api/tenancies/update

Request Information

URI Parameters

None.

Body Parameters

UpdateTenantProfileRequest
NameDescriptionTypeAdditional information
TenID

integer

None.

CoID

integer

None.

TenantName

string

None.

IDNo

string

None.

PhoneNumber

string

None.

Email

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TenID": 1,
  "CoID": 2,
  "TenantName": "sample string 3",
  "IDNo": "sample string 4",
  "PhoneNumber": "sample string 5",
  "Email": "sample string 6"
}

application/xml, text/xml

Sample:
<DBOperationsController.UpdateTenantProfileRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KODY_MPesaCallbackAPI.Controllers">
  <CoID>2</CoID>
  <Email>sample string 6</Email>
  <IDNo>sample string 4</IDNo>
  <PhoneNumber>sample string 5</PhoneNumber>
  <TenID>1</TenID>
  <TenantName>sample string 3</TenantName>
</DBOperationsController.UpdateTenantProfileRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.