PUT v1/Facilities/{id}

Description

Update the facility global id with WSO ID of {id}.

Base Url

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


Rest Call Syntax


PUT LRDIntegration/v1/Facilities/{id}

PUT LRDIntegration/v1/Facilities/{id}

Verb

Base Url

URI parameters

 = 

Authentication



Response Format


Headers

Add header


 

Delete



FacilityDetailsUpdate

Name

Description

Type

Additional Information

GlobalId

integer

Required




Limitations

There are no limitations specified.




Request Information


Parameters

Name

Description

Type

Additional Information

id

WSO ID of the facility

integer

Required



Request body formats


application/json, text/json

Sample:
{
  "shellGlobalId": 1
}

application/xml, text/xml

Sample:
<FacilityDetailsUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WSO.API.LRDIntegration.Models.v1">
  <GlobalId>1</GlobalId>
</FacilityDetailsUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.




Response Information



FacilityInfo

Name

Description

Type

Additional Information

Abbreviation

string

AccountAdministratorId

integer

AllowFeeAccrual

boolean

AllowFXAdjustment

boolean

AllowPIKAccrual

boolean

AmortPaymentFrequency

AssetClassId

integer

AssetLimits

BankDeal

BaseCurrencyCode

string

CallSchedule

Collateral

string

Country

CountryId

integer

Currencies

DebtType

string

DefaultDate

date

DefaultType

string

EnableLimits

boolean

ExpectedMaturityDate

date

FacilityName

string

FacilityRateOptions

FacilitySpreads

FacilityType

FixedRate

decimal number

FreezeBorrowing

boolean

FXChangeDirectionId

FXThreshold

decimal number

GuarantorId

integer

HasDefaulted

boolean

HasFXRisk

boolean

HolidayCalendarId

integer

Id

integer

Identifiers

IncludeLOCInCommitment

boolean

IncludeLOCInUtilized

boolean

InsurerId

integer

IsCollateralized

boolean

IsDelayedDraw

boolean

IsDeleted

boolean

IsDIP

boolean

IsEmergingMarket

boolean

IsFixedRateLoan

boolean

IsGuaranteed

boolean

IsLetterOfCredit

boolean

IsMostSenior

boolean

IsMultiCurrency

boolean

IsPIK

boolean

IsPrivate

boolean

IsRestructured

boolean

IsStructuredFinanceObligation

boolean

IssuePrice

decimal number

Issuer

IsSynthetic

boolean

IsTradedAccrued

boolean

LIBORSpread

decimal number

LienType

string

Links

Collection of Link

LOCFee

decimal number

MaturityDate

date

MinimumAssignment

decimal number

MinimumHold

decimal number

Notes

string

OriginalGlobalAmount

decimal number

PayNonBusinessDirection

integer

PayOffsetDays

integer

PayOffsetDirection

integer

PayOffsetType

PrepaymentApplication

PRIMESpread

decimal number

RateLimits

Ratings

RegistrationType

string

SeniorityId

integer

TradeWithAccruedFee

boolean

TradeWithAccruedPIK

boolean

TradeWithDirtyPricing

boolean

Udfs

UnfundedFee

decimal number




Response Body Formats



application/json, text/json

Sample:
{
  "id": 1,
  "abbreviation": "sample string 2",
  "allowFeeAccrual": true,
  "allowPIKAccrual": true,
  "assetClassId": 1,
  "bankDeal": {
    "verb": "sample string 1",
    "rel": "sample string 2",
    "uri": "http://webapihelppage3.com"
  },
  "collateral": "sample string 5",
  "debtType": "sample string 6",
  "defaultDate": "2024-10-08T11:31:33.2288806+01:00",
  "defaultType": "sample string 7",
  "facilityName": "sample string 8",
  "facilityType": "Unassigned",
  "freezeBorrowing": true,
  "hasDefaulted": true,
  "hasFXRisk": true,
  "isDIP": true,
  "isPIK": true,
  "isLetterOfCredit": true,
  "includeLOCInUtilized": true,
  "includeLOCInCommitment": true,
  "issuer": {
    "verb": "sample string 1",
    "rel": "sample string 2",
    "uri": "http://webapihelppage3.com"
  },
  "amortPaymentFrequency": "Annually",
  "prepaymentApplication": "None",
  "isEmergingMarket": true,
  "isFixedRateLoan": true,
  "isMostSenior": true,
  "isMultiCurrency": true,
  "isPrivate": true,
  "isRestructured": true,
  "isStructuredFinanceObligation": true,
  "issuePrice": 1.1,
  "isSynthetic": true,
  "isTradedAccrued": true,
  "lienType": "sample string 26",
  "maturityDate": "2024-10-08T11:31:33.2288806+01:00",
  "minimumAssignment": 1.0,
  "minimumHold": 1.0,
  "fixedRate": 1.1,
  "isCollateralized": true,
  "isDelayedDraw": true,
  "isGuaranteed": true,
  "liborSpread": 1.1,
  "locFee": 1.1,
  "expectedMaturityDate": "2024-10-08T11:31:33.2288806+01:00",
  "notes": "sample string 31",
  "originalGlobalAmount": 1.0,
  "payNonBusinessDirection": 32,
  "payOffsetDays": 33,
  "payOffsetDirection": 34,
  "payOffsetType": "BusinessDays",
  "primeSpread": 1.1,
  "registrationType": "sample string 35",
  "tradeWithAccruedFee": true,
  "tradeWithAccruedPIK": true,
  "tradeWithDirtyPricing": true,
  "unfundedFee": 1.1,
  "enableLimits": true,
  "isDeleted": true,
  "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"
    }
  ],
  "accountAdministratorId": 1,
  "countryId": 1,
  "country": {
    "verb": "sample string 1",
    "rel": "sample string 2",
    "uri": "http://webapihelppage3.com"
  },
  "baseCurrencyCode": "sample string 41",
  "guarantorId": 42,
  "holidayCalendarId": 1,
  "insurerId": 43,
  "seniorityId": 1,
  "currencies": {
    "verb": "sample string 1",
    "rel": "sample string 2",
    "uri": "http://webapihelppage3.com"
  },
  "facilityRateOptions": {
    "verb": "sample string 1",
    "rel": "sample string 2",
    "uri": "http://webapihelppage3.com"
  },
  "rateLimits": {
    "verb": "sample string 1",
    "rel": "sample string 2",
    "uri": "http://webapihelppage3.com"
  },
  "assetLimits": {
    "verb": "sample string 1",
    "rel": "sample string 2",
    "uri": "http://webapihelppage3.com"
  },
  "callSchedule": {
    "verb": "sample string 1",
    "rel": "sample string 2",
    "uri": "http://webapihelppage3.com"
  },
  "facilitySpreads": {
    "verb": "sample string 1",
    "rel": "sample string 2",
    "uri": "http://webapihelppage3.com"
  },
  "identifiers": {
    "verb": "sample string 1",
    "rel": "sample string 2",
    "uri": "http://webapihelppage3.com"
  },
  "ratings": {
    "verb": "sample string 1",
    "rel": "sample string 2",
    "uri": "http://webapihelppage3.com"
  },
  "udfs": {
    "verb": "sample string 1",
    "rel": "sample string 2",
    "uri": "http://webapihelppage3.com"
  },
  "fxThreshold": 44.1,
  "fxChangeDirectionId": "Unassigned",
  "allowFXAdjustment": true
}

application/xml, text/xml

Sample:
<FacilityInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Abbreviation>sample string 2</Abbreviation>
  <AccountAdministratorId>1</AccountAdministratorId>
  <AllowFXAdjustment>true</AllowFXAdjustment>
  <AllowFeeAccrual>true</AllowFeeAccrual>
  <AllowPIKAccrual>true</AllowPIKAccrual>
  <AmortPaymentFrequency>Annually</AmortPaymentFrequency>
  <AssetClassId>1</AssetClassId>
  <AssetLimits>
    <Rel>sample string 2</Rel>
    <Uri>http://webapihelppage3.com/</Uri>
    <Verb>sample string 1</Verb>
  </AssetLimits>
  <BankDeal>
    <Rel>sample string 2</Rel>
    <Uri>http://webapihelppage3.com/</Uri>
    <Verb>sample string 1</Verb>
  </BankDeal>
  <BaseCurrencyCode>sample string 41</BaseCurrencyCode>
  <CallSchedule>
    <Rel>sample string 2</Rel>
    <Uri>http://webapihelppage3.com/</Uri>
    <Verb>sample string 1</Verb>
  </CallSchedule>
  <Collateral>sample string 5</Collateral>
  <Country>
    <Rel>sample string 2</Rel>
    <Uri>http://webapihelppage3.com/</Uri>
    <Verb>sample string 1</Verb>
  </Country>
  <CountryId>1</CountryId>
  <Currencies>
    <Rel>sample string 2</Rel>
    <Uri>http://webapihelppage3.com/</Uri>
    <Verb>sample string 1</Verb>
  </Currencies>
  <DebtType>sample string 6</DebtType>
  <DefaultDate>2024-10-08T11:31:33.2288806+01:00</DefaultDate>
  <DefaultType>sample string 7</DefaultType>
  <EnableLimits>true</EnableLimits>
  <ExpectedMaturityDate>2024-10-08T11:31:33.2288806+01:00</ExpectedMaturityDate>
  <FXChangeDirectionId>Unassigned</FXChangeDirectionId>
  <FXThreshold>44.1</FXThreshold>
  <FacilityName>sample string 8</FacilityName>
  <FacilityRateOptions>
    <Rel>sample string 2</Rel>
    <Uri>http://webapihelppage3.com/</Uri>
    <Verb>sample string 1</Verb>
  </FacilityRateOptions>
  <FacilitySpreads>
    <Rel>sample string 2</Rel>
    <Uri>http://webapihelppage3.com/</Uri>
    <Verb>sample string 1</Verb>
  </FacilitySpreads>
  <FacilityType>Unassigned</FacilityType>
  <FixedRate>1.1</FixedRate>
  <FreezeBorrowing>true</FreezeBorrowing>
  <GuarantorId>42</GuarantorId>
  <HasDefaulted>true</HasDefaulted>
  <HasFXRisk>true</HasFXRisk>
  <HolidayCalendarId>1</HolidayCalendarId>
  <Id>1</Id>
  <Identifiers>
    <Rel>sample string 2</Rel>
    <Uri>http://webapihelppage3.com/</Uri>
    <Verb>sample string 1</Verb>
  </Identifiers>
  <IncludeLOCInCommitment>true</IncludeLOCInCommitment>
  <IncludeLOCInUtilized>true</IncludeLOCInUtilized>
  <InsurerId>43</InsurerId>
  <IsCollateralized>true</IsCollateralized>
  <IsDIP>true</IsDIP>
  <IsDelayedDraw>true</IsDelayedDraw>
  <IsDeleted>true</IsDeleted>
  <IsEmergingMarket>true</IsEmergingMarket>
  <IsFixedRateLoan>true</IsFixedRateLoan>
  <IsGuaranteed>true</IsGuaranteed>
  <IsLetterOfCredit>true</IsLetterOfCredit>
  <IsMostSenior>true</IsMostSenior>
  <IsMultiCurrency>true</IsMultiCurrency>
  <IsPIK>true</IsPIK>
  <IsPrivate>true</IsPrivate>
  <IsRestructured>true</IsRestructured>
  <IsStructuredFinanceObligation>true</IsStructuredFinanceObligation>
  <IsSynthetic>true</IsSynthetic>
  <IsTradedAccrued>true</IsTradedAccrued>
  <IssuePrice>1.1</IssuePrice>
  <Issuer>
    <Rel>sample string 2</Rel>
    <Uri>http://webapihelppage3.com/</Uri>
    <Verb>sample string 1</Verb>
  </Issuer>
  <LIBORSpread>1.1</LIBORSpread>
  <LOCFee>1.1</LOCFee>
  <LienType>sample string 26</LienType>
  <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-08T11:31:33.2288806+01:00</MaturityDate>
  <MinimumAssignment>1</MinimumAssignment>
  <MinimumHold>1</MinimumHold>
  <Notes>sample string 31</Notes>
  <OriginalGlobalAmount>1</OriginalGlobalAmount>
  <PRIMESpread>1.1</PRIMESpread>
  <PayNonBusinessDirection>32</PayNonBusinessDirection>
  <PayOffsetDays>33</PayOffsetDays>
  <PayOffsetDirection>34</PayOffsetDirection>
  <PayOffsetType>BusinessDays</PayOffsetType>
  <PrepaymentApplication>None</PrepaymentApplication>
  <RateLimits>
    <Rel>sample string 2</Rel>
    <Uri>http://webapihelppage3.com/</Uri>
    <Verb>sample string 1</Verb>
  </RateLimits>
  <Ratings>
    <Rel>sample string 2</Rel>
    <Uri>http://webapihelppage3.com/</Uri>
    <Verb>sample string 1</Verb>
  </Ratings>
  <RegistrationType>sample string 35</RegistrationType>
  <SeniorityId>1</SeniorityId>
  <TradeWithAccruedFee>true</TradeWithAccruedFee>
  <TradeWithAccruedPIK>true</TradeWithAccruedPIK>
  <TradeWithDirtyPricing>true</TradeWithDirtyPricing>
  <Udfs>
    <Rel>sample string 2</Rel>
    <Uri>http://webapihelppage3.com/</Uri>
    <Verb>sample string 1</Verb>
  </Udfs>
  <UnfundedFee>1.1</UnfundedFee>
</FacilityInfo>



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.