Request Parameters:


Get all vendors details


URL: ../Api/Client/VendorAll


Header:

Content-Type:application/json


Required Parameters :


Case-1. Exception parameters :
Parameter:
{    

      "ApiSecretKey":"i99b98d117m116a112o98k115c111",

      "StoreId":"",

      "LanguageId":""

}
Response :
{

    "Status": 0,

    "Message": "Request cannot be empty",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}


Case-2. Success Response :
Parameter:
{    

      "ApiSecretKey":"i99b98d117m116a112o98k115c111",

      "StoreId":"1",

      "LanguageId":"1"

}

Response :

{

    "Status": 1,

    "Message": "Success.",

    "Data": [

        {

            "Id": 1,

            "Name": "Vendor 1",

            "Description": "Some description...",

            "MetaKeywords": null,

            "MetaDescription": null,

            "MetaTitle": null,

            "SeName": "vendor-1",

            "AllowCustomersToContactVendors": true,

            "PictureModel": {

                "ImageUrl": "http://localhost:15536/images/thumbs/default-image_450.png",

                "ThumbImageUrl": null,

                "FullSizeImageUrl": "http://localhost:15536/images/default-image.png",

                "Title": "Show products of vendor Vendor 1",

                "AlternateText": "Picture for vendor Vendor 1",

                "Form": null,

                "CustomProperties": {}

            }

        },

        {

            "Id": 2,

            "Name": "Vendor 2",

            "Description": "Some description...",

            "MetaKeywords": null,

            "MetaDescription": null,

            "MetaTitle": null,

            "SeName": "vendor-2",

            "AllowCustomersToContactVendors": true,

            "PictureModel": {

                "ImageUrl": "http://localhost:15536/images/thumbs/default-image_450.png",

                "ThumbImageUrl": null,

                "FullSizeImageUrl": "http://localhost:15536/images/default-image.png",

                "Title": "Show products of vendor Vendor 2",

                "AlternateText": "Picture for vendor Vendor 2",

                "Form": null,

                "CustomProperties": {}

            }

        }

    ],

    "ValidationMessage": [],

    "ErrorMessage": null

}