#TC158 Create a customer with addrType=Primary and crmsmsa code and verify in Search Customer isPrimary=true and crmsmsa code is present in the response body
Steps:
Generating Access Token
End Point URI:customer/customer-create
Sending POST Publish command
Executed URL
{}
Status Code
200
Time taken to get response is
12255 milli second
=== Starting Comprehensive JSON Verification ===
Verification types detected:
No verification instructions found in testData. Available keys:
- VERIFY FIELDS: for field presence verification
- VERIFY VALUES: for field value verification
- VERIFY ARRAY SIZE: for array size verification
- VERIFY ARRAY CONTAINS: for array content verification
- VERIFY OBJECT IN ARRAY: for specific object verification
Status code is matching correctly! (Expected : 200 Actual : 200 )
Message: AddPartyApi - Status: Success
Customer has been created successful.
Content is : {"customerID":"3321649"}
statusMessage is: AddPartyApi - Status: Success
statusFlag is: true
UUID is: 12345
Customer Search test Data are:
{VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=, ERROR MESSAGE=, TEST SCENARIO=#TC158 Create a customer with addrType=Primary and crmsmsa code and verify in Search Customer isPrimary=true and crmsmsa code is present in the response body, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=15, phones={
"areaCode": "402",
"countryCode": "1",
"extension": "005678",
"isPrimary": true,
"number": "2190004",
"phoneType": "Work"
}, TEST ID=premierCoCreateCust_verifyBySearchCust, idList={
"expirationDate": "2025-12-30",
"issueDate": "2020-12-30",
"issuer": "US",
"type": "A",
"value": "21301002543894127"
}, VERIFY ARRAY SIZE=, accessToken=Bearer eyJraWQiOiJyVk1SeUtqelBpRll5eWJWZFFIRmE2b1oxa1E3MlJhVENvSW9ENWdZSGJrPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiI0cHNtNmJlNWZpaGZ2ZTU5ZGg0dmYwbzVscSIsInRva2VuX3VzZSI6ImFjY2VzcyIsInNjb3BlIjoidHJhbnNhY3Rpb25zXC9wb3N0IiwiYXV0aF90aW1lIjoxNzU3OTQ5ODk0LCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAudXMtd2VzdC0yLmFtYXpvbmF3cy5jb21cL3VzLXdlc3QtMl91NTY2V21yUEsiLCJleHAiOjE3NTc5NTM0OTQsImlhdCI6MTc1Nzk0OTg5NCwidmVyc2lvbiI6MiwianRpIjoiOTdmODE0YzQtNTVlZi00NWNhLWJkYjUtMzhiMDQ0ZjRlZDE1IiwiY2xpZW50X2lkIjoiNHBzbTZiZTVmaWhmdmU1OWRoNHZmMG81bHEifQ.RuEv2UFSlU0WtJFVvwOZg1sG7oBwiII4WHwNDAq3tHJe-MHEOSPTrCzc52VFL2ZklGdMx9LR2pVUVQe6OTPNh9TarvU79FNeDKMaMSkS457l6BtCRBy6FMeAsYt0m9Huq7N3pDE9i4s0KVhU0vIQPkhhS7fHAooADMuVDYJtir-BLg2NyFTaGQB3-hUI5u-RsteELcPPUDQmkIIxM-AiOV5cbre3nDSRG_EMyB-PKFwV_volYMkvXem75anN-B4gwtE-96J6jSd_1LU-ShheW5FxcZ0OPBInQClMpUVVOQmBZBi8leXy9SGRNc-2ClQJzoMdfAlm2o49k7kPjKFy_w, VERIFY NO EMPTY OBJECTS=, customerBase={
"alienStatus": {
"chapter3Status": "0",
"chapter4Status": "0",
"giin": "0",
"w8Type": "W8-BEN-E"
},
"createDate": "2021-01-09",
"crmSmsa": "1002",
"customerType": "Business",
"email": {
"emailAddress": "EMAIL8@ZOOHO.COM",
"emailType": "Business"
},
"employeeCode": "9",
"idList": [
{{idList}}
],
"isUSCitizen": true,
"naicsCode": 1,
"name": {
"businessName": "Life savers inc",
"legalName": "Lif"
},
"phones": [
{{phones}}
],
"residences": [
{{residences}}
],
"taxID": "988125678",
"taxIDType": "B",
"tinCertification": "Certified"
}, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=, customerSearchBody={
"assetID": "{{assetID}}",
"content": {
"taxID": "",
"customerID": "3309990"
},
"uuid": ""
}, residences={
"address1": "2221 MILLER",
"address2": "STE 123",
"addressType": "Current",
"city": "FALLS CITY",
"isPrimary": true,
"postalCode": "68361",
"postalExtension": "1234",
"seasonBeginDate": "2019-08-17",
"seasonEndDate": "2027-08-17",
"state": "CA",
"streetName": "MILLER",
"streetNumber": "2221",
"subType": "Business",
"suite": "STE 123"
}, BODY={"assetID":"{{assetID}}","uuid":"","content":{"taxID":"","customerID":"3321649"}}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=;
customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==;
tokenUrl:https://auth.nxtsoft.com/oauth2/token;
key:Th!sisOmn!;, VERIFY VALUES=}
#TC158 Create a customer with addrType=Primary and crmsmsa code and verify in Search Customer isPrimary=true and crmsmsa code is present in the response body
Steps:
Generating Access Token
End Point URI:customer/customer-search
Sending POST Publish command
Executed URL
{}
Status Code
200
Time taken to get response is
3409 milli second
=== Starting Comprehensive JSON Verification ===
Verification types detected:
No verification instructions found in testData. Available keys:
- VERIFY FIELDS: for field presence verification
- VERIFY VALUES: for field value verification
- VERIFY ARRAY SIZE: for array size verification
- VERIFY ARRAY CONTAINS: for array content verification
- VERIFY OBJECT IN ARRAY: for specific object verification
Status code is matching correctly! (Expected : 200 Actual : 200 )
Message: GetPartyApi - Status: Success.
Customer search has been successful.
Content is : [{"userFields":[{"searchFlag":true,"dataType":"Alpha","description":"GoldTier ID","value":"100002","key":"700","requiredFlag":false,"expirationDate":"2022-12-12"}],"branchNumber":"2","officerCode":"99","originatingBranch":"2","customerBase":{"phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"idList":[{"issueDate":"2020-12-30","type":"A","value":"21301002543894127","issuer":"US","expirationDate":"2025-12-30"}],"riskRating":"None","employeeCode":"9","alienStatus":{"chapter3Status":"0","w8Type":"None","giin":"0","chapter4Status":"0","chapter3ExemptCode":"0"},"customerType":"Business","taxID":"677288613","customerID":"3321649","name":{"legalName":"LIF","businessName":"LIFE SAVERS INC"},"taxIDType":"B","tinCertification":"Certified","residences":[{"msaCode":1002,"address2":"STE 123","city":"FALLS CITY","address1":"2221 MILLER","isPrimary":true,"isForeign":false,"postalCode":"68361","subType":"Business","state":"CA","addressID":"2221215","censusTractNumber":"0"}],"crmSmsa":"1002","email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}}]
statusMessage is: GetPartyApi - Status: Success.
statusFlag is: true
UUID is: ce200d58-ec21-48db-ad52-e0c80acc5301