| POST | /v1/forms/submissions/search |
|---|
<?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 FormInboxRow implements JsonSerializable
{
public function __construct(
/** @var string */
public string $SubmissionUID='',
/** @var string */
public string $FormUID='',
/** @var string|null */
public ?string $FormName=null,
/** @var int */
public int $VersionNo=0,
/** @var string|null */
public ?string $Number=null,
/** @var string|null */
public ?string $ApplicantName=null,
/** @var string|null */
public ?string $Stage=null,
/** @var string|null */
public ?string $StageLabel=null,
/** @var string|null */
public ?string $StageTone=null,
/** @var int|null */
public ?int $AssigneeAgentId=null,
/** @var string|null */
public ?string $AssigneeName=null,
/** @var string|null */
public ?string $BranchName=null,
/** @var DateTime|null */
public ?DateTime $SubmittedAt=null,
/** @var string|null */
public ?string $SubmittedText=null,
/** @var array<string>|null */
public ?array $Tags=null,
/** @var int */
public int $DocsOk=0,
/** @var int */
public int $DocsNeed=0,
/** @var bool|null */
public ?bool $IsTest=null,
/** @var string|null */
public ?string $VersionText=null
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['SubmissionUID'])) $this->SubmissionUID = $o['SubmissionUID'];
if (isset($o['FormUID'])) $this->FormUID = $o['FormUID'];
if (isset($o['FormName'])) $this->FormName = $o['FormName'];
if (isset($o['VersionNo'])) $this->VersionNo = $o['VersionNo'];
if (isset($o['Number'])) $this->Number = $o['Number'];
if (isset($o['ApplicantName'])) $this->ApplicantName = $o['ApplicantName'];
if (isset($o['Stage'])) $this->Stage = $o['Stage'];
if (isset($o['StageLabel'])) $this->StageLabel = $o['StageLabel'];
if (isset($o['StageTone'])) $this->StageTone = $o['StageTone'];
if (isset($o['AssigneeAgentId'])) $this->AssigneeAgentId = $o['AssigneeAgentId'];
if (isset($o['AssigneeName'])) $this->AssigneeName = $o['AssigneeName'];
if (isset($o['BranchName'])) $this->BranchName = $o['BranchName'];
if (isset($o['SubmittedAt'])) $this->SubmittedAt = JsonConverters::from('DateTime', $o['SubmittedAt']);
if (isset($o['SubmittedText'])) $this->SubmittedText = $o['SubmittedText'];
if (isset($o['Tags'])) $this->Tags = JsonConverters::fromArray('string', $o['Tags']);
if (isset($o['DocsOk'])) $this->DocsOk = $o['DocsOk'];
if (isset($o['DocsNeed'])) $this->DocsNeed = $o['DocsNeed'];
if (isset($o['IsTest'])) $this->IsTest = $o['IsTest'];
if (isset($o['VersionText'])) $this->VersionText = $o['VersionText'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->SubmissionUID)) $o['SubmissionUID'] = $this->SubmissionUID;
if (isset($this->FormUID)) $o['FormUID'] = $this->FormUID;
if (isset($this->FormName)) $o['FormName'] = $this->FormName;
if (isset($this->VersionNo)) $o['VersionNo'] = $this->VersionNo;
if (isset($this->Number)) $o['Number'] = $this->Number;
if (isset($this->ApplicantName)) $o['ApplicantName'] = $this->ApplicantName;
if (isset($this->Stage)) $o['Stage'] = $this->Stage;
if (isset($this->StageLabel)) $o['StageLabel'] = $this->StageLabel;
if (isset($this->StageTone)) $o['StageTone'] = $this->StageTone;
if (isset($this->AssigneeAgentId)) $o['AssigneeAgentId'] = $this->AssigneeAgentId;
if (isset($this->AssigneeName)) $o['AssigneeName'] = $this->AssigneeName;
if (isset($this->BranchName)) $o['BranchName'] = $this->BranchName;
if (isset($this->SubmittedAt)) $o['SubmittedAt'] = JsonConverters::to('DateTime', $this->SubmittedAt);
if (isset($this->SubmittedText)) $o['SubmittedText'] = $this->SubmittedText;
if (isset($this->Tags)) $o['Tags'] = JsonConverters::toArray('string', $this->Tags);
if (isset($this->DocsOk)) $o['DocsOk'] = $this->DocsOk;
if (isset($this->DocsNeed)) $o['DocsNeed'] = $this->DocsNeed;
if (isset($this->IsTest)) $o['IsTest'] = $this->IsTest;
if (isset($this->VersionText)) $o['VersionText'] = $this->VersionText;
return empty($o) ? new class(){} : $o;
}
}
class FormInboxCount implements JsonSerializable
{
public function __construct(
/** @var string|null */
public ?string $V=null,
/** @var string|null */
public ?string $L=null,
/** @var int */
public int $N=0
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['V'])) $this->V = $o['V'];
if (isset($o['L'])) $this->L = $o['L'];
if (isset($o['N'])) $this->N = $o['N'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->V)) $o['V'] = $this->V;
if (isset($this->L)) $o['L'] = $this->L;
if (isset($this->N)) $o['N'] = $this->N;
return empty($o) ? new class(){} : $o;
}
}
class FormInboxCounts implements JsonSerializable
{
public function __construct(
/** @var array<FormInboxCount>|null */
public ?array $Stages=null,
/** @var array<FormInboxCount>|null */
public ?array $Assignees=null,
/** @var array<FormInboxCount>|null */
public ?array $Branches=null,
/** @var array<FormInboxCount>|null */
public ?array $Tags=null,
/** @var array<FormInboxCount>|null */
public ?array $Forms=null,
/** @var array<FormInboxCount>|null */
public ?array $Flags=null
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['Stages'])) $this->Stages = JsonConverters::fromArray('FormInboxCount', $o['Stages']);
if (isset($o['Assignees'])) $this->Assignees = JsonConverters::fromArray('FormInboxCount', $o['Assignees']);
if (isset($o['Branches'])) $this->Branches = JsonConverters::fromArray('FormInboxCount', $o['Branches']);
if (isset($o['Tags'])) $this->Tags = JsonConverters::fromArray('FormInboxCount', $o['Tags']);
if (isset($o['Forms'])) $this->Forms = JsonConverters::fromArray('FormInboxCount', $o['Forms']);
if (isset($o['Flags'])) $this->Flags = JsonConverters::fromArray('FormInboxCount', $o['Flags']);
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->Stages)) $o['Stages'] = JsonConverters::toArray('FormInboxCount', $this->Stages);
if (isset($this->Assignees)) $o['Assignees'] = JsonConverters::toArray('FormInboxCount', $this->Assignees);
if (isset($this->Branches)) $o['Branches'] = JsonConverters::toArray('FormInboxCount', $this->Branches);
if (isset($this->Tags)) $o['Tags'] = JsonConverters::toArray('FormInboxCount', $this->Tags);
if (isset($this->Forms)) $o['Forms'] = JsonConverters::toArray('FormInboxCount', $this->Forms);
if (isset($this->Flags)) $o['Flags'] = JsonConverters::toArray('FormInboxCount', $this->Flags);
return empty($o) ? new class(){} : $o;
}
}
class FormStageInfo implements JsonSerializable
{
public function __construct(
/** @var string|null */
public ?string $Id=null,
/** @var string|null */
public ?string $Label=null,
/** @var string|null */
public ?string $Tone=null,
/** @var string|null */
public ?string $Kind=null
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['Id'])) $this->Id = $o['Id'];
if (isset($o['Label'])) $this->Label = $o['Label'];
if (isset($o['Tone'])) $this->Tone = $o['Tone'];
if (isset($o['Kind'])) $this->Kind = $o['Kind'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->Id)) $o['Id'] = $this->Id;
if (isset($this->Label)) $o['Label'] = $this->Label;
if (isset($this->Tone)) $o['Tone'] = $this->Tone;
if (isset($this->Kind)) $o['Kind'] = $this->Kind;
return empty($o) ? new class(){} : $o;
}
}
class FormFilterOpt implements JsonSerializable
{
public function __construct(
/** @var string|null */
public ?string $Id=null,
/** @var string|null */
public ?string $L=null
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['Id'])) $this->Id = $o['Id'];
if (isset($o['L'])) $this->L = $o['L'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->Id)) $o['Id'] = $this->Id;
if (isset($this->L)) $o['L'] = $this->L;
return empty($o) ? new class(){} : $o;
}
}
class FormFilterField implements JsonSerializable
{
public function __construct(
/** @var string|null */
public ?string $K=null,
/** @var string|null */
public ?string $L=null,
/** @var string|null */
public ?string $T=null,
/** @var array<FormFilterOpt>|null */
public ?array $Opts=null
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['K'])) $this->K = $o['K'];
if (isset($o['L'])) $this->L = $o['L'];
if (isset($o['T'])) $this->T = $o['T'];
if (isset($o['Opts'])) $this->Opts = JsonConverters::fromArray('FormFilterOpt', $o['Opts']);
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->K)) $o['K'] = $this->K;
if (isset($this->L)) $o['L'] = $this->L;
if (isset($this->T)) $o['T'] = $this->T;
if (isset($this->Opts)) $o['Opts'] = JsonConverters::toArray('FormFilterOpt', $this->Opts);
return empty($o) ? new class(){} : $o;
}
}
class FormSubmissionSearchResponse implements JsonSerializable
{
public function __construct(
/** @var array<FormInboxRow>|null */
public ?array $Rows=null,
/** @var int */
public int $Matching=0,
/** @var int */
public int $ScopeTotal=0,
/** @var array<FormInboxCount>|null */
public ?array $StageMatching=null,
/** @var FormInboxCounts|null */
public ?FormInboxCounts $Counts=null,
/** @var array<FormStageInfo>|null */
public ?array $Stages=null,
/** @var bool|null */
public ?bool $Capped=null,
/** @var array<FormFilterField>|null */
public ?array $FilterFields=null,
/** @var array<string>|null */
public ?array $TagOptions=null,
/** @var ResponseStatus|null */
public ?ResponseStatus $ResponseStatus=null
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['Rows'])) $this->Rows = JsonConverters::fromArray('FormInboxRow', $o['Rows']);
if (isset($o['Matching'])) $this->Matching = $o['Matching'];
if (isset($o['ScopeTotal'])) $this->ScopeTotal = $o['ScopeTotal'];
if (isset($o['StageMatching'])) $this->StageMatching = JsonConverters::fromArray('FormInboxCount', $o['StageMatching']);
if (isset($o['Counts'])) $this->Counts = JsonConverters::from('FormInboxCounts', $o['Counts']);
if (isset($o['Stages'])) $this->Stages = JsonConverters::fromArray('FormStageInfo', $o['Stages']);
if (isset($o['Capped'])) $this->Capped = $o['Capped'];
if (isset($o['FilterFields'])) $this->FilterFields = JsonConverters::fromArray('FormFilterField', $o['FilterFields']);
if (isset($o['TagOptions'])) $this->TagOptions = JsonConverters::fromArray('string', $o['TagOptions']);
if (isset($o['ResponseStatus'])) $this->ResponseStatus = JsonConverters::from('ResponseStatus', $o['ResponseStatus']);
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->Rows)) $o['Rows'] = JsonConverters::toArray('FormInboxRow', $this->Rows);
if (isset($this->Matching)) $o['Matching'] = $this->Matching;
if (isset($this->ScopeTotal)) $o['ScopeTotal'] = $this->ScopeTotal;
if (isset($this->StageMatching)) $o['StageMatching'] = JsonConverters::toArray('FormInboxCount', $this->StageMatching);
if (isset($this->Counts)) $o['Counts'] = JsonConverters::to('FormInboxCounts', $this->Counts);
if (isset($this->Stages)) $o['Stages'] = JsonConverters::toArray('FormStageInfo', $this->Stages);
if (isset($this->Capped)) $o['Capped'] = $this->Capped;
if (isset($this->FilterFields)) $o['FilterFields'] = JsonConverters::toArray('FormFilterField', $this->FilterFields);
if (isset($this->TagOptions)) $o['TagOptions'] = JsonConverters::toArray('string', $this->TagOptions);
if (isset($this->ResponseStatus)) $o['ResponseStatus'] = JsonConverters::to('ResponseStatus', $this->ResponseStatus);
return empty($o) ? new class(){} : $o;
}
}
class FormAnswerCond implements JsonSerializable
{
public function __construct(
/** @var string|null */
public ?string $F=null,
/** @var string|null */
public ?string $Op=null,
/** @var string|null */
public ?string $V=null
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['F'])) $this->F = $o['F'];
if (isset($o['Op'])) $this->Op = $o['Op'];
if (isset($o['V'])) $this->V = $o['V'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->F)) $o['F'] = $this->F;
if (isset($this->Op)) $o['Op'] = $this->Op;
if (isset($this->V)) $o['V'] = $this->V;
return empty($o) ? new class(){} : $o;
}
}
class FormSubmissionSearchRequest implements JsonSerializable
{
public function __construct(
/** @var string|null */
public ?string $FormUID=null,
/** @var string|null */
public ?string $Mode=null,
/** @var array<string>|null */
public ?array $Forms=null,
/** @var array<string>|null */
public ?array $Stages=null,
/** @var array<int>|null */
public ?array $Assignees=null,
/** @var array<string>|null */
public ?array $Branches=null,
/** @var array<string>|null */
public ?array $Tags=null,
/** @var string|null */
public ?string $Search=null,
/** @var string|null */
public ?string $SortKey=null,
/** @var int */
public int $SortDir=0,
/** @var int */
public int $Skip=0,
/** @var int */
public int $Take=0,
/** @var array<FormAnswerCond>|null */
public ?array $Conds=null,
/** @var array<string>|null */
public ?array $Flags=null
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['FormUID'])) $this->FormUID = $o['FormUID'];
if (isset($o['Mode'])) $this->Mode = $o['Mode'];
if (isset($o['Forms'])) $this->Forms = JsonConverters::fromArray('Guid', $o['Forms']);
if (isset($o['Stages'])) $this->Stages = JsonConverters::fromArray('string', $o['Stages']);
if (isset($o['Assignees'])) $this->Assignees = JsonConverters::fromArray('int', $o['Assignees']);
if (isset($o['Branches'])) $this->Branches = JsonConverters::fromArray('string', $o['Branches']);
if (isset($o['Tags'])) $this->Tags = JsonConverters::fromArray('string', $o['Tags']);
if (isset($o['Search'])) $this->Search = $o['Search'];
if (isset($o['SortKey'])) $this->SortKey = $o['SortKey'];
if (isset($o['SortDir'])) $this->SortDir = $o['SortDir'];
if (isset($o['Skip'])) $this->Skip = $o['Skip'];
if (isset($o['Take'])) $this->Take = $o['Take'];
if (isset($o['Conds'])) $this->Conds = JsonConverters::fromArray('FormAnswerCond', $o['Conds']);
if (isset($o['Flags'])) $this->Flags = JsonConverters::fromArray('string', $o['Flags']);
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->FormUID)) $o['FormUID'] = $this->FormUID;
if (isset($this->Mode)) $o['Mode'] = $this->Mode;
if (isset($this->Forms)) $o['Forms'] = JsonConverters::toArray('Guid', $this->Forms);
if (isset($this->Stages)) $o['Stages'] = JsonConverters::toArray('string', $this->Stages);
if (isset($this->Assignees)) $o['Assignees'] = JsonConverters::toArray('int', $this->Assignees);
if (isset($this->Branches)) $o['Branches'] = JsonConverters::toArray('string', $this->Branches);
if (isset($this->Tags)) $o['Tags'] = JsonConverters::toArray('string', $this->Tags);
if (isset($this->Search)) $o['Search'] = $this->Search;
if (isset($this->SortKey)) $o['SortKey'] = $this->SortKey;
if (isset($this->SortDir)) $o['SortDir'] = $this->SortDir;
if (isset($this->Skip)) $o['Skip'] = $this->Skip;
if (isset($this->Take)) $o['Take'] = $this->Take;
if (isset($this->Conds)) $o['Conds'] = JsonConverters::toArray('FormAnswerCond', $this->Conds);
if (isset($this->Flags)) $o['Flags'] = JsonConverters::toArray('string', $this->Flags);
return empty($o) ? new class(){} : $o;
}
}
PHP FormSubmissionSearchRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/forms/submissions/search HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<FormSubmissionSearchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
<Assignees xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>0</d2p1:int>
</Assignees>
<Branches xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</Branches>
<Conds>
<FormAnswerCond>
<F>String</F>
<Op>String</Op>
<V>String</V>
</FormAnswerCond>
</Conds>
<Flags xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</Flags>
<FormUID>00000000-0000-0000-0000-000000000000</FormUID>
<Forms xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>00000000-0000-0000-0000-000000000000</d2p1:guid>
</Forms>
<Mode>String</Mode>
<Search>String</Search>
<Skip>0</Skip>
<SortDir>0</SortDir>
<SortKey>String</SortKey>
<Stages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</Stages>
<Tags xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</Tags>
<Take>0</Take>
</FormSubmissionSearchRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<FormSubmissionSearchResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
<Capped>false</Capped>
<Counts>
<Assignees>
<FormInboxCount>
<L>String</L>
<N>0</N>
<V>String</V>
</FormInboxCount>
</Assignees>
<Branches>
<FormInboxCount>
<L>String</L>
<N>0</N>
<V>String</V>
</FormInboxCount>
</Branches>
<Flags>
<FormInboxCount>
<L>String</L>
<N>0</N>
<V>String</V>
</FormInboxCount>
</Flags>
<Forms>
<FormInboxCount>
<L>String</L>
<N>0</N>
<V>String</V>
</FormInboxCount>
</Forms>
<Stages>
<FormInboxCount>
<L>String</L>
<N>0</N>
<V>String</V>
</FormInboxCount>
</Stages>
<Tags>
<FormInboxCount>
<L>String</L>
<N>0</N>
<V>String</V>
</FormInboxCount>
</Tags>
</Counts>
<FilterFields>
<FormFilterField>
<K>String</K>
<L>String</L>
<Opts>
<FormFilterOpt>
<Id>String</Id>
<L>String</L>
</FormFilterOpt>
</Opts>
<T>String</T>
</FormFilterField>
</FilterFields>
<Matching>0</Matching>
<ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:Message>String</d2p1:Message>
<d2p1:StackTrace>String</d2p1:StackTrace>
<d2p1:Errors>
<d2p1:ResponseError>
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:Message>String</d2p1:Message>
<d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringstring>
<d5p1:Key>String</d5p1:Key>
<d5p1:Value>String</d5p1:Value>
</d5p1:KeyValueOfstringstring>
</d2p1:Meta>
</d2p1:ResponseError>
</d2p1:Errors>
<d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringstring>
<d3p1:Key>String</d3p1:Key>
<d3p1:Value>String</d3p1:Value>
</d3p1:KeyValueOfstringstring>
</d2p1:Meta>
</ResponseStatus>
<Rows>
<FormInboxRow>
<ApplicantName>String</ApplicantName>
<AssigneeAgentId>0</AssigneeAgentId>
<AssigneeName>String</AssigneeName>
<BranchName>String</BranchName>
<DocsNeed>0</DocsNeed>
<DocsOk>0</DocsOk>
<FormName>String</FormName>
<FormUID>00000000-0000-0000-0000-000000000000</FormUID>
<IsTest>false</IsTest>
<Number>String</Number>
<Stage>String</Stage>
<StageLabel>String</StageLabel>
<StageTone>String</StageTone>
<SubmissionUID>00000000-0000-0000-0000-000000000000</SubmissionUID>
<SubmittedAt>0001-01-01T00:00:00</SubmittedAt>
<SubmittedText>String</SubmittedText>
<Tags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>String</d4p1:string>
</Tags>
<VersionNo>0</VersionNo>
<VersionText>String</VersionText>
</FormInboxRow>
</Rows>
<ScopeTotal>0</ScopeTotal>
<StageMatching>
<FormInboxCount>
<L>String</L>
<N>0</N>
<V>String</V>
</FormInboxCount>
</StageMatching>
<Stages>
<FormStageInfo>
<Id>String</Id>
<Kind>String</Kind>
<Label>String</Label>
<Tone>String</Tone>
</FormStageInfo>
</Stages>
<TagOptions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</TagOptions>
</FormSubmissionSearchResponse>