POST api/Contact/ChangePassword
Request Information
URI Parameters
None.
Body Parameters
CPContactName | Description | Type | Additional information |
---|---|---|---|
EmailAddress1 | string |
None. |
|
UserName | string |
None. |
|
Password | string |
None. |
|
ConfirmPassword | string |
None. |
|
FirstName | string |
None. |
|
AddressLine1 | string |
None. |
|
AddressPostalCode | string |
None. |
|
AddressCity | string |
None. |
|
AddressState | string |
None. |
|
AddressCountryCode | string |
None. |
|
LastName | string |
None. |
|
AccountId | globally unique identifier |
None. |
|
AccountName | string |
None. |
|
DiscountPercentage | decimal number |
None. |
|
OrderDiscount | integer |
None. |
|
InforCustomerNumber | string |
None. |
|
FreightLegend | string |
None. |
|
CreditOnHold | boolean |
None. |
|
LogonEnabled | boolean |
None. |
|
DoNotSendMM | boolean |
None. |
|
InvitationId | globally unique identifier |
None. |
|
RelatedUserId | globally unique identifier |
None. |
|
OwnerId | globally unique identifier |
None. |
|
PortalInvitationStatus | string |
None. |
|
Id | globally unique identifier |
None. |
|
Name | string |
None. |
|
StateCode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "EmailAddress1": "sample string 1", "UserName": "sample string 2", "Password": "sample string 3", "ConfirmPassword": "sample string 4", "FirstName": "sample string 5", "AddressLine1": "sample string 6", "AddressPostalCode": "sample string 7", "AddressCity": "sample string 8", "AddressState": "sample string 9", "AddressCountryCode": "sample string 10", "LastName": "sample string 11", "AccountId": "db03d94e-5fef-4564-9d09-884096891a2e", "AccountName": "sample string 12", "DiscountPercentage": 13.1, "OrderDiscount": 14, "InforCustomerNumber": "sample string 15", "FreightLegend": "sample string 16", "CreditOnHold": true, "LogonEnabled": true, "DoNotSendMM": true, "InvitationId": "a4c51b54-c84c-42f0-93f8-4cea1703d1ec", "RelatedUserId": "03b2d83f-3f48-48e9-be19-1f52c0514875", "OwnerId": "edd06179-fa92-4c0d-8f5d-a7b1ee29eb20", "PortalInvitationStatus": "sample string 21", "Id": "0fe8a938-cc57-4ef8-8785-9fa8a02dbb21", "Name": "sample string 23", "StateCode": 24 }
application/xml, text/xml
Sample:
<CPContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.Integration.Entities"> <Id>0fe8a938-cc57-4ef8-8785-9fa8a02dbb21</Id> <Name>sample string 23</Name> <StateCode>24</StateCode> <AccountId>db03d94e-5fef-4564-9d09-884096891a2e</AccountId> <AccountName>sample string 12</AccountName> <AddressCity>sample string 8</AddressCity> <AddressCountryCode>sample string 10</AddressCountryCode> <AddressLine1>sample string 6</AddressLine1> <AddressPostalCode>sample string 7</AddressPostalCode> <AddressState>sample string 9</AddressState> <ConfirmPassword>sample string 4</ConfirmPassword> <CreditOnHold>true</CreditOnHold> <DiscountPercentage>13.1</DiscountPercentage> <DoNotSendMM>true</DoNotSendMM> <EmailAddress1>sample string 1</EmailAddress1> <FirstName>sample string 5</FirstName> <FreightLegend>sample string 16</FreightLegend> <InforCustomerNumber>sample string 15</InforCustomerNumber> <InvitationId>a4c51b54-c84c-42f0-93f8-4cea1703d1ec</InvitationId> <LastName>sample string 11</LastName> <LogonEnabled>true</LogonEnabled> <OrderDiscount>14</OrderDiscount> <OwnerId>edd06179-fa92-4c0d-8f5d-a7b1ee29eb20</OwnerId> <Password>sample string 3</Password> <PortalInvitationStatus>sample string 21</PortalInvitationStatus> <RelatedUserId>03b2d83f-3f48-48e9-be19-1f52c0514875</RelatedUserId> <UserName>sample string 2</UserName> </CPContact>
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. |