POST api/PostAssets?title={title}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
title

string

Required

Body Parameters

TextDto
NameDescriptionTypeAdditional information
LongText

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LongText": "sample string 1"
}

application/xml, text/xml

Sample:
<AssetsController.TextDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/aigame.Controllers">
  <LongText>sample string 1</LongText>
</AssetsController.TextDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TextDto'.

Response Information

Resource Description

None.