v1/Customer/GetCustomer

 

API parameters
Required

 

Name In Type Description
Bearer Token Authorization string Authentication token.

 

Optional

 

Name In Type Description
PageNumber Parameter Int

 

Response

 

[
   {
     "CustomerId": "5B19A0F2-C582-4E75-9C0A-",
     "CustomerType": "Corporate",
     "Status": "Active",
     "Company":{  
     "Name": "abc Company",
     "Type": "LTD",
     "RegistrationNumber": "3333333",
     "SICCode": "123456987",
     "IncorporationDate": "01-01-2020",
     "Address":{
     "Address": "TestAddress",
     "City": "TestCity",
     "Postcode": "HA298UE",
     "Country": "GB"
     }
   },  
     "Contacts":[{
     "FirstName": "John",
     "LastName": "Cena",
     "DateofBirth": "07-09-1980",
     "Occupation": "Director",
     "Nationality": "GB",
     "PhoneNumber": "+44 123456789",
     "Email": "John@mailinator.com",
     "PrimaryContact": "true",
     "Status": "Inactive",
     "Address":{
     "City": "TestCity",
     "PostCode": "HA298UE",
     "Country": "GB"  
      }
    }
  ],
     "MetaData":{
     "TotalRecord": 7,  
     "TotalPage": 4  
    }
  },
   {
     "CustomerId": "E5268DAF-7D7A-4F10-9320-",
     "CustomerType": "Corporate",
     "Status": "Inactive",
     "Company":{
     "Name": "xyz Company",
     "Type": "LTD",
     "RegistrationNumber": "789456",
     "SICCode": "123456",
     "IncorporationDate": "25-01-2019",
     "Address":{
     "Address": "TestAddress",
     "City": "TestCity",
     "PostCode": "HA298UE",
     "Country": "GB"  
      }
   }, 
     "Contacts":[{
     "FirstName": "Roger",
     "LastName": "federer",
     "DateofBirth": "07-09-1980",
     "Occupation": "Director",
     "Nationality": "GB",
     "PhoneNumber": "+44 1234566789",
     "Email": "Roger@mailinator.com",
     "PrimaryContact": "true",
     "Status": "Inactive",
     "Address":{
     "Address": "TestAddress",
     "City": "TestCity",
     "PostCode": "HA298UE",
     "Country": "GB"  
      }
    }
  ],
     "MetaData":{
     "TotalRecord": 7,  
     "TotalPage": 4  
    }                                    
 }
]
 

 

Error Codes

 

HTTP Status Code Description
401 Invalid credentials Invalid credentials