RHP_API

<back to all web services

GetProfileMainPhotos

Requires Authentication
The following routes are available for this service:
All Verbs/Profile/MainPhoto
All Verbs/Profiles/MainPhoto
GetProfileMainPhotos Parameters:
NameParameterData TypeRequiredDescription
UserIdsquerylong[]No

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /Profile/MainPhoto HTTP/1.1 
Host: tstsrvs.redhotpie.com.au 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<GetProfileMainPhotos xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RHP_API.ServiceModel">
  <UserIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>0</d2p1:long>
  </UserIds>
</GetProfileMainPhotos>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfKeyValueOflongProfilePhotoOZCFUBUq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOflongProfilePhotoOZCFUBUq>
    <Key>0</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">
      <d3p1:FullUrl>String</d3p1:FullUrl>
      <d3p1:ThumbUrl>String</d3p1:ThumbUrl>
      <d3p1:Classification>0</d3p1:Classification>
      <d3p1:GalleryID>0</d3p1:GalleryID>
      <d3p1:Height>0</d3p1:Height>
      <d3p1:ImageActionType>ShowImage</d3p1:ImageActionType>
      <d3p1:ImageType>None</d3p1:ImageType>
      <d3p1:IsAccepted>false</d3p1:IsAccepted>
      <d3p1:IsLiked>false</d3p1:IsLiked>
      <d3p1:IsPublic>false</d3p1:IsPublic>
      <d3p1:MemberLikeCount>0</d3p1:MemberLikeCount>
      <d3p1:PhotoID>0</d3p1:PhotoID>
      <d3p1:ShowSafeMode>false</d3p1:ShowSafeMode>
      <d3p1:SortNumber>0</d3p1:SortNumber>
      <d3p1:UserType>General</d3p1:UserType>
      <d3p1:Width>0</d3p1:Width>
    </Value>
  </KeyValueOflongProfilePhotoOZCFUBUq>
</ArrayOfKeyValueOflongProfilePhotoOZCFUBUq>