GET api/Position?companyCode={companyCode}
Gets the listing of all Positions for a specific company code.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
companyCode | The company code. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
[ { "CompanyCode": "sample string 3", "PositionId": 1, "PositionName": "sample string 2" }, { "CompanyCode": "sample string 3", "PositionId": 1, "PositionName": "sample string 2" }, { "CompanyCode": "sample string 3", "PositionId": 1, "PositionName": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfPosition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netchex.API.External.Areas.Position.Models"> <Position> <CompanyCode>sample string 3</CompanyCode> <PositionId>1</PositionId> <PositionName>sample string 2</PositionName> </Position> <Position> <CompanyCode>sample string 3</CompanyCode> <PositionId>1</PositionId> <PositionName>sample string 2</PositionName> </Position> <Position> <CompanyCode>sample string 3</CompanyCode> <PositionId>1</PositionId> <PositionName>sample string 2</PositionName> </Position> </ArrayOfPosition>