POST api/v3/PositionCode/CreateUpdatePositionCode
This API is used to create or update Position Codes
Request Information
URI Parameters
None.
Body Parameters
Collection of V3.PositionCode| Name | Description | Type | Additional information |
|---|---|---|---|
| PositionCode |
Code of the Position |
string |
None. |
| PositionName |
Name of the Position |
string |
None. |
| ReportingPositionCode |
Code of the Reporting Position (Should be of L+1 position level of the position code) |
string |
None. |
| PositionLevel |
Level of the Position: Level8 = 8, Level7 = 9, Level6 = 10, Level5 = 20, Level4 = 30, Level3 = 40, Level2 = 50, Level1 = 60 |
PositionCodeLevel |
None. |
| IsDeactive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"PositionCode": "sample string 1",
"PositionName": "sample string 2",
"ReportingPositionCode": "sample string 3",
"PositionLevel": "Level8",
"IsDeactive": true
},
{
"PositionCode": "sample string 1",
"PositionName": "sample string 2",
"ReportingPositionCode": "sample string 3",
"PositionLevel": "Level8",
"IsDeactive": true
}
]
application/xml, text/xml
Sample:
<ArrayOfPositionCodes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.V3.Models">
<PositionCodes>
<IsDeactive>true</IsDeactive>
<PositionCode>sample string 1</PositionCode>
<PositionLevel>Level8</PositionLevel>
<PositionName>sample string 2</PositionName>
<ReportingPositionCode>sample string 3</ReportingPositionCode>
</PositionCodes>
<PositionCodes>
<IsDeactive>true</IsDeactive>
<PositionCode>sample string 1</PositionCode>
<PositionLevel>Level8</PositionLevel>
<PositionName>sample string 2</PositionName>
<ReportingPositionCode>sample string 3</ReportingPositionCode>
</PositionCodes>
</ArrayOfPositionCodes>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.