POST v1/TRS/{id}/Undelete

Description

Undelete the TRS with WSO ID of {id}.

Base Url

https://api-sim.uat.wsohosting.com/


Rest Call Syntax


POST SecurityMaster/v1/TRS/{id}/Undelete

POST SecurityMaster/v1/TRS/{id}/Undelete

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 TRS

integer

Required




Response Information



Trs

Name

Description

Type

Additional Information

AddDate

Gets or sets the date that the TRS was created.

date

AddId

Gets or sets the name of the user who added the TRS.

string

AddNode

Gets or sets the name of the machine that added the TRS.

string

AssetClassId

integer

Collateral

string

CollateralRequirement

decimal number

CounterPartyId

integer

CountryId

integer

CurrencyType

string

DayCount

DefaultDate

date

DefaultType

string

FaceValue

decimal number

FinanceTradeFees

FirstPaymentDate

date

Frequency

GuarantorId

integer

Id

Pointer to the primary key of the base Asset table

integer

InsurerId

integer

InterestAccrualDate

date

IsAmortizeToZero

boolean

IsConvertible

boolean

IsDefaulted

boolean

IsDeleted

boolean

IsEmergingMarket

boolean

IsFinancePAI

boolean

IsFXRisk

boolean

IsMatchedFunding

boolean

IsPayPartialFinancing

boolean

IsPIK

boolean

IsPrivate

boolean

IsRestructured

boolean

IsSfo

boolean

IssueDate

date

IssuePrice

decimal number

Issuer

A link to retrieve the Issuer

IssuerId

integer

IsSynthetic

boolean

IsTradedAccrued

boolean

LastChangeDate

Gets or sets the date of the last change to the TRS.

date

LastChangeId

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

string

LastChangeNode

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

string

LeadUnderwriterId

integer

Links

The Hateoas links related to this asset class item

Collection of Link

MaturityDate

date

MaturityDateExpected

date

MaximumNotional

decimal number

Notes

string

PayNonBusinessDirection

PayOffsetDays

integer

PayOffsetDirection

PayOffsetType

PrimaryRate

decimal number

RateOptionId

integer

RateType

RegistrationType

string

SecurityId

string

SeniorityId

integer

TotalReturnSwapId

The unique ID for this object.

integer

TransferAgentId

integer

TrsDescription

string

ValueAssetBy




Response Body Formats



application/json, text/json

Sample:
{
  "id": 1,
  "totalReturnSwapId": 2,
  "issuerId": 4,
  "collateralRequirement": 5.1,
  "rateType": "Fixed",
  "primaryRate": 1.1,
  "rateOptionId": 1,
  "maximumNotional": 1.1,
  "faceValue": 6.0,
  "frequency": "Annual",
  "currencyType": "sample string 7",
  "issueDate": "2024-10-08T05:41:10.8446391-05:00",
  "maturityDate": "2024-10-08T05:41:10.8446391-05:00",
  "interestAccrualDate": "2024-10-08T05:41:10.8446391-05:00",
  "firstPaymentDate": "2024-10-08T05:41:10.8446391-05:00",
  "dayCount": "ACT_ACT",
  "valueAssetBy": "ValueByPar",
  "financeTradeFees": "None",
  "trsDescription": "sample string 10",
  "assetClassId": 1,
  "securityId": "sample string 11",
  "payOffsetType": "BusinessDays",
  "payOffsetDirection": "After",
  "payOffsetDays": 12,
  "payNonBusinessDirection": "On",
  "isMatchedFunding": true,
  "isPayPartialFinancing": true,
  "isFinancePAI": true,
  "leadUnderwriterId": 1,
  "seniorityId": 1,
  "counterPartyId": 1,
  "issuePrice": 1.1,
  "isConvertible": true,
  "isPrivate": true,
  "isTradedAccrued": true,
  "isPIK": true,
  "isDefaulted": true,
  "isFXRisk": true,
  "isDeleted": true,
  "isEmergingMarket": true,
  "isSynthetic": true,
  "collateral": "sample string 25",
  "notes": "sample string 26",
  "defaultDate": "2024-10-08T05:41:10.8446391-05:00",
  "defaultType": "sample string 27",
  "countryId": 1,
  "transferAgentId": 28,
  "insurerId": 29,
  "isRestructured": true,
  "isSfo": true,
  "registrationType": "sample string 32",
  "guarantorId": 1,
  "maturityDateExpected": "2024-10-08T05:41:10.8446391-05:00",
  "isAmortizeToZero": true,
  "addId": "sample string 35",
  "addNode": "sample string 36",
  "addDate": "2024-10-08T05:41:10.8446391-05:00",
  "lastChangeId": "sample string 38",
  "lastChangeNode": "sample string 39",
  "lastChangeDate": "2024-10-08T05:41:10.8446391-05:00",
  "issuer": {
    "verb": "sample string 1",
    "rel": "sample string 2",
    "uri": "http://webapihelppage3.com"
  },
  "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:
<Trs xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <AddDate>2024-10-08T05:41:10.8446391-05:00</AddDate>
  <AddId>sample string 35</AddId>
  <AddNode>sample string 36</AddNode>
  <AssetClassId>1</AssetClassId>
  <Collateral>sample string 25</Collateral>
  <CollateralRequirement>5.1</CollateralRequirement>
  <CounterPartyId>1</CounterPartyId>
  <CountryId>1</CountryId>
  <CurrencyType>sample string 7</CurrencyType>
  <DayCount>ACT_ACT</DayCount>
  <DefaultDate>2024-10-08T05:41:10.8446391-05:00</DefaultDate>
  <DefaultType>sample string 27</DefaultType>
  <FaceValue>6</FaceValue>
  <FinanceTradeFees>None</FinanceTradeFees>
  <FirstPaymentDate>2024-10-08T05:41:10.8446391-05:00</FirstPaymentDate>
  <Frequency>Annual</Frequency>
  <GuarantorId>1</GuarantorId>
  <Id>1</Id>
  <InsurerId>29</InsurerId>
  <InterestAccrualDate>2024-10-08T05:41:10.8446391-05:00</InterestAccrualDate>
  <IsAmortizeToZero>true</IsAmortizeToZero>
  <IsConvertible>true</IsConvertible>
  <IsDefaulted>true</IsDefaulted>
  <IsDeleted>true</IsDeleted>
  <IsEmergingMarket>true</IsEmergingMarket>
  <IsFXRisk>true</IsFXRisk>
  <IsFinancePAI>true</IsFinancePAI>
  <IsMatchedFunding>true</IsMatchedFunding>
  <IsPIK>true</IsPIK>
  <IsPayPartialFinancing>true</IsPayPartialFinancing>
  <IsPrivate>true</IsPrivate>
  <IsRestructured>true</IsRestructured>
  <IsSfo>true</IsSfo>
  <IsSynthetic>true</IsSynthetic>
  <IsTradedAccrued>true</IsTradedAccrued>
  <IssueDate>2024-10-08T05:41:10.8446391-05:00</IssueDate>
  <IssuePrice>1.1</IssuePrice>
  <Issuer>
    <Rel>sample string 2</Rel>
    <Uri>http://webapihelppage3.com/</Uri>
    <Verb>sample string 1</Verb>
  </Issuer>
  <IssuerId>4</IssuerId>
  <LastChangeDate>2024-10-08T05:41:10.8446391-05:00</LastChangeDate>
  <LastChangeId>sample string 38</LastChangeId>
  <LastChangeNode>sample string 39</LastChangeNode>
  <LeadUnderwriterId>1</LeadUnderwriterId>
  <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-10-08T05:41:10.8446391-05:00</MaturityDate>
  <MaturityDateExpected>2024-10-08T05:41:10.8446391-05:00</MaturityDateExpected>
  <MaximumNotional>1.1</MaximumNotional>
  <Notes>sample string 26</Notes>
  <PayNonBusinessDirection>On</PayNonBusinessDirection>
  <PayOffsetDays>12</PayOffsetDays>
  <PayOffsetDirection>After</PayOffsetDirection>
  <PayOffsetType>BusinessDays</PayOffsetType>
  <PrimaryRate>1.1</PrimaryRate>
  <RateOptionId>1</RateOptionId>
  <RateType>Fixed</RateType>
  <RegistrationType>sample string 32</RegistrationType>
  <SecurityId>sample string 11</SecurityId>
  <SeniorityId>1</SeniorityId>
  <TotalReturnSwapId>2</TotalReturnSwapId>
  <TransferAgentId>28</TransferAgentId>
  <TrsDescription>sample string 10</TrsDescription>
  <ValueAssetBy>ValueByPar</ValueAssetBy>
</Trs>



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.