POST API/ALEXA/PSDPlan

Request Information

URI Parameters

None.

Body Parameters

AlexaRequest
NameDescriptionTypeAdditional information
version

string

None.

context

Context

None.

session

SessionAttributes

None.

request

RequestAttributes

None.

Request Formats

application/json, text/json

Sample:
{
  "version": "sample string 1",
  "context": {
    "System": {
      "device": {
        "deviceId": "sample string 1",
        "supportedInterfaces": {
          "AudioPlayer": {}
        }
      },
      "apiEndpoint": "sample string 1"
    }
  },
  "session": {
    "sessionId": "sample string 1",
    "application": {
      "applicationId": "sample string 1"
    },
    "attributes": {
      "memberId": 1
    },
    "user": {
      "userId": "sample string 1",
      "accessToken": "sample string 2",
      "permissions": {
        "consentToken": "sample string 1"
      }
    },
    "device": {
      "deviceId": "sample string 1",
      "supportedInterfaces": {
        "AudioPlayer": {}
      }
    },
    "new": true
  },
  "request": {
    "type": "sample string 1",
    "requestId": "sample string 2",
    "timestamp": "sample string 3",
    "intent": {
      "name": "sample string 1",
      "slots": {
        "UPCCode": {
          "name": "sample string 1",
          "value": "sample string 2"
        }
      }
    },
    "reason": "sample string 5"
  }
}

application/xml, text/xml

Sample:
<AlexaRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/P_S_D_Plan.Helper">
  <Request>
    <Intent>
      <Name>sample string 1</Name>
      <slots>
        <upccode>
          <name>sample string 1</name>
          <value>sample string 2</value>
        </upccode>
      </slots>
    </Intent>
    <Reason>sample string 5</Reason>
    <RequestId>sample string 2</RequestId>
    <Timestamp>2021-11-29T20:54:37.6769991+00:00</Timestamp>
    <TimestampEpoch>sample string 3</TimestampEpoch>
    <Type>sample string 1</Type>
  </Request>
  <Session>
    <Application>
      <ApplicationId>sample string 1</ApplicationId>
    </Application>
    <Attributes>
      <MemberId>1</MemberId>
    </Attributes>
    <New>true</New>
    <SessionId>sample string 1</SessionId>
    <User>
      <AccessToken>sample string 2</AccessToken>
      <Permission>
        <consentToken>sample string 1</consentToken>
      </Permission>
      <UserId>sample string 1</UserId>
    </User>
    <device>
      <deviceId>sample string 1</deviceId>
      <supportedInterfaces>
        <AudioPlayer />
      </supportedInterfaces>
    </device>
  </Session>
  <Version>sample string 1</Version>
  <context>
    <System>
      <apiEndpoint>sample string 1</apiEndpoint>
      <device>
        <deviceId>sample string 1</deviceId>
        <supportedInterfaces>
          <AudioPlayer />
        </supportedInterfaces>
      </device>
    </System>
  </context>
</AlexaRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />