POST Images/Upload

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

MediaItem
NameDescriptionTypeAdditional information
MediaType

integer

None.

Status

integer

None.

Id

globally unique identifier

None.

CreatedDate

date

None.

ModifiedDate

date

None.

Scope

integer

Required

ContentTypes

string

None.

Caption

string

None.

Name

string

None.

Description

string

None.

RealHost

string

None.

RealUrl

string

None.

Path

string

None.

Extension

string

None.

UserId

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "MediaType": 1,
  "Status": 2,
  "Id": "7b1cccff-f6e6-42c2-853a-37543f8bcb1e",
  "CreatedDate": "2021-08-05T13:49:41.3857608-06:00",
  "ModifiedDate": "2021-08-05T13:49:41.3857608-06:00",
  "Scope": 6,
  "ContentTypes": "sample string 7",
  "Caption": "sample string 8",
  "Name": "sample string 9",
  "Description": "sample string 10",
  "RealHost": "sample string 11",
  "RealUrl": "sample string 11sample string 12",
  "Path": "sample string 12",
  "Extension": "sample string 13",
  "UserId": "d75f49db-cbe3-4553-b8a1-77ed3dc66db6"
}

application/xml, text/xml

Sample:
<MediaItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoftPlus.Core.Data.Model">
  <Caption>sample string 8</Caption>
  <ContentTypes>sample string 7</ContentTypes>
  <CreatedDate>2021-08-05T13:49:41.3857608-06:00</CreatedDate>
  <Description>sample string 10</Description>
  <Extension>sample string 13</Extension>
  <Id>7b1cccff-f6e6-42c2-853a-37543f8bcb1e</Id>
  <MediaType>1</MediaType>
  <ModifiedDate>2021-08-05T13:49:41.3857608-06:00</ModifiedDate>
  <Name>sample string 9</Name>
  <Path>sample string 12</Path>
  <RealHost>sample string 11</RealHost>
  <Scope>6</Scope>
  <Status>2</Status>
  <UserId>d75f49db-cbe3-4553-b8a1-77ed3dc66db6</UserId>
</MediaItem>