POST api/TransferOwnership/Respond

Respond to village ownership transfer request

Request Information

URI Parameters

None.

Body Parameters

AcceptTransferRequestModel
NameDescriptionTypeAdditional information
TransferId

TransferRequest ID

globally unique identifier

Required

Accept

True = accept, False = decline the transfer

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "TransferId": "1ae0ba81-fafa-449b-900f-e4bfa4005889",
  "Accept": true
}

application/xml, text/xml

Sample:
<AcceptTransferRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.Shared.Implementation.Models">
  <Accept>true</Accept>
  <TransferId>1ae0ba81-fafa-449b-900f-e4bfa4005889</TransferId>
</AcceptTransferRequestModel>

multipart/form-data

Sample:

Failed to generate the sample for media type 'multipart/form-data'. Cannot use formatter 'MultipartMediaTypeFormatter' to write type 'AcceptTransferRequestModel'.

Response Information

Resource Description

true if the action was successful, false otherwise

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

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