POST api/Contact/UpdateContactPhoneDetail

Request Information

URI Parameters

None.

Body Parameters

ContactPhoneRequestVM
NameDescriptionTypeAdditional information
ContactId

string

None.

AccountId

string

Required

UserId

string

Required

LoggedInSubAccountId

string

Required

Id

string

None.

PhoneNumber

string

None.

IsSmsAllowed

boolean

None.

IsVoiceAllowed

boolean

None.

PhoneLabelId

string

None.

IsPrimary

boolean

None.

Label

string

None.

IsOptOut

boolean

None.

CountryId

string

None.

CountryCode

integer

None.

Status

ContactPhoneEmailStatus

None.

AgeConfirmationFailedOn

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ContactId": "sample string 1",
  "AccountId": "sample string 2",
  "UserId": "sample string 3",
  "LoggedInSubAccountId": "sample string 4",
  "Id": "sample string 5",
  "PhoneNumber": "sample string 6",
  "IsSmsAllowed": true,
  "IsVoiceAllowed": true,
  "PhoneLabelId": "sample string 9",
  "IsPrimary": true,
  "Label": "sample string 11",
  "IsOptOut": true,
  "CountryId": "sample string 13",
  "CountryCode": 14,
  "Status": "None",
  "AgeConfirmationFailedOn": 15
}

application/xml, text/xml

Sample:
<ContactPhoneRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.Contact">
  <AgeConfirmationFailedOn xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">15</AgeConfirmationFailedOn>
  <CountryCode xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">14</CountryCode>
  <CountryId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">sample string 13</CountryId>
  <Id xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">sample string 5</Id>
  <IsOptOut xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">true</IsOptOut>
  <IsPrimary xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">true</IsPrimary>
  <IsSmsAllowed xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">true</IsSmsAllowed>
  <IsVoiceAllowed xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">true</IsVoiceAllowed>
  <Label xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">sample string 11</Label>
  <PhoneLabelId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">sample string 9</PhoneLabelId>
  <PhoneNumber xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">sample string 6</PhoneNumber>
  <Status xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">None</Status>
  <AccountId>sample string 2</AccountId>
  <ContactId>sample string 1</ContactId>
  <LoggedInSubAccountId>sample string 4</LoggedInSubAccountId>
  <UserId>sample string 3</UserId>
</ContactPhoneRequestVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.