PUT v1/Seniority/{id}

Description

Update the Seniority with WSO ID of {id}.

Base Url

https://services.wsoweb.com/


Rest Call Syntax


PUT Reference/v1/Seniority/{id}

PUT Reference/v1/Seniority/{id}

Verb

Base Url

URI parameters

 = 

Authentication



Response Format


Headers

Add header


 

Delete



SeniorityUpdate

Name

Description

Type

Additional Information

Priority

The priority of the Seniority item

integer

Required

SeniorityName

The name of the CurrenctyType

string

Required

IsSecured

Is the Seniority type secured?

boolean




Limitations

There are no limitations specified.




Request Information


Parameters

Name

Description

Type

Additional Information

id

WSO ID of Seniority

integer

Required



Request body formats


application/json, text/json

Sample:
{
  "seniorityName": "sample string 2",
  "priority": 1,
  "isSecured": true
}

application/xml, text/xml

Sample:
<SeniorityUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <IsSecured>true</IsSecured>
  <Priority>1</Priority>
  <SeniorityName>sample string 2</SeniorityName>
</SeniorityUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.




Response Information



Seniority

Name

Description

Type

Additional Information

Id

The WSO ID of the Seniority object

integer

IsDeleted

The IsDeleted Flag of the Seniority

boolean

IsSecured

Is this asset secured?

boolean

Links

The Hateoas links to related object

Collection of Link

Priority

The numerical priority of the seniority level. 1 is the highest priority.

integer

SeniorityName

The name of the currency

string




Response Body Formats



application/json, text/json

Sample:
{
  "id": 1,
  "seniorityName": "sample string 2",
  "isDeleted": true,
  "priority": 1,
  "isSecured": 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"
    }
  ]
}

application/xml, text/xml

Sample:
<Seniority xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WSO.API.Reference.Models.v1">
  <Id>1</Id>
  <IsDeleted>true</IsDeleted>
  <IsSecured>true</IsSecured>
  <Links>
    <Link xmlns="">
      <Rel>sample string 2</Rel>
      <Uri>http://webapihelppage3.com/</Uri>
      <Verb>sample string 1</Verb>
    </Link>
    <Link xmlns="">
      <Rel>sample string 2</Rel>
      <Uri>http://webapihelppage3.com/</Uri>
      <Verb>sample string 1</Verb>
    </Link>
  </Links>
  <Priority>1</Priority>
  <SeniorityName>sample string 2</SeniorityName>
</Seniority>



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.