Required role: | REGISUserRole |
POST | /Finance/FinancialAid/Application/{application_uuid}/Email |
---|
<?php namespace dtos;
use DateTime;
use Exception;
use DateInterval;
use JsonSerializable;
use ServiceStack\{IReturn,IReturnVoid,IGet,IPost,IPut,IDelete,IPatch,IMeta,IHasSessionId,IHasBearerToken,IHasVersion};
use ServiceStack\{ICrud,ICreateDb,IUpdateDb,IPatchDb,IDeleteDb,ISaveDb,AuditBase,QueryDb,QueryDb2,QueryData,QueryData2,QueryResponse};
use ServiceStack\{ResponseStatus,ResponseError,EmptyResponse,IdResponse,ArrayList,KeyValuePair2,StringResponse,StringsResponse,Tuple2,Tuple3,ByteArray};
use ServiceStack\{JsonConverters,Returns,TypeContext};
class FinancialAidApplicationEmailRequest implements JsonSerializable
{
public function __construct(
/** @var string|null */
public ?string $application_uuid=null,
/** @var bool|null */
public ?bool $incomplete=null,
/** @var bool|null */
public ?bool $complete=null,
/** @var bool|null */
public ?bool $servant_fund=null,
/** @var bool|null */
public ?bool $ruth_ericson=null,
/** @var bool|null */
public ?bool $mary_elizabeth_bramhall=null,
/** @var bool|null */
public ?bool $winifred_rennie=null
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['application_uuid'])) $this->application_uuid = $o['application_uuid'];
if (isset($o['incomplete'])) $this->incomplete = $o['incomplete'];
if (isset($o['complete'])) $this->complete = $o['complete'];
if (isset($o['servant_fund'])) $this->servant_fund = $o['servant_fund'];
if (isset($o['ruth_ericson'])) $this->ruth_ericson = $o['ruth_ericson'];
if (isset($o['mary_elizabeth_bramhall'])) $this->mary_elizabeth_bramhall = $o['mary_elizabeth_bramhall'];
if (isset($o['winifred_rennie'])) $this->winifred_rennie = $o['winifred_rennie'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->application_uuid)) $o['application_uuid'] = $this->application_uuid;
if (isset($this->incomplete)) $o['incomplete'] = $this->incomplete;
if (isset($this->complete)) $o['complete'] = $this->complete;
if (isset($this->servant_fund)) $o['servant_fund'] = $this->servant_fund;
if (isset($this->ruth_ericson)) $o['ruth_ericson'] = $this->ruth_ericson;
if (isset($this->mary_elizabeth_bramhall)) $o['mary_elizabeth_bramhall'] = $this->mary_elizabeth_bramhall;
if (isset($this->winifred_rennie)) $o['winifred_rennie'] = $this->winifred_rennie;
return empty($o) ? new class(){} : $o;
}
}
PHP FinancialAidApplicationEmailRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Finance/FinancialAid/Application/{application_uuid}/Email HTTP/1.1
Host: data.regent-college.edu
Accept: application/json
Content-Type: application/json
Content-Length: length
{"application_uuid":"String","incomplete":false,"complete":false,"servant_fund":false,"ruth_ericson":false,"mary_elizabeth_bramhall":false,"winifred_rennie":false}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length (string)