Skype for Business - derivedMessaging Resource

derivedMessaging

  • JSON
  • XML

Represents the messaging modality in a derivedConversation.

Web link

For more on web links, see Web Links.

Name Description
relThe resource that this link points to. In JSON, this is the outer container.
hrefThe location of this resource on the server, and the target of an HTTP operation.

Resource description

This resource indicates that the messaging modality will be served from a different conversation because the acceptedByParticipant is different from the current remote participant of the conversation where messaging was added.

Properties

None

Links

This resource can have the following relationships.

Link Description
selfThe link to the current resource.

Operations

  • GET

Returns a representation of the messaging modality in a derivedConversation.

Request body

None

Response body

The response from a GET request contains the properties and links shown in the Properties and Links sections at the top of this page.

Synchronous errors

The errors below (if any) are specific to this resource. Generic errors that can apply to any resource are covered in Generic synchronous errors.

Error Code Subcode Description
ServiceFailure500InvalidExchangeServerVersion
Conflict409AlreadyExists
Conflict409TooManyGroups
Conflict409None

Examples

Request

Get https://fe1.contoso.com:443//v1/applications/970/communication/invitations/127/derivedMessaging HTTP/1.1
Authorization: Bearer cwt=PHNhbWw6QXNzZXJ0aW9uIHhtbG5...uZm8
Host: fe1.contoso.com
Accept: application/json

  

JSON Response

This sample is given only as an illustration of response syntax. The semantic content is not guaranteed to correspond to a valid scenario.

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 785
{
  "rel" : "messaging",
  "negotiatedMessageFormats" : [
    "Plain",
    "Html"
  ],
  "state" : "Connecting",
  "_links" : {
    "self" : {
      "href" : "//v1/applications/970/communication/conversations/314/messaging"
    },
    "addMessaging" : {
      "href" : "//v1/applications/970/communication/conversations/314/messaging/addMessaging"
    },
    "conversation" : {
      "href" : "//v1/applications/970/communication/conversations/314"
    },
    "sendMessage" : {
      "href" : "//v1/applications/970/communication/conversations/314/messaging/sendMessage"
    },
    "setIsTyping" : {
      "href" : "//v1/applications/970/communication/conversations/314/messaging/setIsTyping"
    },
    "stopMessaging" : {
      "href" : "//v1/applications/970/communication/conversations/314/messaging/stopMessaging"
    },
    "typingParticipants" : {
      "href" : "//v1/applications/970/communication/conversations/314/participants/typingParticipants"
    }
  }
}
  

Request

Get https://fe1.contoso.com:443//v1/applications/970/communication/invitations/127/derivedMessaging HTTP/1.1
Authorization: Bearer cwt=PHNhbWw6QXNzZXJ0aW9uIHhtbG5...uZm8
Host: fe1.contoso.com
Accept: application/xml

  

XML Response

This sample is given only as an illustration of response syntax. The semantic content is not guaranteed to correspond to a valid scenario.

HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: 1037
<?xml version="1.0" encoding="utf-8"?>
<resource rel="messaging" href="//v1/applications/970/communication/conversations/314/messaging" xmlns="http://schemas.microsoft.com/rtc/2012/03/ucwa">
  <link rel="addMessaging" href="//v1/applications/970/communication/conversations/314/messaging/addMessaging" />
  <link rel="conversation" href="//v1/applications/970/communication/conversations/314" />
  <link rel="sendMessage" href="//v1/applications/970/communication/conversations/314/messaging/sendMessage" />
  <link rel="setIsTyping" href="//v1/applications/970/communication/conversations/314/messaging/setIsTyping" />
  <link rel="stopMessaging" href="//v1/applications/970/communication/conversations/314/messaging/stopMessaging" />
  <link rel="typingParticipants" href="//v1/applications/970/communication/conversations/314/participants/typingParticipants" />
  <property name="rel">messaging</property>
  <propertyList name="negotiatedMessageFormats">
    <item>Plain</item>
    <item>Html</item>
  </propertyList>
  <property name="state">Connecting</property>
</resource>