POST v1/Seniority

Description

Add a new Seniority

Base Url

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


Rest Call Syntax


POST Reference/v1/Seniority

POST Reference/v1/Seniority

Verb

Base Url

URI parameters

 = 

Authentication



Response Format


Headers

Add header


 

Delete



SeniorityAdd

Name

Description

Type

Additional Information

SeniorityName

The name of the Seniority Type

string

Required

IsSecured

Is the Seniority type secured?

boolean

Priority

Pirority

integer




Limitations

There are no limitations specified.




Request Information


Request body formats


application/json, text/json

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

application/xml, text/xml

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

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.