GET api/Company/GetAllPayElements

Get all pay elements on the given company

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CompanyPayElement
NameDescriptionTypeAdditional information
PayElementID

string

None.

PayElement

string

None.

PayElementName

string

None.

Labels

Collection of string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PayElementID": "sample string 1",
    "PayElement": "sample string 2",
    "PayElementName": "sample string 3",
    "Labels": [
      "sample string 1",
      "sample string 2"
    ]
  },
  {
    "PayElementID": "sample string 1",
    "PayElement": "sample string 2",
    "PayElementName": "sample string 3",
    "Labels": [
      "sample string 1",
      "sample string 2"
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfCompanyPayElement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebServicesRESTful.Models">
  <CompanyPayElement>
    <Labels xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Labels>
    <PayElement>sample string 2</PayElement>
    <PayElementID>sample string 1</PayElementID>
    <PayElementName>sample string 3</PayElementName>
  </CompanyPayElement>
  <CompanyPayElement>
    <Labels xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Labels>
    <PayElement>sample string 2</PayElement>
    <PayElementID>sample string 1</PayElementID>
    <PayElementName>sample string 3</PayElementName>
  </CompanyPayElement>
</ArrayOfCompanyPayElement>