PUT api/PEMMedia
Request Information
URI Parameters
None.
Body Parameters
orgPEMLink| Name | Description | Type | Additional 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:
Response Information
Resource Description
PEMMedia| Name | Description | Type | Additional information |
|---|---|---|---|
| isMatchRequest | boolean |
None. |
|
| MediaID | integer |
None. |
|
| MediaURL | string |
None. |
|
| MediaTypeID | integer |
None. |
|
| MediaTypeName | 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,
"MediaID": 2,
"MediaURL": "sample string 3",
"MediaTypeID": 4,
"MediaTypeName": "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:
<PEMMedia 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>
<MediaID>2</MediaID>
<MediaTypeID>4</MediaTypeID>
<MediaTypeName>sample string 5</MediaTypeName>
<MediaURL>sample string 3</MediaURL>
<PEMLinkID>6</PEMLinkID>
<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>
</PEMMedia>