PUT api/PEMPhone

Request Information

URI Parameters

None.

Body Parameters

orgPEMLink
NameDescriptionTypeAdditional information
PEMLinkID

integer

None.

EntityID

integer

None.

PlaceID

integer

None.

PersonID

integer

None.

EmailID

integer

None.

PhoneID

integer

None.

MediaID

integer

None.

IsDefault

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PEMLinkID": 1,
  "EntityID": 1,
  "PlaceID": 1,
  "PersonID": 1,
  "EmailID": 1,
  "PhoneID": 1,
  "MediaID": 1,
  "IsDefault": true
}

application/xml, text/xml

Sample:
<orgPEMLink xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Models">
  <EmailID>1</EmailID>
  <EntityID>1</EntityID>
  <IsDefault>true</IsDefault>
  <MediaID>1</MediaID>
  <PEMLinkID>1</PEMLinkID>
  <PersonID>1</PersonID>
  <PhoneID>1</PhoneID>
  <PlaceID>1</PlaceID>
</orgPEMLink>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'orgPEMLink'.

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>