POST api/TranferFunds

Request Information

URI Parameters

None.

Body Parameters

TransferFundsModel
NameDescriptionTypeAdditional information
FromPersonId

globally unique identifier

None.

ToPersonId

globally unique identifier

None.

Amount

decimal number

None.

Comments

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FromPersonId": "db2068e4-c43b-4d38-aa19-b8e578ce5d33",
  "ToPersonId": "f20e8397-3586-4793-9317-185a7faa321f",
  "Amount": 3.0,
  "Comments": "sample string 4"
}

application/xml, text/xml

Sample:
<TransferFundsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cybersoft.Primero.OnlineFRE.APIs.Models.Students">
  <Amount>3</Amount>
  <Comments>sample string 4</Comments>
  <FromPersonId>db2068e4-c43b-4d38-aa19-b8e578ce5d33</FromPersonId>
  <ToPersonId>f20e8397-3586-4793-9317-185a7faa321f</ToPersonId>
</TransferFundsModel>

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

Response Information

Resource Description

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>