POST v1/AssetClasses

Description

Add a new asset class.

Base Url

https://services.wsoweb.com/


Rest Call Syntax


POST SecurityMaster/v1/AssetClasses

POST SecurityMaster/v1/AssetClasses

Verb

Base Url

URI parameters

 = 

Authentication



Response Format


Headers

Add header


 

Delete



AssetClassAdd

Name

Description

Type

Additional Information

AssetClassName

The ISO code of the asset class

string




Limitations

There are no limitations specified.




Request Information


Request body formats


application/json, text/json

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

application/xml, text/xml

Sample:
<AssetClassAdd xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <AssetClassName>sample string 1</AssetClassName>
</AssetClassAdd>

application/x-www-form-urlencoded

Sample:

Sample not available.




Response Information



AssetClass

Name

Description

Type

Additional Information

AddDate

Gets or sets the date that this record was added.

date

AddId

Gets or sets the name of the user who added this record to the system.

string

AddNode

Gets or sets the name of the machine that added this record to the system.

string

AssetClassName

Asset class name

string

Id

The WSO ID of the asset class

integer

IsDeleted

Gets or sets a flag indicating whether or not the trader has been soft-deleted in the system.

boolean

LastChangeDate

Gets or sets the date of the last change to this record.

date

LastChangeId

Gets or sets the name of the user that last made changes to this record.

string

LastChangeNode

Gets or sets the name of the machine that last made changes to this record.

string

Links

The Hateoas links related to this asset class item

Collection of Link




Response Body Formats



application/json, text/json

Sample:
{
  "id": 1,
  "isDeleted": true,
  "assetClassName": "sample string 3",
  "addId": "sample string 5",
  "addNode": "sample string 6",
  "addDate": "2024-11-23T01:16:16.3780972-06:00",
  "lastChangeId": "sample string 8",
  "lastChangeNode": "sample string 9",
  "lastChangeDate": "2024-11-23T01:16:16.3780972-06:00",
  "links": [
    {
      "verb": "sample string 1",
      "rel": "sample string 2",
      "uri": "http://webapihelppage3.com"
    },
    {
      "verb": "sample string 1",
      "rel": "sample string 2",
      "uri": "http://webapihelppage3.com"
    }
  ]
}

application/xml, text/xml

Sample:
<AssetClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <AddDate>2024-11-23T01:16:16.3780972-06:00</AddDate>
  <AddId>sample string 5</AddId>
  <AddNode>sample string 6</AddNode>
  <AssetClassName>sample string 3</AssetClassName>
  <Id>1</Id>
  <IsDeleted>true</IsDeleted>
  <LastChangeDate>2024-11-23T01:16:16.3780972-06:00</LastChangeDate>
  <LastChangeId>sample string 8</LastChangeId>
  <LastChangeNode>sample string 9</LastChangeNode>
  <Links>
    <Link>
      <Rel>sample string 2</Rel>
      <Uri>http://webapihelppage3.com/</Uri>
      <Verb>sample string 1</Verb>
    </Link>
    <Link>
      <Rel>sample string 2</Rel>
      <Uri>http://webapihelppage3.com/</Uri>
      <Verb>sample string 1</Verb>
    </Link>
  </Links>
</AssetClass>



Feedback



(0 out of 1500 characters used)
Feedback has been submitted. Thank you for your feedback.
Automatic feedback submission has been turned off by your system administrator. Your feedback has been logged to the exceptions table. Please contact support to find out how to manually send in your feedback. Thank you.