GET api/PEMPhone/{PEMLinkID}

Return a single PEMPhone value from the Phones table using the primary key as ID.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PEMLinkID

The Phones Primary Key.

integer

Required

Body Parameters

None.

Response Information

Resource Description

PEMPhone
NameDescriptionTypeAdditional information
isMatchRequest

boolean

None.

PhoneID

integer

None.

PhoneNumber

string

None.

PhoneTypeID

integer

None.

PhoneTypeName

string

None.

PEMLinkID

integer

None.

LinkType

integer

None.

LinkID

integer

None.

LinkName

string

None.

IsDefault

boolean

None.

IsActive

boolean

None.

SubLinks

Collection of PEMSubLink

None.

Response Formats

application/json, text/json

Sample:
{
  "isMatchRequest": true,
  "PhoneID": 2,
  "PhoneNumber": "sample string 3",
  "PhoneTypeID": 4,
  "PhoneTypeName": "sample string 5",
  "PEMLinkID": 6,
  "LinkType": 7,
  "LinkID": 8,
  "LinkName": "sample string 9",
  "IsDefault": true,
  "IsActive": true,
  "SubLinks": [
    {
      "PEMLinkID": 1,
      "LinkID": 2,
      "LinkType": 3,
      "LinkName": "sample string 4"
    },
    {
      "PEMLinkID": 1,
      "LinkID": 2,
      "LinkType": 3,
      "LinkName": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<PEMPhone xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Models">
  <IsActive>true</IsActive>
  <IsDefault>true</IsDefault>
  <LinkID>8</LinkID>
  <LinkName>sample string 9</LinkName>
  <LinkType>7</LinkType>
  <PEMLinkID>6</PEMLinkID>
  <PhoneID>2</PhoneID>
  <PhoneNumber>sample string 3</PhoneNumber>
  <PhoneTypeID>4</PhoneTypeID>
  <PhoneTypeName>sample string 5</PhoneTypeName>
  <SubLinks>
    <PEMSubLink>
      <LinkID>2</LinkID>
      <LinkName>sample string 4</LinkName>
      <LinkType>3</LinkType>
      <PEMLinkID>1</PEMLinkID>
    </PEMSubLink>
    <PEMSubLink>
      <LinkID>2</LinkID>
      <LinkName>sample string 4</LinkName>
      <LinkType>3</LinkType>
      <PEMLinkID>1</PEMLinkID>
    </PEMSubLink>
  </SubLinks>
  <isMatchRequest>true</isMatchRequest>
</PEMPhone>