GET api/Products/ExpenseTypes

Use to fetch Mfront MasterLists

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of MasterListDTO
NameDescriptionTypeAdditional information
Code

This is the Master List Code

string

None.

Value

This is the Master List Value

string

None.

Description

This is the Master List Description

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Code": "sample string 1",
    "Value": "sample string 2",
    "Description": "sample string 3"
  },
  {
    "Code": "sample string 1",
    "Value": "sample string 2",
    "Description": "sample string 3"
  }
]

text/xml

Sample:
<ArrayOfMasterListDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO">
  <MasterListDTO>
    <Code>sample string 1</Code>
    <Description>sample string 3</Description>
    <Value>sample string 2</Value>
  </MasterListDTO>
  <MasterListDTO>
    <Code>sample string 1</Code>
    <Description>sample string 3</Description>
    <Value>sample string 2</Value>
  </MasterListDTO>
</ArrayOfMasterListDTO>

multipart/form-data

Sample:
<ArrayOfMasterListDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"><MasterListDTO><Code>sample string 1</Code><Description>sample string 3</Description><Value>sample string 2</Value></MasterListDTO><MasterListDTO><Code>sample string 1</Code><Description>sample string 3</Description><Value>sample string 2</Value></MasterListDTO></ArrayOfMasterListDTO>