POST api/Customer/EditCustomer

Request Information

URI Parameters

None.

Body Parameters

EditCustomerCommandDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

AccountId

globally unique identifier

None.

FirstName

string

None.

LastName

string

None.

ZipCode

string

None.

Username

string

None.

Email

string

None.

DOB

date

None.

CountryCode

string

None.

PhoneNumber

string

None.

SMSCommuncation

boolean

None.

ReceiveEmails

boolean

None.

FuturePromotion

boolean

None.

AdditionalInfo

boolean

None.

Confirm18Plus

boolean

None.

Password

string

None.

SportsTypeId

globally unique identifier

None.

FavouriteTeamId

globally unique identifier

None.

MarketingCommunication

boolean

None.

IsAccountExist

boolean

None.

NovaApiId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "7b279f9e-0eb4-45d2-987c-7d0037d6e680",
  "AccountId": "e096cfce-9a0e-4597-b80f-829de67b61d6",
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "ZipCode": "sample string 5",
  "Username": "sample string 6",
  "Email": "sample string 7",
  "DOB": "2024-11-28T08:02:30.596694+00:00",
  "CountryCode": "sample string 9",
  "PhoneNumber": "sample string 10",
  "SMSCommuncation": true,
  "ReceiveEmails": true,
  "FuturePromotion": true,
  "AdditionalInfo": true,
  "Confirm18Plus": true,
  "Password": "sample string 15",
  "SportsTypeId": "594b2a5d-4d92-452d-bdbe-5a1e54b95b5c",
  "FavouriteTeamId": "ef03b328-d266-47d1-b99f-cd3812a72370",
  "MarketingCommunication": true,
  "IsAccountExist": true,
  "NovaApiId": "sample string 16"
}

application/xml, text/xml

Sample:
<EditCustomerCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.CustomerModule.Model">
  <AccountId>e096cfce-9a0e-4597-b80f-829de67b61d6</AccountId>
  <AdditionalInfo>true</AdditionalInfo>
  <Confirm18Plus>true</Confirm18Plus>
  <CountryCode>sample string 9</CountryCode>
  <DOB>2024-11-28T08:02:30.596694+00:00</DOB>
  <Email>sample string 7</Email>
  <FavouriteTeamId>ef03b328-d266-47d1-b99f-cd3812a72370</FavouriteTeamId>
  <FirstName>sample string 3</FirstName>
  <FuturePromotion>true</FuturePromotion>
  <Id>7b279f9e-0eb4-45d2-987c-7d0037d6e680</Id>
  <IsAccountExist>true</IsAccountExist>
  <LastName>sample string 4</LastName>
  <MarketingCommunication>true</MarketingCommunication>
  <NovaApiId>sample string 16</NovaApiId>
  <Password>sample string 15</Password>
  <PhoneNumber>sample string 10</PhoneNumber>
  <ReceiveEmails>true</ReceiveEmails>
  <SMSCommuncation>true</SMSCommuncation>
  <SportsTypeId>594b2a5d-4d92-452d-bdbe-5a1e54b95b5c</SportsTypeId>
  <Username>sample string 6</Username>
  <ZipCode>sample string 5</ZipCode>
</EditCustomerCommandDto>

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 'EditCustomerCommandDto'.

Response Information

Resource Description

ResponseDto
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

CustomerId

globally unique identifier

None.

Token

string

None.

Message

string

None.

ErrorMessage

string

None.

MessageFr

string

None.

ResponseData

string

None.

NovaAPIId

string

None.

IsSuccess

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "UserId": "4be3a509-39b6-47a1-8c51-9abe751f658a",
  "CustomerId": "b3134bd2-9d99-472c-beed-522fa76cfb7b",
  "Token": "sample string 3",
  "Message": "sample string 4",
  "ErrorMessage": "sample string 5",
  "MessageFr": "sample string 6",
  "ResponseData": "sample string 7",
  "NovaAPIId": "sample string 8",
  "IsSuccess": true
}

application/xml, text/xml

Sample:
<ResponseDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.CustomerModule.Model">
  <CustomerId>b3134bd2-9d99-472c-beed-522fa76cfb7b</CustomerId>
  <ErrorMessage>sample string 5</ErrorMessage>
  <IsSuccess>true</IsSuccess>
  <Message>sample string 4</Message>
  <MessageFr>sample string 6</MessageFr>
  <NovaAPIId>sample string 8</NovaAPIId>
  <ResponseData>sample string 7</ResponseData>
  <Token>sample string 3</Token>
  <UserId>4be3a509-39b6-47a1-8c51-9abe751f658a</UserId>
</ResponseDto>