PUT v1/Facilities/{id}/Currencies/{currencyCode}

Description

Update a currency with currency code of {currencyCode} for facility with WSO ID of {id}.

Base Url

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


Rest Call Syntax


PUT SecurityMaster/v1/Facilities/{id}/Currencies/{currencyCode}

PUT SecurityMaster/v1/Facilities/{id}/Currencies/{currencyCode}

Verb

Base Url

URI parameters

 = 

Authentication



Response Format


Headers

Add header


 

Delete



CurrencyUpdate

Name

Description

Type

Additional Information

Limit

The limit for the currency

decimal number

Percentage expressed between 0 (0%) and 1 (100%).




Limitations

  • Facility must be a multi-currency revolver.

  • Limit maximum is 100%.




Request Information


Parameters

Name

Description

Type

Additional Information

currencyCode

Currency Code

string

Required

id

WSO ID of facility

integer

Required



Request body formats


application/json, text/json

Sample:
{
  "limit": 1.1
}

application/xml, text/xml

Sample:
<CurrencyUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Limit>1.1</Limit>
</CurrencyUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.




Response Information



Currency

Name

Description

Type

Additional Information

CurrencyCode

The ISO code for the currency

string

Limit

The percentage limit for the currency in the facility

decimal number

Links

A list of hateoas links

Collection of Link




Response Body Formats



application/json, text/json

Sample:
{
  "currencyCode": "sample string 3",
  "limit": 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:
<Currency xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <CurrencyCode>sample string 3</CurrencyCode>
  <Limit>1.1</Limit>
  <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>
</Currency>



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.