POST api/LockerFile?isContent={isContent}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
isContent

boolean

Required

Body Parameters

ShortLockerFile
NameDescriptionTypeAdditional information
templateItemId

integer

None.

contentId

globally unique identifier

None.

fileName

string

None.

fileBase64

string

None.

id

integer

None.

fileBytes

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "templateItemId": 1,
  "contentId": "046175f3-7107-4457-995b-12d723f9ac51",
  "fileName": "sample string 2",
  "fileBase64": "sample string 3",
  "id": 4,
  "fileBytes": "QEA="
}

application/xml, text/xml

Sample:
<ShortLockerFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IAN_QPSA.Models">
  <contentId>046175f3-7107-4457-995b-12d723f9ac51</contentId>
  <fileBase64>sample string 3</fileBase64>
  <fileBytes>QEA=</fileBytes>
  <fileName>sample string 2</fileName>
  <id>4</id>
  <templateItemId>1</templateItemId>
</ShortLockerFile>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.