POST api/Contact/SignupUpdate

Request Information

URI Parameters

None.

Body Parameters

CPContact
NameDescriptionTypeAdditional 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": "ba1ed079-c632-4b0c-8c6b-6519ab061e3b",
  "AccountName": "sample string 12",
  "DiscountPercentage": 13.1,
  "OrderDiscount": 14,
  "InforCustomerNumber": "sample string 15",
  "FreightLegend": "sample string 16",
  "CreditOnHold": true,
  "LogonEnabled": true,
  "DoNotSendMM": true,
  "InvitationId": "dcd2d440-1445-468e-9a9e-f53faa267b26",
  "RelatedUserId": "cfdbc7c5-c136-4497-b653-34b9785b9eeb",
  "OwnerId": "995752bc-b7af-4e0b-9dee-2cc231f34a08",
  "PortalInvitationStatus": "sample string 21",
  "Id": "e1de692c-2db7-43f9-8528-8fecbd1cf846",
  "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>e1de692c-2db7-43f9-8528-8fecbd1cf846</Id>
  <Name>sample string 23</Name>
  <StateCode>24</StateCode>
  <AccountId>ba1ed079-c632-4b0c-8c6b-6519ab061e3b</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>dcd2d440-1445-468e-9a9e-f53faa267b26</InvitationId>
  <LastName>sample string 11</LastName>
  <LogonEnabled>true</LogonEnabled>
  <OrderDiscount>14</OrderDiscount>
  <OwnerId>995752bc-b7af-4e0b-9dee-2cc231f34a08</OwnerId>
  <Password>sample string 3</Password>
  <PortalInvitationStatus>sample string 21</PortalInvitationStatus>
  <RelatedUserId>cfdbc7c5-c136-4497-b653-34b9785b9eeb</RelatedUserId>
  <UserName>sample string 2</UserName>
</CPContact>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.