RHP_API

<back to all web services

GetUserSharedPhotos

Requires Authentication
The following routes are available for this service:
GET/User/Photo/Shared
Pagination Parameters:
NameParameterData TypeRequiredDescription
SizeformintNo
PageformintNo
GenericListPaginationInfo<T> Parameters:
NameParameterData TypeRequiredDescription
DataformList<T>No
PaginationInfoformPaginationInfoModelNo
PaginationInfoModel Parameters:
NameParameterData TypeRequiredDescription
PageNumberformintNo
RecordCountformintNo

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.

GET /User/Photo/Shared HTTP/1.1 
Host: tstsrvs.redhotpie.com.au 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GenericListPaginationInfoOfUserPhotoYgADTfT7 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RHP.Model">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">
    <d2p1:UserPhoto>
      <d2p1:ApprovalStatus>Approved</d2p1:ApprovalStatus>
      <d2p1:Classification>0</d2p1:Classification>
      <d2p1:FullUrl>String</d2p1:FullUrl>
      <d2p1:Gallery>
        <d2p1:ExpiryDateUTC>0001-01-01T00:00:00</d2p1:ExpiryDateUTC>
        <d2p1:GalleryID>0</d2p1:GalleryID>
        <d2p1:ImageCount>0</d2p1:ImageCount>
        <d2p1:IsPublic>false</d2p1:IsPublic>
        <d2p1:Name>String</d2p1:Name>
        <d2p1:Status>Pending</d2p1:Status>
      </d2p1:Gallery>
      <d2p1:Height>0</d2p1:Height>
      <d2p1:IsUserImage>false</d2p1:IsUserImage>
      <d2p1:MainPhoto>false</d2p1:MainPhoto>
      <d2p1:PhotoID>0</d2p1:PhotoID>
      <d2p1:PrivateGalleryOnly>false</d2p1:PrivateGalleryOnly>
      <d2p1:SortOrder>0</d2p1:SortOrder>
      <d2p1:ThumbUrl>String</d2p1:ThumbUrl>
      <d2p1:Width>0</d2p1:Width>
    </d2p1:UserPhoto>
  </Data>
  <PaginationInfo>
    <PageNumber>0</PageNumber>
    <RecordCount>0</RecordCount>
  </PaginationInfo>
</GenericListPaginationInfoOfUserPhotoYgADTfT7>