GET api/V2/GetCustomerProfile?customerId={customerId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

integer

Required

Body Parameters

None.

Response Information

Resource Description

CustomerVM
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

email

string

None.

mobile

string

None.

address

string

None.

image

string

None.

IsUserWallet

boolean

None.

postedFile

HttpPostedFile

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "email": "sample string 3",
  "mobile": "sample string 4",
  "address": "sample string 5",
  "image": "sample string 6",
  "IsUserWallet": true,
  "postedFile": null
}

multipart/form-data

Sample:
{"id":1,"name":"sample string 2","email":"sample string 3","mobile":"sample string 4","address":"sample string 5","image":"sample string 6","IsUserWallet":true,"postedFile":null}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'System.Web.HttpPostedFile' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'System.Web.HttpPostedFile' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.