Get User Photo List

GET Designer/Services/GetUserPhotoList?frontAppUserId={frontAppUserId}&websiteId={websiteId}&webApiClientKey={webApiClientKey}


End user can upload the images from their local directory or social media sites like Facebook, Instagram or any other source. Artifi save these images on Artifi server.


The images uploaded by the user will be saved in Artifi across Id of the particular user.


To get all of the images uploaded by specific user, this method will be useful. Specify the user id in parameter "frontAppUserId" of this method.



Request Information Parameters


newUserId

Descriptions

frontAppUserId    

This will be the Id of your e-commerce website's user. The user can be registered or guest user.

If the user is registered, pass the user id in this parameter and if the user is not registered with your e-commerce website, create a temporary id for the user and pass that temporary id in this parameter.

This will be the id of user who has uploaded the images from other source like facebook etc.

The non-registered user will be called a guest user.


websiteId

This is the website with which customized products are associated.

Admin user of Artifi can create one or more websites and assign products to each of the website. The Id of the website with which user photos are associated should be specified in this parameter.


webApiClientKey

When any company gets registered with Artifi, Artifi will generate a special and unique key for that company which will be called as client key.

This client key will be found in the registered company's profile tab in Artifi Account.

This client key will be used for client(company) authentication and will be called as WebApiClientKey.





Response Information

Response body formats

application/json, text/json


Sample:
{
  "Response": "sample string 1",
  "Message": null,
  "Data": {
    "data": [
      {
        "StandardWidth": 1,
        "StandardHeight": 2,
        "ThumbWidth": 3,
        "ThumbHeight": 4,
        "WebsiteId": 5,
        "CompanyId": 6,
        "FrontAppUserId": 7,
        "Extension": "sample string 8",
        "CreatedDate": "2014-09-26T18:36:23.5581852+05:30",
        "UniqueImageName": "sample string 10",
        "ImageName": "sample string 11",
        "ImageUniqueNameOnUGC": "sample string 13",
        "Width": 14,
        "Height": 15,
        "IsSuccess": true,
        "Id": 17,
        "LoginUserId": 1
      },
      {
        "StandardWidth": 1,
        "StandardHeight": 2,
        "ThumbWidth": 3,
        "ThumbHeight": 4,
        "WebsiteId": 5,
        "CompanyId": 6,
        "FrontAppUserId": 7,
        "Extension": "sample string 8",
        "CreatedDate": "2014-09-26T18:36:23.5581852+05:30",
        "UniqueImageName": "sample string 10",
        "ImageName": "sample string 11",
        "ImageUniqueNameOnUGC": "sample string 13",
        "Width": 14,
        "Height": 15,
        "IsSuccess": true,
        "Id": 17,
        "LoginUserId": 1
      },
      {
        "StandardWidth": 1,
        "StandardHeight": 2,
        "ThumbWidth": 3,
        "ThumbHeight": 4,
        "WebsiteId": 5,
        "CompanyId": 6,
        "FrontAppUserId": 7,
        "Extension": "sample string 8",
        "CreatedDate": "2014-09-26T18:36:23.5581852+05:30",
        "UniqueImageName": "sample string 10",
        "ImageName": "sample string 11",
        "ImageUniqueNameOnUGC": "sample string 13",
        "Width": 14,
        "Height": 15,
        "IsSuccess": true,
        "Id": 17,
        "LoginUserId": 1
      }
    ],
    "Id": 1,
    "LoginUserId": 1
  }
}

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.