POST api/Customer/UpdateCustomer
This api is used for update the customer information
Request Information
URI Parameters
None.
Body Parameters
Customer means it accept the Model of customer.CustomerId.FirstName,LastName,Email,PhoneNo,Address,ZipCode, City,CompanyGuid,HDID,SYDSID,list of ExternalUserIdsJSON, array of Entitlements,DeviceType,DeviceTokenId
CustomerViewModelName | Description | Type | Additional information |
---|---|---|---|
CustomerId | string |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
string |
None. |
||
PhoneNo | string |
None. |
|
Address | string |
None. |
|
ZipCode | string |
None. |
|
City | string |
None. |
|
CompanyGuid | string |
None. |
|
HDID | string |
None. |
|
SYDSID | string |
None. |
|
ExternalUserIdsJSON | Collection of ExternalUserIdsJSON |
None. |
|
Entitlements | Collection of string |
None. |
|
DeviceType | string |
None. |
|
DeviceTokenId | string |
None. |
|
Status | integer |
None. |
|
StatusText | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerId": "sample string 1", "FirstName": "sample string 2", "LastName": "sample string 3", "Email": "sample string 4", "PhoneNo": "sample string 5", "Address": "sample string 6", "ZipCode": "sample string 7", "City": "sample string 8", "CompanyGuid": "sample string 9", "HDID": "sample string 10", "SYDSID": "sample string 11", "ExternalUserIdsJSON": [ { "Id": 1, "System": "sample string 2" }, { "Id": 1, "System": "sample string 2" } ], "Entitlements": [ "sample string 1", "sample string 2" ], "DeviceType": "sample string 12", "DeviceTokenId": "sample string 13", "Status": 14, "StatusText": "sample string 15" }
application/xml, text/xml
Sample:
<CustomerViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mofr.API.Models"> <Status xmlns="http://schemas.datacontract.org/2004/07/Mofr.Data">14</Status> <StatusText xmlns="http://schemas.datacontract.org/2004/07/Mofr.Data">sample string 15</StatusText> <Address>sample string 6</Address> <City>sample string 8</City> <CompanyGuid>sample string 9</CompanyGuid> <CustomerId>sample string 1</CustomerId> <DeviceTokenId>sample string 13</DeviceTokenId> <DeviceType>sample string 12</DeviceType> <Email>sample string 4</Email> <Entitlements xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Entitlements> <ExternalUserIdsJSON> <ExternalUserIdsJSON> <Id>1</Id> <System>sample string 2</System> </ExternalUserIdsJSON> <ExternalUserIdsJSON> <Id>1</Id> <System>sample string 2</System> </ExternalUserIdsJSON> </ExternalUserIdsJSON> <FirstName>sample string 2</FirstName> <HDID>sample string 10</HDID> <LastName>sample string 3</LastName> <PhoneNo>sample string 5</PhoneNo> <SYDSID>sample string 11</SYDSID> <ZipCode>sample string 7</ZipCode> </CustomerViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |