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": "2614D66B-DE33-4D4C-BB4D-",
     "CustomerType": "Corporate",
     "Status": "Inactive",
     "Company":{
     "Name": "ABC XYZ",
     "Type": "LTD",
     "RegistrationNumber": "789456",
     "SICCode": "123456",
     "IncorporationDate": "29-01-2020",
     "Address":{
     "Address": "TestAddress",
     "City": "TestCity",
     "PostCode": "HA298UE",
     "Country": "GB"  
    }
   }, 
     "Contacts":[{
     "FirstName": "John",
     "LastName": "Smith",
     "DateofBirth": "07-09-1980",
     "Occupation": "Director",
     "Nationality": "GB",
     "PhoneNumber": "+44 810873325144",
     "Email": "John@test.com",
     "PrimaryContact": "false",
     "Status": "Inactive",
     "Address":{
     "Address": "Test Address",
     "City": "London",
     "PostCode": "396185",
     "Country": "GB"  
      }
    }
    ],
     "MetaData":{
     "TotalRecord": 36,  
     "TotalPage": 2  
    }
  },
   {
     "CustomerId": "556F50C2-4543-4B23-8A3B-",
     "CustomerType": "Corporate",
     "Status": "Active",
     "Company":{  
     "Name": "Gas",
     "Type": "LTD",
     "RegistrationNumber": "789456",
     "SICCode": "123456",
     "IncorporationDate": "29-01-2020",
     "Address":{
     "Address": "TestAddress",
     "City": "TestCity",
     "Postcode": "HA298UE",
     "Country": "GB"
   }
   },  
     "Contacts":[{
     "FirstName": "bharat",
     "LastName": "XYZ",
     "DateofBirth": "07-09-1980",
     "Occupation": "Director",
     "Nationality": "GB",
     "PhoneNumber": "+44 91237836827",
     "Email": "gas25@test.com",
     "PrimaryContact": "true",
     "Status": "Inactive",
     "Address":{
     "Address": "Test Address",
     "City": "London",
     "PostCode": "396185",
     "Country": "GB"  
      }
    },
     "FirstName": "india",
     "LastName": "XYZ",
     "DateofBirth": "07-09-1980",
     "Occupation": "Director",
     "Nationality": "GB",
     "PhoneNumber": "+44 93627",
     "Email": "ind363@test.com",
     "PrimaryContact": "false",
     "Status": "Inactive",
     "Address":{
     "Address": "Test Address",
     "City": "London",
     "PostCode": "396185",
     "Country": "GB"  
      }
    }
  ],
     "MetaData":{
     "TotalRecord": 36,  
     "TotalPage": 2  
    }                                    
 }
]
 

 

Error Codes

 

HTTP Status Code Description
401 Invalid credentials Invalid credentials