POST api/tenancy/cancel

Request Information

URI Parameters

None.

Body Parameters

CancelTenancyRequest
NameDescriptionTypeAdditional information
TenID

integer

None.

Notes

string

None.

CoID

integer

None.

UserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TenID": 1,
  "Notes": "sample string 2",
  "CoID": 3,
  "UserID": 4
}

application/xml, text/xml

Sample:
<DBOperationsController.CancelTenancyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KODY_MPesaCallbackAPI.Controllers">
  <CoID>3</CoID>
  <Notes>sample string 2</Notes>
  <TenID>1</TenID>
  <UserID>4</UserID>
</DBOperationsController.CancelTenancyRequest>

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.