Request Parameters:


Customer can enter new address using below method.


URL: ../Api/Client/AddAddress


Header:

Content-Type:application/json


Required Parameters :  

CustomerGUID

Case-1. Exception Response :
Parameter:

{    

         "ApiSecretKey":"i99b98d117m116a112o98k115c111",

        "CustomerGUID":"",

        "FirstName": "Michael",

        "LastName": "Richard",

         "Email":"Michael@mail.com",

         "Company": "Michael N Richard",

         "CountryId": "1",

         "StateProvinceId": "40",

         "City": "Callifornia",

         "Address1": "Richard Homes",

         "Address2": "25th Westside",

         "ZipPostalCode":"100021",

         "PhoneNumber":"9856230147",

         "FaxNumber":"012"

}


Response :
{

    "Status": 0,

    "Message": "Request cannot be empty",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}


Case-2. Success Response :
Parameter:

{    

         "ApiSecretKey":"i99b98d117m116a112o98k115c111",

        "CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",

        "FirstName": "Michael",

        "LastName": "Richard",

         "Email":"Michael@mail.com",

         "Company": "Michael N Richard",

         "CountryId": "1",

         "StateProvinceId": "40",

         "City": "Callifornia",

         "Address1": "Richard Homes",

         "Address2": "25th Westside",

         "ZipPostalCode":"100021",

         "PhoneNumber":"9856230147",

         "FaxNumber":"012"

}


Response :
{

    "Status": 1,

    "Message": "Address added successfully",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}