POST Account/UpdateProfile

Request Information

URI Parameters

None.

Body Parameters

Customer
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Mobile

string

None.

Email

string

None.

Address

string

None.

Password

string

None.

Token

string

None.

CustomerReceipts

Collection of CustomerReceipt

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'Customer' with type 'ASL.Model.Customer'. Path 'CustomerReceipts[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'Customer' with type 'ASL.Model.Customer'. Path 'CustomerReceipts[0]'.

multipart/form-data

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'multipart/form-data'. Exception message: Self referencing loop detected for property 'Customer' with type 'ASL.Model.Customer'. Path 'CustomerReceipts[0]'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'ASL.Model.CustomerReceipt' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'ASL.Model.CustomerReceipt' contains cycles and cannot be serialized if reference tracking is disabled.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Customer'.

Response Information

Resource Description

GeneralResponse
NameDescriptionTypeAdditional information
Status

string

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "Data": {}
}

multipart/form-data

Sample:
{"Status":"sample string 1","Message":"sample string 2","Data":{}}

application/xml, text/xml

Sample:
<GeneralResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASL.Utility">
  <Data />
  <Message>sample string 2</Message>
  <Status>sample string 1</Status>
</GeneralResponse>