POST v1/Facilities/{id}/AssetLimits

Description

Add a asset limit item for facility with a WSO ID of {id}

Base Url

https://api-zion.wsohosting.com/


Rest Call Syntax


POST SecurityMaster/v1/Facilities/{id}/AssetLimits

POST SecurityMaster/v1/Facilities/{id}/AssetLimits

Verb

Base Url

URI parameters

 = 

Authentication



Response Format


Headers

Add header


 

Delete



AssetLimitAdd

Name

Description

Type

Additional Information

LimitType

Indicates the type of the asset limit. Possible values are defined in the enum.

Required

StartDate

The start date of the limit.

date

Required

Amount

The amount of the limit.

decimal number

ReferenceAmount

The reference amount of the limit.

decimal number




Limitations

There are no limitations specified.




Request Information


Parameters

Name

Description

Type

Additional Information

id

WSO ID of facility

integer

Required



Request body formats


application/json, text/json

Sample:
{
  "amount": 2.0,
  "referenceAmount": 3.0,
  "limitType": "None",
  "startDate": "2024-10-08T05:36:26.0803675-05:00"
}

application/xml, text/xml

Sample:
<AssetLimitAdd xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Amount>2</Amount>
  <LimitType>None</LimitType>
  <ReferenceAmount>3</ReferenceAmount>
  <StartDate>2024-10-08T05:36:26.0803675-05:00</StartDate>
</AssetLimitAdd>

application/x-www-form-urlencoded

Sample:

Sample not available.




Response Information



AssetLimit

Name

Description

Type

Additional Information

Amount

The amount of the limit.

decimal number

AssetId

Asset that the limit is applied to.

integer

Id

The unique ID for this object.

integer

LimitType

Indicates the type of the asset limit. Possible values are defined in the enum.

Links

A list of links

Collection of Link

ReferenceAmount

The reference amount of the limit.

decimal number

StartDate

The start date of the limit.

date




Response Body Formats



application/json, text/json

Sample:
{
  "id": 1,
  "assetId": 2,
  "amount": 3.0,
  "referenceAmount": 4.0,
  "limitType": "None",
  "startDate": "2024-10-08T05:36:26.0895679-05: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:
<AssetLimit xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Amount>3</Amount>
  <AssetId>2</AssetId>
  <Id>1</Id>
  <LimitType>None</LimitType>
  <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>
  <ReferenceAmount>4</ReferenceAmount>
  <StartDate>2024-10-08T05:36:26.0895679-05:00</StartDate>
</AssetLimit>



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.