GET api/Master/GetPackageTypes

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of PackageTypeView
NameDescriptionTypeAdditional information
PackageTypeId

integer

None.

KeyName

string

None.

Name

string

None.

Type

PackageTypeEnum

None.

TypeName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "packageTypeId": 1,
    "keyName": "sample string 2",
    "name": "sample string 3",
    "type": 1,
    "typeName": "sample string 4"
  },
  {
    "packageTypeId": 1,
    "keyName": "sample string 2",
    "name": "sample string 3",
    "type": 1,
    "typeName": "sample string 4"
  }
]

text/html

Sample:
[{"packageTypeId":1,"keyName":"sample string 2","name":"sample string 3","type":1,"typeName":"sample string 4"},{"packageTypeId":1,"keyName":"sample string 2","name":"sample string 3","type":1,"typeName":"sample string 4"}]

application/xml, text/xml

Sample:
<ArrayOfPackageTypeView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Api.ViewModels">
  <PackageTypeView>
    <KeyName>sample string 2</KeyName>
    <Name>sample string 3</Name>
    <PackageTypeId>1</PackageTypeId>
    <Type>SpaceFood</Type>
    <TypeName>sample string 4</TypeName>
  </PackageTypeView>
  <PackageTypeView>
    <KeyName>sample string 2</KeyName>
    <Name>sample string 3</Name>
    <PackageTypeId>1</PackageTypeId>
    <Type>SpaceFood</Type>
    <TypeName>sample string 4</TypeName>
  </PackageTypeView>
</ArrayOfPackageTypeView>