GET api/PR_BenefitList?DB={DB}&CompanyID={CompanyID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DB

string

Required

CompanyID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PR_Benefit
NameDescriptionTypeAdditional information
BenefitID

integer

None.

Guid

string

None.

Benefit_Name

string

None.

Benefit_Description

string

None.

Benefit_Type

string

None.

Benefit_Category

string

None.

Redundant_column1

string

None.

Redundant_money1

decimal number

None.

Amount

decimal number

None.

Deleted

boolean

None.

Disabled_bit

boolean

None.

CompanyID

integer

None.

CurrencyID

integer

None.

Redundant_float1

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "BenefitID": 1,
    "Guid": "sample string 2",
    "Benefit_Name": "sample string 3",
    "Benefit_Description": "sample string 4",
    "Benefit_Type": "sample string 5",
    "Benefit_Category": "sample string 6",
    "Redundant_column1": "sample string 7",
    "Redundant_money1": 8.0,
    "Amount": 9.0,
    "Deleted": true,
    "Disabled_bit": true,
    "CompanyID": 12,
    "CurrencyID": 13,
    "Redundant_float1": 14.1
  },
  {
    "BenefitID": 1,
    "Guid": "sample string 2",
    "Benefit_Name": "sample string 3",
    "Benefit_Description": "sample string 4",
    "Benefit_Type": "sample string 5",
    "Benefit_Category": "sample string 6",
    "Redundant_column1": "sample string 7",
    "Redundant_money1": 8.0,
    "Amount": 9.0,
    "Deleted": true,
    "Disabled_bit": true,
    "CompanyID": 12,
    "CurrencyID": 13,
    "Redundant_float1": 14.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfPR_Benefit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdroitERPWebApis">
  <PR_Benefit>
    <Amount>9</Amount>
    <BenefitID>1</BenefitID>
    <Benefit_Category>sample string 6</Benefit_Category>
    <Benefit_Description>sample string 4</Benefit_Description>
    <Benefit_Name>sample string 3</Benefit_Name>
    <Benefit_Type>sample string 5</Benefit_Type>
    <CompanyID>12</CompanyID>
    <CurrencyID>13</CurrencyID>
    <Deleted>true</Deleted>
    <Disabled_bit>true</Disabled_bit>
    <Guid>sample string 2</Guid>
    <Redundant_column1>sample string 7</Redundant_column1>
    <Redundant_float1>14.1</Redundant_float1>
    <Redundant_money1>8</Redundant_money1>
  </PR_Benefit>
  <PR_Benefit>
    <Amount>9</Amount>
    <BenefitID>1</BenefitID>
    <Benefit_Category>sample string 6</Benefit_Category>
    <Benefit_Description>sample string 4</Benefit_Description>
    <Benefit_Name>sample string 3</Benefit_Name>
    <Benefit_Type>sample string 5</Benefit_Type>
    <CompanyID>12</CompanyID>
    <CurrencyID>13</CurrencyID>
    <Deleted>true</Deleted>
    <Disabled_bit>true</Disabled_bit>
    <Guid>sample string 2</Guid>
    <Redundant_column1>sample string 7</Redundant_column1>
    <Redundant_float1>14.1</Redundant_float1>
    <Redundant_money1>8</Redundant_money1>
  </PR_Benefit>
</ArrayOfPR_Benefit>