POST api/v1/Status

Submit a new status message.

Request Information

URI Parameters

None.

Body Parameters

Status message request dto.

AddStatusMessageDto
NameDescriptionTypeAdditional information
Message

The status message to post

string

Required

Lite

Set Lite to true to return a minimal response (excludes the object added, returns only object location)

boolean

None.

ReplyingTo

If replying to a specific message, this is the Id of the message. Otherwise null

globally unique identifier

None.

MediaIds

List of Media items to associate with the status post.

Collection of globally unique identifier

None.

Request Formats

application/json, text/json, application/senml+json

Sample:
{
  "Message": "sample string 1",
  "Lite": true,
  "ReplyingTo": "58a2a2d8-9269-4f8e-9a5a-9669f5fb7b1b",
  "MediaIds": [
    "cb7bffc3-ce0d-46ea-aa1d-f9e995dee325",
    "6e8c9b04-cd8d-457b-9a20-a1cb6d03b08e"
  ]
}

application/xml, text/xml

Sample:
<AddStatusMessageDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Status">
  <Lite>true</Lite>
  <MediaIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>cb7bffc3-ce0d-46ea-aa1d-f9e995dee325</d2p1:guid>
    <d2p1:guid>6e8c9b04-cd8d-457b-9a20-a1cb6d03b08e</d2p1:guid>
  </MediaIds>
  <Message>sample string 1</Message>
  <ReplyingTo>58a2a2d8-9269-4f8e-9a5a-9669f5fb7b1b</ReplyingTo>
</AddStatusMessageDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StatusDto
NameDescriptionTypeAdditional information
Id

Unique id of this status post.

globally unique identifier

None.

Url

Do not use. Use Links["self"]

string

None.

Message

The full status message

string

None.

SummaryMessage

Abbreviated version of the message text when displaying a status post.

string

None.

PostedOn

Date/Time the post was posted.

date

None.

User

The user posting the status.

UserDto

None.

Links

List of appropriate links.

Collection of LinkDto

None.

Actions

List of appropriate actions links (e.g. delete, update)

Collection of LinkDto

None.

Source

Status message source details

StatusSourceDto

None.

Response Formats

application/json, text/json, application/senml+json

Sample:
{
  "Id": "e15497fb-9e32-4f7d-bfaa-8662c8ee9ec1",
  "Url": "sample string 2",
  "Message": "sample string 3",
  "SummaryMessage": "sample string 4",
  "PostedOn": "2024-11-08T23:56:50.2266321+00:00",
  "User": {
    "Id": "c8cec080-8d03-4e80-9f74-14838c5ceb91",
    "Url": "sample string 2",
    "AccountId": "sample string 3",
    "Name": "sample string 4",
    "UserName": "sample string 5",
    "FullUserName": "sample string 6",
    "DisplayName": "sample string 7",
    "Avatar": {
      "Href": "sample string 1",
      "Rel": "sample string 2",
      "Action": "sample string 3"
    },
    "TimeLine": {
      "Href": "sample string 1",
      "Rel": "sample string 2",
      "Action": "sample string 3"
    },
    "Profile": {
      "Href": "sample string 1",
      "Rel": "sample string 2",
      "Action": "sample string 3"
    },
    "Tags": [
      "sample string 1",
      "sample string 2"
    ],
    "Links": [
      {
        "Href": "sample string 1",
        "Rel": "sample string 2",
        "Action": "sample string 3"
      },
      {
        "Href": "sample string 1",
        "Rel": "sample string 2",
        "Action": "sample string 3"
      }
    ],
    "Actions": [
      {
        "Href": "sample string 1",
        "Rel": "sample string 2",
        "Action": "sample string 3"
      },
      {
        "Href": "sample string 1",
        "Rel": "sample string 2",
        "Action": "sample string 3"
      }
    ]
  },
  "Links": [
    {
      "Href": "sample string 1",
      "Rel": "sample string 2",
      "Action": "sample string 3"
    },
    {
      "Href": "sample string 1",
      "Rel": "sample string 2",
      "Action": "sample string 3"
    }
  ],
  "Actions": [
    {
      "Href": "sample string 1",
      "Rel": "sample string 2",
      "Action": "sample string 3"
    },
    {
      "Href": "sample string 1",
      "Rel": "sample string 2",
      "Action": "sample string 3"
    }
  ],
  "Source": {
    "Source": "Web",
    "SourceId": "f9734e6b-1b36-4c2b-86a5-19d9786ae77b",
    "SourceName": "sample string 2",
    "Links": [
      {
        "Href": "sample string 1",
        "Rel": "sample string 2",
        "Action": "sample string 3"
      },
      {
        "Href": "sample string 1",
        "Rel": "sample string 2",
        "Action": "sample string 3"
      }
    ]
  },
  "MediaIds": [
    "22cd3a15-8e73-4b1a-ae1f-947e1162673b",
    "87d78a61-4dc8-4919-b6af-4ce372fe5f3e"
  ]
}

application/xml, text/xml

Sample:
<StatusDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Status">
  <Actions xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">
    <d2p1:LinkViewModel>
      <d2p1:Action>sample string 3</d2p1:Action>
      <d2p1:Href>sample string 1</d2p1:Href>
      <d2p1:Rel>sample string 2</d2p1:Rel>
    </d2p1:LinkViewModel>
    <d2p1:LinkViewModel>
      <d2p1:Action>sample string 3</d2p1:Action>
      <d2p1:Href>sample string 1</d2p1:Href>
      <d2p1:Rel>sample string 2</d2p1:Rel>
    </d2p1:LinkViewModel>
  </Actions>
  <Id>e15497fb-9e32-4f7d-bfaa-8662c8ee9ec1</Id>
  <Links xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">
    <d2p1:LinkViewModel>
      <d2p1:Action>sample string 3</d2p1:Action>
      <d2p1:Href>sample string 1</d2p1:Href>
      <d2p1:Rel>sample string 2</d2p1:Rel>
    </d2p1:LinkViewModel>
    <d2p1:LinkViewModel>
      <d2p1:Action>sample string 3</d2p1:Action>
      <d2p1:Href>sample string 1</d2p1:Href>
      <d2p1:Rel>sample string 2</d2p1:Rel>
    </d2p1:LinkViewModel>
  </Links>
  <MediaIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>22cd3a15-8e73-4b1a-ae1f-947e1162673b</d2p1:guid>
    <d2p1:guid>87d78a61-4dc8-4919-b6af-4ce372fe5f3e</d2p1:guid>
  </MediaIds>
  <Message>sample string 3</Message>
  <PostedOn>2024-11-08T23:56:50.2266321+00:00</PostedOn>
  <Source>
    <Links xmlns:d3p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">
      <d3p1:LinkViewModel>
        <d3p1:Action>sample string 3</d3p1:Action>
        <d3p1:Href>sample string 1</d3p1:Href>
        <d3p1:Rel>sample string 2</d3p1:Rel>
      </d3p1:LinkViewModel>
      <d3p1:LinkViewModel>
        <d3p1:Action>sample string 3</d3p1:Action>
        <d3p1:Href>sample string 1</d3p1:Href>
        <d3p1:Rel>sample string 2</d3p1:Rel>
      </d3p1:LinkViewModel>
    </Links>
    <Source>Web</Source>
    <SourceId>f9734e6b-1b36-4c2b-86a5-19d9786ae77b</SourceId>
    <SourceName>sample string 2</SourceName>
  </Source>
  <SummaryMessage>sample string 4</SummaryMessage>
  <Url>sample string 2</Url>
  <User xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">
    <d2p1:AccountId>sample string 3</d2p1:AccountId>
    <d2p1:Actions>
      <d2p1:LinkViewModel>
        <d2p1:Action>sample string 3</d2p1:Action>
        <d2p1:Href>sample string 1</d2p1:Href>
        <d2p1:Rel>sample string 2</d2p1:Rel>
      </d2p1:LinkViewModel>
      <d2p1:LinkViewModel>
        <d2p1:Action>sample string 3</d2p1:Action>
        <d2p1:Href>sample string 1</d2p1:Href>
        <d2p1:Rel>sample string 2</d2p1:Rel>
      </d2p1:LinkViewModel>
    </d2p1:Actions>
    <d2p1:Avatar>
      <d2p1:Action>sample string 3</d2p1:Action>
      <d2p1:Href>sample string 1</d2p1:Href>
      <d2p1:Rel>sample string 2</d2p1:Rel>
    </d2p1:Avatar>
    <d2p1:DisplayName>sample string 7</d2p1:DisplayName>
    <d2p1:FullUserName>sample string 6</d2p1:FullUserName>
    <d2p1:Id>c8cec080-8d03-4e80-9f74-14838c5ceb91</d2p1:Id>
    <d2p1:Links>
      <d2p1:LinkViewModel>
        <d2p1:Action>sample string 3</d2p1:Action>
        <d2p1:Href>sample string 1</d2p1:Href>
        <d2p1:Rel>sample string 2</d2p1:Rel>
      </d2p1:LinkViewModel>
      <d2p1:LinkViewModel>
        <d2p1:Action>sample string 3</d2p1:Action>
        <d2p1:Href>sample string 1</d2p1:Href>
        <d2p1:Rel>sample string 2</d2p1:Rel>
      </d2p1:LinkViewModel>
    </d2p1:Links>
    <d2p1:Name>sample string 4</d2p1:Name>
    <d2p1:Profile>
      <d2p1:Action>sample string 3</d2p1:Action>
      <d2p1:Href>sample string 1</d2p1:Href>
      <d2p1:Rel>sample string 2</d2p1:Rel>
    </d2p1:Profile>
    <d2p1:Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </d2p1:Tags>
    <d2p1:TimeLine>
      <d2p1:Action>sample string 3</d2p1:Action>
      <d2p1:Href>sample string 1</d2p1:Href>
      <d2p1:Rel>sample string 2</d2p1:Rel>
    </d2p1:TimeLine>
    <d2p1:Url>sample string 2</d2p1:Url>
    <d2p1:UserName>sample string 5</d2p1:UserName>
  </User>
</StatusDto>