POST api/alexa/testtemp
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
AlexaResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| version | string |
None. |
|
| sessionAttributes |
None. |
Response Formats
application/json, text/json
Sample:
{
"version": "sample string 1",
"sessionAttributes": {
"memberId": 1,
"lastIntentName": "sample string 2"
},
"response": {
"shouldEndSession": true,
"outputSpeech": {
"type": "sample string 1",
"text": "sample string 2",
"ssml": "sample string 3"
},
"card": {
"type": "sample string 1",
"title": "sample string 2",
"content": "sample string 3"
},
"reprompt": {
"outputSpeech": {
"type": "sample string 1",
"text": "sample string 2",
"ssml": "sample string 3"
}
}
}
}
application/xml, text/xml
Sample:
<AlexaResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlexaTestApp.Models">
<Response>
<Card>
<Content>sample string 3</Content>
<Title>sample string 2</Title>
<Type>sample string 1</Type>
</Card>
<OutputSpeech>
<Ssml>sample string 3</Ssml>
<Text>sample string 2</Text>
<Type>sample string 1</Type>
</OutputSpeech>
<Reprompt>
<OutputSpeech>
<Ssml>sample string 3</Ssml>
<Text>sample string 2</Text>
<Type>sample string 1</Type>
</OutputSpeech>
</Reprompt>
<ShouldEndSession>true</ShouldEndSession>
</Response>
<Session>
<LastIntentName>sample string 2</LastIntentName>
<MemberId>1</MemberId>
</Session>
<Version>sample string 1</Version>
</AlexaResponse>