Richemont.Booster2.PublicApi

<back to all web services

GrantElevateConsent

Requires Authentication
The following routes are available for this service:
POST/customer/{brand}/{elevateCustomerId}/grantElevateConsentUpdate Elevate customer consent to 'Approved'Currently the API sets Elevate customer consent only to 'Approved' status
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Richemont.Booster2.PublicApi.CRM.ServiceModel

Namespace Global

    Namespace Richemont.Booster2.PublicApi.CRM.ServiceModel

        Public Partial Class GrantElevateConsent
            '''<Summary>
            '''Elevate customer ID
            '''</Summary>
            <ApiMember(Description:="Elevate customer ID")>
            Public Overridable Property elevateCustomerId As String

            '''<Summary>
            '''POS Legacy
            '''</Summary>
            <ApiMember(Description:="POS Legacy", IsRequired:=true)>
            Public Overridable Property posCode As String

            '''<Summary>
            '''Brand e.g. CAR, MTB
            '''</Summary>
            <ApiMember(Description:="Brand e.g. CAR, MTB", IsRequired:=true)>
            Public Overridable Property brand As String

            '''<Summary>
            '''Phone e.g. cn: 13888889999, jp: 352858088, kr: 023123456. Email or full phone required
            '''</Summary>
            <ApiMember(Description:="Phone e.g. cn: 13888889999, jp: 352858088, kr: 023123456. Email or full phone required")>
            Public Overridable Property phone As String

            '''<Summary>
            '''Prefix Country Id e.g. it, fr, az. Email or full phone required
            '''</Summary>
            <ApiMember(Description:="Prefix Country Id e.g. it, fr, az. Email or full phone required")>
            Public Overridable Property phoneCountryPrefix As String

            '''<Summary>
            '''Customer email. Email or full phone required
            '''</Summary>
            <ApiMember(Description:="Customer email. Email or full phone required")>
            Public Overridable Property email As String
        End Class

        Public Partial Class GrantElevateConsentResponse
            '''<Summary>
            '''Salesforce Standard ID
            '''</Summary>
            <ApiMember(Description:="Salesforce Standard ID", IsRequired:=true)>
            Public Overridable Property salesforceStandardId As String
        End Class
    End Namespace
End Namespace

VB.NET GrantElevateConsent DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /customer/{brand}/{elevateCustomerId}/grantElevateConsent HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"elevateCustomerId":"String","posCode":"String","brand":"String","phone":"String","phoneCountryPrefix":"String","email":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"salesforceStandardId":"String"}