GET v1/Assets/{id}

Description

Retrieve an asset with WSO ID of {id}.

Base Url

https://services.wsoweb.com/


Rest Call Syntax


GET SecurityMaster/v1/Assets/{id}

GET SecurityMaster/v1/Assets/{id}

Verb

Base Url

URI parameters

 = 

Authentication



Response Format


Headers

Add header


 

Delete




Limitations

There are no limitations specified.




Request Information


Parameters

Name

Description

Type

Additional Information

id

WSO ID of the asset

integer

Required




Response Information



Asset

Name

Description

Type

Additional Information

AssetId

The WSO ID for this asset

integer

AssetName

The name of the asset

string

AssetType

The type of asset

BankDeal

Link to the bank deal

BankDealName

The name of the bank deal related to the asset (if applicable)

string

CouponType

The coupon type of the asset (if applicable)

CurrencyCode

The currency code of the asset

string

Issuer

Link to issuer

IssuerName

The name of the issuer related to the asset

string

Links

The Hateoas links related to this entity

Collection of Link

MaturityDate

The maturity date of the asset

date

SpreadValue

The spread value of the asset (if applicable)

decimal number




Response Body Formats



application/json, text/json

Sample:
{
  "assetId": 1,
  "assetName": "sample string 2",
  "assetType": "Loan",
  "issuerName": "sample string 4",
  "issuer": {
    "verb": "sample string 1",
    "rel": "sample string 2",
    "uri": "http://webapihelppage3.com"
  },
  "bankDealName": "sample string 5",
  "bankDeal": {
    "verb": "sample string 1",
    "rel": "sample string 2",
    "uri": "http://webapihelppage3.com"
  },
  "maturityDate": "2024-11-23T01:54:15.2542384-06:00",
  "currencyCode": "sample string 8",
  "couponType": "Fixed",
  "spreadValue": 1.1,
  "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:
<Asset xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <AssetId>1</AssetId>
  <AssetName>sample string 2</AssetName>
  <AssetType>Loan</AssetType>
  <BankDeal>
    <Rel>sample string 2</Rel>
    <Uri>http://webapihelppage3.com/</Uri>
    <Verb>sample string 1</Verb>
  </BankDeal>
  <BankDealName>sample string 5</BankDealName>
  <CouponType>Fixed</CouponType>
  <CurrencyCode>sample string 8</CurrencyCode>
  <Issuer>
    <Rel>sample string 2</Rel>
    <Uri>http://webapihelppage3.com/</Uri>
    <Verb>sample string 1</Verb>
  </Issuer>
  <IssuerName>sample string 4</IssuerName>
  <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>
  <MaturityDate>2024-11-23T01:54:15.2542384-06:00</MaturityDate>
  <SpreadValue>1.1</SpreadValue>
</Asset>



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.