sfdc-ux (CWP)

(0 reviews)

TMF629-CreateCustomer

/customer[POST]

This operation allows to create customer details.

URL
https://nonprod.cwp.esb.cloud.lla.com/preprod/sfdc-ux-cwp/sfdc-ux/v1/{businessId}/customer
URI Params
nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (TT, BB, JM, PA, etc.) identifying the business unit.Y
Headers
nametypedescriptionrequired
client_idstringThe client_id identifying the channel. Minimum characters: 5Y
client_secretstringPassword associated with the client_id. Minimum characters: 5Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.N
Request Body Definitions
nametypedescriptionRequired
nameStringname of the entityY
contactMediumArray of objectsIndicates the contact medium that could be used to contact the partyY
contactMedium[].mediumTypeObjectType of the contact medium, such as: email address, telephone number, postal addressN
contactMedium[].preferredStringIf true, indicates that is the preferred contact mediumN
contactMedium[].characteristicObjectcharacteristics of the contactTypeY
contactMedium[].characteristic.street1StringDescribes the streetY
contactMedium[].characteristic.street2StringComplementary street descriptionN
contactMedium[].characteristic.stateOrProvinceStringState or provinceN
contactMedium[].characteristic.cityStringThe cityN
contactMedium[].characteristic.countryStringThe countryN
contactMedium[].characteristic.postCodeStringpostal codeN
contactMedium[].characteristic.phoneNumberStringphone number of the contactN
contactMedium[].characteristic.contactTypeStringThe type of contactN
contactMedium[].characteristic.emailAddressStringemail address of the entityN
characteristic[]Array of objectsDescribes the characteristic of a customer.Y
characteristic[]. nameStringName of the characteristicY
characteristics[].valueStringvalue of the characteristics.Y
characteristics[]. valueTypeStringData type of the value of the characteristicN
Characteristics Name
characteristic nametypedescription
dateOfBirthStringdate of birth of customer
titleStringtitle of customer
genderStringgender of customer
typeStringwhich type eg: residential or business
companyCodeStringcompany code
idProofStringnational id proof document
sourceEPCStringIdentifying the BSS System
Sample Request
{
   "name":"Tech Grouhie",
   "contactMedium":[
      {
         "mediumType":"Address",
         "preferred":false,
         "characteristic":{
            "street1":"35",
            "street2":"sullivan avenue",
            "city":"KINGSTON",
            "stateOrProvince":"ST.ANDREW",
            "postCode":"00006",
            "country":"Panama"
         }
      },
      {
         "mediumType":"Telephone",
         "preferred":true,
         "characteristic":{
            "phoneNumer":"1234566789",
            "contactType":"home"
         }
      },
      {
         "mediumType":"Email",
         "preferred":false,
         "characteristic":{
            "emailAddress":"donald.slicon@silicon.com",
            "contactType":"email"
         }
      }
   ],
    "characteristic": [{
        "name": "dateOfBirth",
        "valueType": "yyyy-MM-dd",
        "value": "2000-06-12"
    }, {
        "name": "title",
        "valueType": "Salutation Mr. Mrs. etc",
        "value": "Mr"
    }, {
        "name": "gender",
        "valueType": "string",
        "value": "M"
    }, {
        "name": "type",
        "valueType": "customerType",
        "value": "COM"
    }, {
      "name": "companyCode",
      "valueType": "String",
      "value": "PAN"
    }, {
      "name": "idProof",
      "valueType": "TR",
      "value": "TR1325"
    }, {
        "name": "sourceEPC",
        "valueType": "Identifying the BSS System",
        "value": "Liberate"
    }]
}
Sample Response:
{
    "id": "36701370",
    "account": [
        {
            "id": "367013700000"
        }
    ]
}

Reviews