POST api/Assets/PUT

Request Information

URI Parameters

None.

Body Parameters

Asset
NameDescriptionTypeAdditional information
tkn

string

Required

String length: inclusive between 1 and 50

Name

string

Required

AssetTypeGUID

string

Required

String length: inclusive between 1 and 50

LocationGUID

string

Required

String length: inclusive between 1 and 50

ExternalID

string

None.

Values

string

None.

Request Formats

application/json, text/json

Sample:
{
  "tkn": "sample string 1",
  "Name": "sample string 2",
  "AssetTypeGUID": "sample string 3",
  "LocationGUID": "sample string 4",
  "ExternalID": "sample string 5",
  "Values": "sample string 6"
}

application/octet-stream

Sample:
{"tkn":"sample string 1","Name":"sample string 2","AssetTypeGUID":"sample string 3","LocationGUID":"sample string 4","ExternalID":"sample string 5","Values":"sample string 6"}

application/xml, text/xml

Sample:
<Asset xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <tkn>sample string 1</tkn>
  <Name>sample string 2</Name>
  <AssetTypeGUID>sample string 3</AssetTypeGUID>
  <LocationGUID>sample string 4</LocationGUID>
  <ExternalID>sample string 5</ExternalID>
  <Values>sample string 6</Values>
</Asset>

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 'Asset'.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.